0

(Note: not off topic per Is it appropriate to post vim questions on Stack Overflow now that there is a vi/vim site?)

On my mac using vim version:

VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 10 2016 10:50:34) MacOS X (unix) version Included patches: 1-1219

when I am in visual mode, select a block of text, then click x, the text is removed but the whitespace remains. Here is a video: https://vimeo.com/176318393

similarly, when I paste using "+p (pastes from the system clipboard), the text overwrites whatever is on those lines and does not "bump" down the text being pasted. Video: https://vimeo.com/176319290

I want to solve these two problems but I have a hunch they are related so I am posting them in one question here.

A subset of my vimrc (vimrc is massive but nearly positive the plugin stuff has nothing that could affect this) that handles generic settings is here: http://pastebin.com/2APD1ycp

What is wrong?

Community
  • 1
  • 1
Tommy
  • 12,588
  • 14
  • 59
  • 110
  • Would have been more appropriate on the Vi site... – Mat Jul 26 '16 at 14:49
  • 1
    @Mat I see no difference between my question and the question you answered here, because neither are about programming and both are very generic vim usage questions: http://stackoverflow.com/questions/5362363/vim-how-to-delete-a-large-block-of-text-without-counting-the-lines. If my question is off topic here "now" then posts like that should be migrated. – Tommy Jul 26 '16 at 14:50
  • Look at the date. Also, lacking details. Please post your settings also. – Mat Jul 26 '16 at 14:52
  • @Mat vimrc link added. – Tommy Jul 26 '16 at 14:55
  • First problem doesn't seem to exist for me. Did you tried starting vim like `vim -u NONE`? – SibiCoder Jul 26 '16 at 15:06

1 Answers1

1

The behavior shown in both videos is perfectly normal and expected in visual block mode.

You have visual mode and visual line mode at your disposal so, if you don't want the behavior of visual block mode… don't use it.

romainl
  • 186,200
  • 21
  • 280
  • 313