summary refs log tree commit diff
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
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 '')
-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
1'>Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe