feat: add pastetoggle on F5
This commit is contained in:
3
vimrc
3
vimrc
@@ -82,6 +82,9 @@ map <ESC>[F <end>
|
|||||||
cmap <ESC>[F <end>
|
cmap <ESC>[F <end>
|
||||||
imap <ESC>[F <end>
|
imap <ESC>[F <end>
|
||||||
|
|
||||||
|
" Toggle paste mode to prevent autoindent mangling clipboard paste
|
||||||
|
set pastetoggle=<F5>
|
||||||
|
|
||||||
" Save and exit in Insert and Normal mode
|
" Save and exit in Insert and Normal mode
|
||||||
inoremap <F2> <ESC>:wq
|
inoremap <F2> <ESC>:wq
|
||||||
nnoremap <F2> <ESC>:wq
|
nnoremap <F2> <ESC>:wq
|
||||||
|
|||||||
Reference in New Issue
Block a user