Skip to content

Commit

Permalink
Update vimrc
Browse files Browse the repository at this point in the history
Shift+H goto head of the line, Shift+L goto end of the line
  • Loading branch information
the-eric-kwok authored Oct 15, 2018
1 parent b3099ea commit 1553860
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ map Y y$
" ex mode commands made easy 用于快速进入命令行
nnoremap ; :
" Shift+H goto head of the line, Shift+L goto end of the line
nnoremap H ^
nnoremap L $
" save
cmap w!! w !sudo tee >/dev/null %
Expand Down

0 comments on commit 1553860

Please sign in to comment.