vim – Marking Text ( Visual mode )

#Start visual mode, mark lines, then do a command ( like y-yank )

v

#start line-wise visual mode

V

#Move to other end of marked area

o

#Start visual block mode

Ctrl+v

#Move to other corner of block

O

#Mark a word

aw

#Mark a block with ()

ab

#Mark a block with {}

aB

#Mark inner block with ()

ib

#Mark inner block with {}

iB

#Exit visual mode

Esc

To contribute :

” If you like Advance Computing and would like to contribute, you can  mail your article to “computingadvance@gmail.com”. You will get credit as your name , email id, designation with article on this blog. “

Leave a Reply

Your email address will not be published. Required fields are marked *