diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2014-08-22 19:16:49 +0200 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2014-08-26 19:51:16 +0200 |
| commit | 1abd9d7ceff35ad1caaaf34df745ef0afa1947dd (patch) | |
| tree | 20afaf1fa263830bc7fe4b75f1b7503cc53b851c /vimrc | |
| parent | 9183c1483005aeeef60cf1467b71224a478f98e0 (diff) | |
vim: several changes
- added neocomplete module
- disabled arrow keys
- enabled backspacing (saw a system where it was disabled by default)
- enabled hlsearch for pager
- updated submodules
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -25,6 +25,7 @@ set laststatus=2 " always show status line set ttimeoutlen=50 " faster switch from insert to normal mode set noshowmode " don't show current mode (done by airline) set encoding=utf-8 " use utf8 by default +set backspace=indent,eol,start " enable backspacing syntax on " enable syntax highlighting filetype plugin indent on @@ -79,6 +80,11 @@ noremap <silent> <F3> :BufExplorerHorizontalSplit<CR> nnoremap <silent> <F4> :TagbarToggle<CR> nnoremap <silent> <F6> :SyntasticCheck<CR> +" disable arrow keys +noremap <Up> <Nop> +noremap <Down> <Nop> +noremap <Left> <Nop> +noremap <Right> <Nop> " different keycodes in urxvt nmap <ESC>[5^ <C-PageUp> @@ -107,4 +113,7 @@ let g:syntastic_check_on_wq=0 " don't check when closing buffers let g:syntastic_aggregate_errors=1 " run every checker let g:syntastic_mode_map = { 'mode': 'passive' } +" neocomplete settings +let g:neocomplete#enable_at_startup=1 + " vim: set et:sw=4:sts=4 |
