summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
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>