diff --git a/.vimrc b/.vimrc index aecdd4f..b1ecc38 100644 --- a/.vimrc +++ b/.vimrc @@ -119,7 +119,7 @@ nnoremap gV "`[".getregtype(v:register)[0]."`]" cnoremap w!! w !sudo tee % "Run current line as command -nnoremap Q !!$SHELL +nnoremap q !!$SHELL " Do Shebang line inoremap :sil exe ".!which " s/^/#!/ filetype detectYpDi @@ -189,6 +189,7 @@ augroup file_web augroup END augroup htmlShortcuts + autocmd! autocmd FileType html inoremap ;b (<.>)FbT>i autocmd FileType html inoremap ;i (<.>)FeT>i autocmd FileType html inoremap ;1

(<.>)2kf ;ol
(<.>)03kf ;m @media screen and (min-width:px){(<.>)}?pxi + autocmd FileType css,less inoremap ;M @media screen and (max-width:px){(<.>)}?pxi +augroup end + augroup new_html autocmd! autocmd BufNew,BufNewFile *.html call NewHtml()