diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 8c4d8bf..4616da3 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -1,5 +1,5 @@ "Customized vim/neovim config -"Copyright 2018 TheToric +"Copyright 2018 Gabe Venberg "This program is free software: you can redistribute it and/or modify "it under the terms of the GNU General Public License as published by @@ -26,11 +26,11 @@ set noswapfile "disables creation of swap files let mapleader = "\\" "spell checking "toggle spell checking - nmap ss :setlocal spell! + noremap ss :setlocal spell! "splitting panels with | or - - nmap \| :vs - nmap \- :sp + nnoremap \| :vs + nnoremap \- :sp " shortcuts using leader " noremap sn ]s @@ -38,10 +38,10 @@ set noswapfile "disables creation of swap files " noremap s? z= "navigating splits: Control+hjkl will move from split to split - nmap h - nmap j - nmap k - nmap l + nnoremap h + nnoremap j + nnoremap k + nnoremap l "command mode keybinds "w!! writes using sudo @@ -115,7 +115,7 @@ set noswapfile "disables creation of swap files set incsearch " L clears the search highlighting - noremap l :nohls + noremap l :nohls "neovim stuff if has('nvim') @@ -132,8 +132,7 @@ set noswapfile "disables creation of swap files set foldminlines=3 "spacebar opens or closes a fold in normal mode - nnoremap za - vnoremap za + noremap za "indent folding: really basic fold method. eventually I may make some custom folds, but with the foldtext fixed a bit, this shouldn't annoy me too much. if foldtype ==# "basicindent"