瀏覽代碼

use `H` and `L` mappings in visual mode

Weiyi Lou 13 年之前
父節點
當前提交
09135f0eb9
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      vim/vimrc

+ 2 - 0
vim/vimrc

@@ -256,6 +256,8 @@ nmap <silent> <leader>t    :TagbarToggle<CR>
 " jump to beginning and end of line easier
 nmap H ^
 nmap L $
+vmap H ^
+vmap L $
 
 " Smart way to move between windows
 nmap <C-j> <C-W>j