summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.xyz>2021-08-08 15:01:33 -0500
committerDanny Holman <dholman@gymli.xyz>2021-08-08 15:01:33 -0500
commitf1804c57494eb4a6927a7c85d9f92f66a0a7d10f (patch)
treeda0282466fad78f5c173cdc131a7f490360927d6 /.vimrc
parent65a53cb4ccf04788698be4f9cdb2897e9ed73df6 (diff)
Update a bunch of stuff
Update the SSH configs, Neomutt, Vim, Xorg
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 = " "