Update vimrc

Shift+H goto head of the line, Shift+L goto end of the line
This commit is contained in:
EricKwok authored and GitHub committed 2018-10-15 19:51:14 +08:00
1 parent b3099ea72a
commit 1553860732
1 file changed
+4
+4
View File
@@ -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 %