summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2014-02-15 13:53:18 +0100
committerReiner Herrmann <reiner@reiner-h.de>2014-02-15 13:55:24 +0100
commitdce9a380be4d11916f17c7e12cde5307ecaad26f (patch)
treee2e5a5002221c0962bdfb5c377c995537361615e /vimrc
parent424ae201c02d5f4bf034e9542e336babfe9cdfbc (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--vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vimrc b/vimrc
index 5e31467..06b3a63 100644
--- a/vimrc
+++ b/vimrc
@@ -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>