Quantcast
Channel: Unexpected behavior from cb command - Vi and Vim Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Funkodebat for Unexpected behavior from cb command

:set selection=inclusive even though the default is supposed to be inclusive.. on my debian box i had to add it to .vimrc because it was exclusive set selection=inclusive

View Article



Answer by Peter Rincker for Unexpected behavior from cb command

The b motion is an exclusive motion. Visual mode is inclusive by default (See :h 'selection'). From :h exclusive: A character motion is either inclusive or exclusive. When inclusive, the start and end...

View Article

Unexpected behavior from cb command

One of the most basic editing commands is c<motion> to change text, e.g. cw - change word, c$ - change to end of line, cc - change entire line, c3l - change 3 characters to the right. My...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images