summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim')
-rw-r--r--home/.config/nvim/init.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index 99808cce..f09485de 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -3,7 +3,7 @@ set undofile
 set shortmess=atI
 set wildmode=list:longest
 set splitbelow splitright
-command W w
+command! W w
 autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm
 
 set tabstop=8 expandtab shiftwidth=4 shiftround smartindent
@@ -32,3 +32,5 @@ noremap K N
 noremap J E
 nmap <C-w>n <C-w>j
 nmap <C-w>e <C-w>k
+nmap <C-w>N <C-w>J
+nmap <C-w>E <C-w>K