]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vimrc
Easy (no)wrap switching
[dotfiles.git] / vim / .vimrc
index 97f506d8ee02f5e107b3d955bbca9e9477a64abc..eafde2c47d0c1dec31cf6c68fff697008c006e14 100644 (file)
@@ -147,6 +147,7 @@ cmap <C-P> <S-Right>
 map Q gq
 map Y y$
 cmap ][ '[,']
+nmap <F2> :set wrap!<CR>:set wrap?<CR>
 nmap <Tab> :buffers<CR>:buffer<Space>
 nmap <silent> <Home> :registers<CR>
 nmap <leader>' yiwciw"<C-r>""<ESC>