Sfoglia il codice sorgente

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

Weiyi Lou 12 anni fa
parent
commit
09135f0eb9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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