aboutsummaryrefslogtreecommitdiff
path: root/inc/rebinds.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-10-29 00:01:44 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-10-29 00:01:44 -0400
commit188cc44f0d8b090caa740fa7e9b6a197df38b88f (patch)
tree44db8d4a284f82f88fc96126f79164c594d2007e /inc/rebinds.vim
parent0dbc1ced53ab90811238ba2c25d52f0ceaadff55 (diff)
downloadvim-cfg-188cc44f0d8b090caa740fa7e9b6a197df38b88f.tar.gz
vim-cfg-188cc44f0d8b090caa740fa7e9b6a197df38b88f.tar.xz
massive refactor of my vimrc
Diffstat (limited to 'inc/rebinds.vim')
-rw-r--r--inc/rebinds.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/rebinds.vim b/inc/rebinds.vim
new file mode 100644
index 0000000..4debb51
--- /dev/null
+++ b/inc/rebinds.vim
@@ -0,0 +1,12 @@
+" Keep the newbs from using arrow keys
+inoremap <Left> <NOP>
+inoremap <Right> <NOP>
+inoremap <Up> <NOP>
+inoremap <Down> <NOP>
+
+map <C-n> :NERDTreeToggle<CR>
+
+" To enable/disable the autocomplete dropdown
+nmap <leader> [ :AcpDisable<CR>
+nmap <leader> ] :AcpEnable<CR>
+