diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-05-04 21:04:47 -0700 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2020-05-04 21:21:33 -0700 |
commit | 7b764bb43d9c45e04a8dbb0146b3529991007949 (patch) | |
tree | ff8df84a5d8f7909b8f6308c4f4280b82fb22ac5 /runtime | |
parent | edd5b233d8d97a21b2cc572f7fe49331e395a55b (diff) | |
download | rneovim-7b764bb43d9c45e04a8dbb0146b3529991007949.tar.gz rneovim-7b764bb43d9c45e04a8dbb0146b3529991007949.tar.bz2 rneovim-7b764bb43d9c45e04a8dbb0146b3529991007949.zip |
terminal: disable 'scrolloff' (fixes flicker)
Besides the special-case in get_scrolloff_value(), it makes sense for
'scrolloff' and 'sidescrolloff' to reflect the correct values (for
plugins, scripts, …).
ref 53d607af9c53accfd634435908fb79061f1212b9
ref #11915
ref #12230
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/nvim_terminal_emulator.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/nvim_terminal_emulator.txt b/runtime/doc/nvim_terminal_emulator.txt index 55c5335a60..a96d118667 100644 --- a/runtime/doc/nvim_terminal_emulator.txt +++ b/runtime/doc/nvim_terminal_emulator.txt @@ -50,6 +50,13 @@ mode" in a normal buffer, such as |i| or |:startinsert|. In this mode all keys except <C-\><C-N> are sent to the underlying program. Use <C-\><C-N> to return to normal-mode. |CTRL-\_CTRL-N| +Terminal-mode forces these local options: + + 'nocursorline' + 'nocursorcolumn' + 'scrolloff' = 0 + 'sidescrolloff' = 0 + Terminal-mode has its own |:tnoremap| namespace for mappings, this can be used to automate any terminal interaction. |