mirror of
https://github.com/preservim/vim-thematic.git
synced 2025-11-11 19:33:50 -05:00
Better key mappings for Narrow/Widen commands
This commit is contained in:
@@ -238,8 +238,10 @@ of your choice. For example, to map this feature to the `Command-9` and
|
||||
`Command-0` keys in MacVim, add to your `.gvimrc`:
|
||||
|
||||
```vim
|
||||
map <silent> <D-9> <Plug>ThematicNarrow
|
||||
map <silent> <D-0> <Plug>ThematicWiden
|
||||
noremap <silent> <D-9> :<C-u>ThematicNarrow<cr>
|
||||
noremap <silent> <D-0> :<C-u>ThematicWiden<cr>
|
||||
inoremap <silent> <D-9> <C-o>:ThematicNarrow<cr>
|
||||
inoremap <silent> <D-0> <C-o>:ThematicWiden<cr>
|
||||
```
|
||||
|
||||
This is especially useful in fullscreen mode to adjust the side margins.
|
||||
|
||||
Reference in New Issue
Block a user