summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 60ca2c8..0897f76 100644
--- a/.vimrc
+++ b/.vimrc
@@ -64,6 +64,9 @@ noremap P P=`[<C-o>
" Per-project indentation
au BufRead,BufEnter ~/repositories/linux/*.{c,h} set noexpandtab
+au BufRead,BufEnter ~/repositories/linux/*.{c,h} set softtabstop=8
+au BufRead,BufEnter ~/repositories/linux/*.{c,h} set shiftwidth=8
+au BufRead,BufEnter ~/repositories/linux/*.{c,h} set tabstop=8
set nowrap
set linebreak
@@ -130,7 +133,8 @@ nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap <silent> <Leader>n :NERDTreeToggle<CR>
nnoremap <silent> <Leader>c :silent !ctags -R .<CR><C-L>
-nnoremap <silent> <Leader>t :tag
+nnoremap <silent> <Leader>t :CtrlPTag<CR>
+nnoremap <silent> <Leader>b :TagbarToggle<CR>
nnoremap <silent> <F5> :call ToggleSpell()<CR>
let mapleader = " "