mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-12 03:43:46 -05:00
Removed <buffer> from manual autoformat mapping examples
This commit is contained in:
@@ -261,8 +261,8 @@ with autoformat disabled.
|
|||||||
Optionally, you can map a key in your `.vimrc` to toggle Vim's autoformat:
|
Optionally, you can map a key in your `.vimrc` to toggle Vim's autoformat:
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
noremap <buffer> <silent> <F7> :<C-u>PFormatToggle<cr>
|
noremap <silent> <F7> :<C-u>PFormatToggle<cr>
|
||||||
inoremap <buffer> <silent> <F7> <C-o>:PFormatToggle<cr>
|
inoremap <silent> <F7> <C-o>:PFormatToggle<cr>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Manual formatting
|
## Manual formatting
|
||||||
|
|||||||
Reference in New Issue
Block a user