Juho Pohjala
2014-06-21 11:46:41 UTC
Hi
My first commit would be a simple addition to vi-copy mode. Allow
selecting the whole line with 'V'. This is how Vim selects the current
line, and currently in tmux there's no default mapping for this option
at all. Also this select-line option is kind of 'hidden', since it's
not documented in man page and not mapped in 'list-keys -t vi-copy'.
This commit makes the option more visible.
In addition, I would also like to make the following changes:
'v' begins selection mode instead of 'space' (identical to Vim)
'C-v' toggles rectangular selection instead of 'v' (C-v starts block
selection in Vim)
'y' copies the selection instead of Enter (identical to Vim)
What would you think about such changes that alter the 'legacy' behaviour?
Best Regards,
Juho Pohjala
My first commit would be a simple addition to vi-copy mode. Allow
selecting the whole line with 'V'. This is how Vim selects the current
line, and currently in tmux there's no default mapping for this option
at all. Also this select-line option is kind of 'hidden', since it's
not documented in man page and not mapped in 'list-keys -t vi-copy'.
This commit makes the option more visible.
In addition, I would also like to make the following changes:
'v' begins selection mode instead of 'space' (identical to Vim)
'C-v' toggles rectangular selection instead of 'v' (C-v starts block
selection in Vim)
'y' copies the selection instead of Enter (identical to Vim)
What would you think about such changes that alter the 'legacy' behaviour?
Best Regards,
Juho Pohjala