summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/.vim/vimrc b/home/.vim/vimrc
index 816034c..6c2e0e3 100644
--- a/home/.vim/vimrc
+++ b/home/.vim/vimrc
@@ -1,5 +1,7 @@
set nocompatible
+set mouse=a
+
let mapleader = ","
cmap w!! w !sudo tee % >/dev/null<CR>:e!<CR><CR>
@@ -221,6 +223,8 @@ autocmd BufNewFile,BufRead *.rb set shiftwidth=2 softtabstop=2 expandtab
autocmd BufNewFile,BufRead *.py set shiftwidth=4 softtabstop=4 expandtab
autocmd BufNewFile,BufRead *.yml set shiftwidth=2 softtabstop=2 expandtab
+autocmd BufNewFile,BufRead snd.\d\+,.letter,.letter.\d\+,.followup,.article,.article.\d\+,pico.\d\+,{neo,}mutt{ng,}-*-\w\+,mutt[[:alnum:]_-]\\\{6\},ae\d\+.txt,/tmp/SLRN[0-9A-Z.]\+,*.eml setf mail
+
map <F8> :!/usr/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR>
" GUI-Optionen