summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 90a560d..b7adf81 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -359,6 +359,9 @@ nnoremap <bs> 
" Source current file
nnoremap ,s :source %<cr>
+" Shebang
+inoreabbrev <expr> #!! "#!/usr/bin/env" . (empty(&filetype) ? '' : ' '.&filetype)
+
" }}}
"" Colorscheme {{{
function! SaveColo(...)