You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands in Select mode:
- Printable characters, <NL> and <CR> cause the selection to be deleted, and
Vim enters Insert mode. The typed character is inserted.
- Non-printable movement commands, with the Shift key pressed, extend the
selection. 'keymodel' must include "startsel".
- Non-printable movement commands, with the Shift key NOT pressed, stop Select
mode. 'keymodel' must include "stopsel".
- ESC stops Select mode.
- CTRL-O switches to Visual mode for the duration of one command. *v_CTRL-O*
- CTRL-G switches to Visual mode.
Otherwise, typed characters are handled as in Visual mode.
:h select-mode
によるととあります。最初のやつを簡単に訳すと「見える文字と改行系のアレをselect-modeのときに入力すると、元のselectされてた部分を削除して、入力した文字が上書きするよ」とあります。この削除 (delete) はinsert modeの
<BS>
というよりむしろnormal modeのc
に近く、registerをselectされてた部分で置き換えます。このことはhelpには明示されていません。d
やc
みたいにyankしちゃうよ、とhelpに明示する<BS>
みたいに単純に消すのどちらかになるのが好ましいと思います。 (個人的には後者が嬉しいですが)
The text was updated successfully, but these errors were encountered: