feat: add pastetoggle on F5

This commit is contained in:
2026-04-25 09:39:50 +03:00
parent 1b21623e22
commit c20a5e5e6c

3
vimrc
View File

@@ -82,6 +82,9 @@ map <ESC>[F <end>
cmap <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
inoremap <F2> <ESC>:wq
nnoremap <F2> <ESC>:wq