diff options
-rw-r--r-- | home/neovim/init.vim | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/home/neovim/init.vim b/home/neovim/init.vim index 84159a3..eeb6920 100644 --- a/home/neovim/init.vim +++ b/home/neovim/init.vim @@ -138,11 +138,6 @@ else nnoremap <leader><leader> <CMD>echo "FZF not found!"<CR> endif -command WrapItUp set wrap - \ | nnoremap j gj - \ | nnoremap k gk - \ | nnoremap 0 g0 - \ | nnoremap $ g$ " Define go-to-definition help pages, otherwise see the mappings in the hook " for LSP configuration. autocmd Filetype help nnoremap <buffer> gd <C-]> @@ -196,6 +191,12 @@ command! DiffOnDisk \ wincmd p | \ diffthis +command WrapItUp setlocal wrap + \| nnoremap <buffer> j gj + \| nnoremap <buffer> k gk + \| nnoremap <buffer> 0 g0 + \| nnoremap <buffer> $ g$ + " Miscellaneous """"""""""""""""""""""""""" |