change shebang line

master
Jonathan Hodgson 7 years ago
parent 9a02ac9576
commit 55ad3b952c
  1. 4
      .vimrc

@ -370,7 +370,9 @@ cnoremap w!! w !sudo tee %
nnoremap <leader>q !!$SHELL <cr> nnoremap <leader>q !!$SHELL <cr>
" Do Shebang line " Do Shebang line
inoremap <C-y> <Esc>:sil exe ".!which <cWORD>" <bar> s/^/#!/ <bar> filetype detect<cr>YpDi " inoremap <C-y> <Esc>:sil exe ".!which <cWORD>" <bar> s/^/#!/ <bar> filetype detect<cr>YpDi
inoremap <C-y> <Esc>:sil s/^/#!\/usr\/bin\/env / <bar> filetype detect<cr>YpDi
" DO bullet points " DO bullet points
inoremap <C-j> <esc>:exe "norm Ypf lDB\<C-a>"<cr>A inoremap <C-j> <esc>:exe "norm Ypf lDB\<C-a>"<cr>A

Loading…
Cancel
Save