Skip to content

Commit

Permalink
Add missing mapping for reselecting last visual selection (ga = gv)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooize committed Mar 6, 2016
1 parent 88f6e56 commit 5167bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.markdown
Expand Up @@ -61,6 +61,7 @@ Colemak layout: | QWERTY layout:
( n x) jn = zj (Next fold) [Also jj = zj]
( n x) je = zk (Previous fold) [Also jk = zk]
( n ) ga = gv (Reselect last visual selection)
( n x) gK = K (Lookup)
( n x) gL = L (To line [count] from bottom of window)
Expand Down
1 change: 1 addition & 0 deletions plugin/colemak.vim
Expand Up @@ -55,6 +55,7 @@
" Visual mode {{{
nnoremap a v|xnoremap a v|
nnoremap A V|xnoremap A V|
nnoremap ga gv
" Make insert/add work also in visual line mode like in visual block mode
xnoremap <silent> <expr> s (mode() =~# "[V]" ? "\<C-V>0o$I" : "I")
xnoremap <silent> <expr> S (mode() =~# "[V]" ? "\<C-V>0o$I" : "I")
Expand Down

0 comments on commit 5167bbf

Please sign in to comment.