summary refs log tree commit diff
path: root/curtis
diff options
context:
space:
mode:
authorJune McEnroe <curtis@hopper.com>2017-07-18 16:13:19 -0400
committerJune McEnroe <curtis@hopper.com>2017-07-18 16:13:19 -0400
commit8a8f8e98582f0651f3a13b8ee038223dfdb2d1d4 (patch)
tree306f22a437743840f7f299995b8ed937e2984d5c /curtis
parentRemove color from xx, group ASCII (diff)
downloadsrc-8a8f8e98582f0651f3a13b8ee038223dfdb2d1d4.tar.gz
src-8a8f8e98582f0651f3a13b8ee038223dfdb2d1d4.zip
Map C-w {N,E} in nvim
Also I forgot that using command! with the exclamation mark is so that
the file can be sourced again without conflict.
Diffstat (limited to 'curtis')
-rw-r--r--curtis/.config/nvim/init.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/curtis/.config/nvim/init.vim b/curtis/.config/nvim/init.vim
index 99808cce..f09485de 100644
--- a/curtis/.config/nvim/init.vim
+++ b/curtis/.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