diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2014-02-15 13:53:18 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2014-02-15 13:55:24 +0100 |
| commit | dce9a380be4d11916f17c7e12cde5307ecaad26f (patch) | |
| tree | e2e5a5002221c0962bdfb5c377c995537361615e /vimrc | |
| parent | 424ae201c02d5f4bf034e9542e336babfe9cdfbc (diff) | |
vim: shiftwidth, nohlsearch mapping, submodules
- reenabled shiftwidth (for correct autoindenting)
- changed nohlsearch mapping from enter to space
(enter already used in e.g. Quickfix window)
- updated submodules
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ set title " set terminal title set ruler " show line/column of cursor in status line set tabstop=4 " display a tab as 4 spaces "set softtabstop=4 " (soft) indent tabs with 4 spaces -"set shiftwidth=4 " (auto)indent with 4 spaces (> <) +set shiftwidth=4 " (auto)indent with 4 spaces (> <) set noexpandtab " don't expand tabs to spaces set nobackup " don't keep backup files set showtabline=2 " always show tab line @@ -64,7 +64,7 @@ let g:netrw_list_hide='^\..*$' " don't show hidden files " key mappings -nnoremap <silent> <CR> :nohlsearch<CR> +nnoremap <silent> <SPACE> :nohlsearch<CR> nmap tn :tabnew<CR> nmap tc :tabclose<CR> noremap <silent> <F3> :BufExplorerHorizontalSplit<CR> |
