philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.13k stars 2.48k forks source link

[feature] Separate the caret mode from visual mode #2231

Open sevenmaxis opened 8 years ago

sevenmaxis commented 8 years ago

To copy some text I need to enter visual mode and then if necessary enter caret mode, make movements, enter visual mode again, and then select some text and yank. Pretty annoying. Idea is to have to modes: caret and visual. Then.

Pressing c enters caret mode, make movements, go to the targeting place. Pressing v or V enters visual mode accordingly, make selection and copy.

To distinguish the caret and visual mode I propose to use different cursor color for caret and visual modes, green and red for example.

smblott-github commented 8 years ago

I usually establish a selection with find (/) before entering visual mode, thereby avoiding the dance you describe. Also, find works from within visual and caret modes too.

sevenmaxis commented 8 years ago

Well, the setting caret by find (/) could be a dance also. For me the caret mode and visual mode are quite difficult to distinguish, that's why I found it need to be separated.

wis commented 5 years ago

as far as I know the c key is not mapped to anything by default in normal mode, will you accept a PR to make c key go to caret mode directly from normal mode?

Magikh42 commented 4 months ago

I'm also in favor of a way to directly enter caret mode from normal mode Especially since 'c' is not bound by default