aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/filetype-options.vim2
-rw-r--r--plugin/rebinds.vim29
2 files changed, 25 insertions, 6 deletions
diff --git a/plugin/filetype-options.vim b/plugin/filetype-options.vim
index f0cbb37..1adfe23 100644
--- a/plugin/filetype-options.vim
+++ b/plugin/filetype-options.vim
@@ -81,7 +81,7 @@ function SetShellOptions()
set smartindent
endfunction
function SetGoOptions()
- set tabstop=8
+ set tabstop=4
set noexpandtab
" The ACP is pretty slow with my Go plugins enabled
AcpDisable
diff --git a/plugin/rebinds.vim b/plugin/rebinds.vim
index cacef62..9874d13 100644
--- a/plugin/rebinds.vim
+++ b/plugin/rebinds.vim
@@ -1,8 +1,27 @@
-" Keep the newbs from using arrow keys
-inoremap <Left> <NOP>
-inoremap <Right> <NOP>
-inoremap <Up> <NOP>
-inoremap <Down> <NOP>
+" Remove newbie crutches in Command Mode
+cnoremap <Down> <Nop>
+cnoremap <Left> <Nop>
+cnoremap <Right> <Nop>
+cnoremap <Up> <Nop>
+
+" Remove newbie crutches in Insert Mode
+inoremap <Down> <Nop>
+inoremap <Left> <Nop>
+inoremap <Right> <Nop>
+inoremap <Up> <Nop>
+
+" Remove newbie crutches in Normal Mode
+nnoremap <Down> <Nop>
+nnoremap <Left> <Nop>
+nnoremap <Right> <Nop>
+nnoremap <Up> <Nop>
+
+" Remove newbie crutches in Visual Mode
+vnoremap <Down> <Nop>
+vnoremap <Left> <Nop>
+vnoremap <Right> <Nop>
+vnoremap <Up> <Nop>
+
" map <C-n> :Lex<CR>
map <C-n> :NERDTreeToggle<CR>