Add keyboard shortcuts for toggle autoformat

This commit is contained in:
2023-06-22 19:19:36 +02:00
parent fe63440180
commit f3b22e30a5
2 changed files with 7 additions and 2 deletions

View File

@@ -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>