mirror of
https://github.com/xlogerais/config-vim
synced 2024-11-10 00:21:41 +01:00
Added configuration for paste mode
This commit is contained in:
parent
2418b5246a
commit
7c5d182278
11
vimrc
11
vimrc
@ -143,3 +143,14 @@ else
|
||||
set termencoding=utf-8
|
||||
set t_Co=16
|
||||
endif
|
||||
|
||||
" ------[ Paste ] ----------------------------------------------
|
||||
|
||||
function! PasteToggle()
|
||||
set invpaste
|
||||
set paste?
|
||||
endfunction
|
||||
|
||||
map <F2> :call PasteToggle()<CR>
|
||||
imap <F2> <c-o>:call PasteToggle()<CR>
|
||||
set pastetoggle=<F2>
|
||||
|
Loading…
Reference in New Issue
Block a user