Commit 0854efb
authored
Toggleterm: improve focusing and scrolling capabilities (#250)
* toggleterm: add scroll_on_error
add the option to only scroll when the operation failed. Together with
'auto_scroll = false' this is a nice alternative.
update the documentation for auto_scroll as it was slightly incorrect.
On long lasting operations you can notice that it scrolls an new input
received.
* toggleterm: add auto_focus
default it to true (this was the behavior all the time) but now it's
possible to disable it which would let the cursor stay in the editor.
* toggleterm: add focus_on_error
An addition similar to scroll_on_error. This lets the user select
auto_scroll = false and then the terminal will only get the focus when
an error occurred.
* dap: add initCommands1 parent f061713 commit 0854efb
3 files changed
Lines changed: 42 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1386 | 1386 | | |
1387 | 1387 | | |
1388 | 1388 | | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
1389 | 1403 | | |
1390 | 1404 | | |
1391 | 1405 | | |
| |||
1397 | 1411 | | |
1398 | 1412 | | |
1399 | 1413 | | |
| 1414 | + | |
1400 | 1415 | | |
1401 | 1416 | | |
1402 | 1417 | | |
| |||
1436 | 1451 | | |
1437 | 1452 | | |
1438 | 1453 | | |
| 1454 | + | |
1439 | 1455 | | |
1440 | 1456 | | |
1441 | 1457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
74 | 85 | | |
75 | 86 | | |
76 | 87 | | |
77 | 88 | | |
78 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
79 | 96 | | |
80 | 97 | | |
81 | 98 | | |
| |||
0 commit comments