Add wrap line shortcut for neovim

This commit is contained in:
Tanguy Herbron 2021-04-28 14:15:47 +02:00
parent 382c751b55
commit f635416480

View File

@ -171,3 +171,10 @@ let g:syntastic_check_on_wq = 0
" Neomutt configuration for nvim compatibility
au BufRead /tmp/neomutt-* set tw=72
" Line wrapping shortcuts
function! ToggleWrap()
set wrap! linebreak! nolist!
endfunction
nnoremap <leader>w :call ToggleWrap()<CR>