Skip to main content

Questions tagged [select-mode]

Filter by
Sorted by
Tagged with
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? ...
codepoet's user avatar
  • 101
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 ...
8c6b5df0d16ade6c's user avatar
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 ...
JacopoDT's user avatar
  • 113
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?
Cycl0n's user avatar
  • 23
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 ...
filbranden's user avatar
  • 29.9k
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 ...
jdhao's user avatar
  • 1,143