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`:
|
`Command-0` keys in MacVim, add to your `.gvimrc`:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
map <silent> <D-9> <Plug>ThematicNarrow
|
noremap <silent> <D-9> :<C-u>ThematicNarrow<cr>
|
||||||
map <silent> <D-0> <Plug>ThematicWiden
|
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.
|
This is especially useful in fullscreen mode to adjust the side margins.
|
||||||
|
|||||||
Reference in New Issue
Block a user