Răsfoiți Sursa

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

Weiyi Lou 12 ani în urmă
părinte
comite
09135f0eb9
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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
 " jump to beginning and end of line easier
 nmap H ^
 nmap H ^
 nmap L $
 nmap L $
+vmap H ^
+vmap L $
 
 
 " Smart way to move between windows
 " Smart way to move between windows
 nmap <C-j> <C-W>j
 nmap <C-j> <C-W>j