diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-12-29 11:04:17 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-12-29 11:04:17 -0500 |
| commit | aa17324df14ef08d99cd244138fb2f5a2c422134 (patch) | |
| tree | dae15ad8b788b390f6a4f0fb22ca95589d42bd48 /plugin | |
| parent | 74ef0d8bdb6d622f1330eec966fd3db65e3d491c (diff) | |
| download | vim-cfg-aa17324df14ef08d99cd244138fb2f5a2c422134.tar.gz vim-cfg-aa17324df14ef08d99cd244138fb2f5a2c422134.tar.xz | |
Remove some unused themes. Add vim-hardtime. Adjust key bindings and filetype options
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/filetype-options.vim | 2 | ||||
| -rw-r--r-- | plugin/rebinds.vim | 29 |
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> |
