change shebang line
This commit is contained in:
parent
9a02ac9576
commit
55ad3b952c
1 changed files with 3 additions and 1 deletions
4
.vimrc
4
.vimrc
|
@ -370,7 +370,9 @@ cnoremap w!! w !sudo tee %
|
|||
nnoremap <leader>q !!$SHELL <cr>
|
||||
|
||||
" 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
|
||||
inoremap <C-j> <esc>:exe "norm Ypf lDB\<C-a>"<cr>A
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue