From dce9a380be4d11916f17c7e12cde5307ecaad26f Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 15 Feb 2014 13:53:18 +0100 Subject: 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 --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vimrc') 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 :nohlsearch +nnoremap :nohlsearch nmap tn :tabnew nmap tc :tabclose noremap :BufExplorerHorizontalSplit -- cgit v1.2.3