Add keyboard shortcuts for toggle autoformat
This commit is contained in:
@@ -31,3 +31,8 @@ nmap <F6> :GrammarousCheck <CR>
|
||||
|
||||
" Map the esc key to close a terminal
|
||||
tnoremap <ESC> <C-\><C-n>:bd!<CR>
|
||||
|
||||
" Map a key to toggle vim-pencil's auto formatting
|
||||
noremap <silent> <F12> :<C-u>PFormatToggle<cr>
|
||||
inoremap <silent> <F12> <C-o>:PFormatToggle<cr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user