Questions tagged [select-mode]
The select-mode tag has no usage guidance.
6 questions
2
votes
1
answer
476
views
Is it possible to execute keys/commands in select mode?
By keys I mean like being Normal mode and pressing e (takes you to end of [next] word), by commands I mean like being in Normal mode and pressing Shift+; and typing :delete.
For example: after ...
0
votes
1
answer
92
views
Map comma in select mode to exit select mode, enter insert mode, append a comma
Is it possible to remap comma in select mode to exit select mode, enter insert mode, [optionally: go the end of the last selection (which the cursor seems to be for ultisnips)] and append a comma? ...
1
vote
2
answers
1k
views
How do I select till the end of a word?
How do I select words with Ctrl+Shift+Right and Ctrl+Shift+Left, like in other editors?
I tried with:
set keymodel=startsel,stopsel
set selectmode+=key
but it selects till the beginning of the next ...
2
votes
1
answer
1k
views
How to perform an action on search matches?
How can I visually select all text highlighted by a search in order to run a command on it? And if it's possible, how can I capitalize the selection?
3
votes
1
answer
2k
views
Why is `vmap` for both Visual *and* Select mode?
Vim has both Visual and Select modes. Select mode is similar to Visual mode in some senses, but different in that when a printable character is typed, Vim will replace the selection with that ...
3
votes
2
answers
266
views
How not to let text in selection mode go to registers
I am using nvim-qt on Windows and I have set up the clipboard option:
set clipboard=unnamedplus
I found that text in Select mode will go to the +, * and " register after I start to type the ...