I just realized that the standard setting of is actual not 'going back one space', but deleting everything selected. Is there some basic way to get that some functionality in Vim visual mode, without resorting to in normal mode.
Also I noticed that was even listed in :map
, which I found odd...
EDIT: Okay, I now tried it with vim -u NONE
and then :map
, which showed me that...
v <BS> "-d
v <D-x> "*d
v <D-c> "*y
v <D-v> "-d"*P
n <D-v> "*P
These are the only mappings, but why are these mapping there anyway? I tried vunmap <bs>
but that doesn't work (it still doesn't go back like I want it to)
EDIT2:
Okay so I made a screencapture to show my dilemma.
It should be self explanatory: On the left I call vim normally, load all my plugins, but then disable my mappings.
When I start visual mode I can use <bs>
(and <space>
) to change lines.
On the right, using vim -u NONE
I can't do that.
There must be some setting to set that behavior...
set backspace=2
andset backspace=indent,eol,start
.<BS>
mapped to delete? Try it when stating vim withvim -u NONE
.<BS>
invisual mode
is to move the cursor to the previous letter. It does nothing else. So, may be can you take a screen grab of what's happening when you press<BS>
?Also I noticed that was even listed in :map, which I found odd
If by that you mean that you see<BS>
mapped in visual mode you got your answer: The default behavior of<BS>
in visual mode is to do the same ash
, if you observe a different behavior it means that you (or a plugin) remapped the key in visual mode.