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 16805fa..04673cb 100644
--- a/.vimrc
+++ b/.vimrc
@@ -83,5 +83,9 @@ map M :%s/ $//g
" mutt rules
autocmd BufRead /tmp/mutt-* set tw=72 spell
-" disable line numbers when using vim als manpager
+" set bash syntax - pressed v in bash-vi mode
+au BufRead,BufNewFile /tmp/bash-* let is_bash=1|setfiletype sh
+
+" vimmanpager stuff
+" disable line numbers when using vim as manpager
autocmd FileType man set nonumber