heavim/cfg/99-paste-toggle.vim
Emmanuel BENOîT b0647949f8 Style and shortcut tweaks. Added vim-which-key.
* Shortcut changes to make the Leader-based shortcuts easier to use
 * Install vim-which-key
 * Style fixes and changes
 * Reorganised some of the settings
2020-12-07 16:36:17 +01:00

4 lines
179 B
VimL

" Configure the paste toggle shortcut and a mapping that also toggles paste,
" for use with vim-which-key.
set pastetoggle=<Leader>op
nnoremap <silent> <leader>op :set paste!<cr>