From 15538607328192d5e587ab38f0dcbfebf61e2b9c Mon Sep 17 00:00:00 2001 From: EricKwok Date: Mon, 15 Oct 2018 19:51:14 +0800 Subject: [PATCH] Update vimrc Shift+H goto head of the line, Shift+L goto end of the line --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index 3c26480..2cc66df 100644 --- a/vimrc +++ b/vimrc @@ -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 %