summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2017-11-24 04:08:34 +0100
committerDavid Kaufmann <astra@ionic.at>2017-11-24 04:08:34 +0100
commitb0fb85bf48df04ce94a608bdd2c785f0a718f38a (patch)
treef8ccba912e898349b8d37a4b71b6ff5574d033dd /home
parentbd06f653eb25d101f86260f19522caaeebbc718c (diff)
downloadconfig-b0fb85bf48df04ce94a608bdd2c785f0a718f38a.tar.gz
change mouse support stuff, enable proper detection of email file sytax
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