diff options
author | June McEnroe <curtis@hopper.com> | 2017-07-04 15:40:03 -0400 |
---|---|---|
committer | June McEnroe <curtis@hopper.com> | 2017-07-04 15:40:03 -0400 |
commit | 5d8f66f3ae2ed433dd45f1987252f5eafcff75b3 (patch) | |
tree | 295d305f3577f5c6f5dd65661a0417ba62bc28af | |
parent | Add color to xx (diff) | |
download | src-5d8f66f3ae2ed433dd45f1987252f5eafcff75b3.tar.gz src-5d8f66f3ae2ed433dd45f1987252f5eafcff75b3.zip |
Add nvim terminal mappings
-rw-r--r-- | curtis/.config/nvim/init.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/curtis/.config/nvim/init.vim b/curtis/.config/nvim/init.vim index 77ea9fa8..32d3caab 100644 --- a/curtis/.config/nvim/init.vim +++ b/curtis/.config/nvim/init.vim @@ -14,10 +14,13 @@ set number colorcolumn=80,100 set list listchars=tab:»·,trail:· nmap <leader><leader> :nohlsearch<CR> +tmap <Esc><Esc> <C-\><C-n> +tmap <C-w><C-w> <C-\><C-n><C-w><C-w> command! W w colorscheme trivial +autocmd BufEnter term://* startinsert autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm autocmd FileType sh,zsh,ruby setlocal shiftwidth=2 |