Articles in this series
To search for the word 'expense'
/ - search
\< - word begins
\> - word ends
\ is acting as the escape character.
Vim mappings - to map keys on your keyboard to specific Vim actions
Open Vim and type
:map <space> diw
The above mapping maps space key to diw...
In insert mode, use ctrl+o to go to normal mode for just one command:
ctrl+o h - move cursor left
ctrl+o l - move cursor right
ctrl+o j - move cursor...
Using the very popular vim-surround plugin, we can accomplish this task easily.
Here, we have five anchor tags.
To Yank an entire HTML element, there are two easy ways:
Use the + register in order to put from System Clipboard. Put, for the uninitiated, is the Vim lingo for paste.