Vim surround with
If you have Vim surround with plugin installed, you can use a powerful command
of surround with to add or remove character around a word.
Add surround character
ys<motion><character> …
Read more...
In Vim, you can make a bookmark and assign a character to reference the bookmark.
Then you can jump to that bookmark.
You can use '{character} and `{character}
The difference between '{character} and …
Read more...
I sometimes have wrong typing my friend's name.
His name is Phuong but I typed as Phoung.
However, Vim has a useful command to help this.
With xp the combination of x cut and p = paste.
When we use …
Read more...
When you make some changes, Vim records your changes as a change list
To see your change list use :changes
You can go backward in a change list by using the command
g;
For go forward use the …
Read more...
Vim record your as jump list
To see your jump list use :jumps
You can go backward in jump list by using command
ctl+0
For go forward you this command
ctrl+i
You can repeat it to continue go …
Read more...
In PowerShell, you can crate a profile to set something (e.g. setting, variable) for you when launching a new PowerShell session
Get started
Launch PowerShell with Adminitrator permission
Enter the …
Read more...
This tip is very helpful when you change something and want to add something after the last change you've just made.
Vim has gi which can help you go back to the last insert mode stopped or last …
Read more...
Vim has automatic mark the last change for us.
Therefore we can jump quickly with this.
In this article I will show the two commands.
There are pretty similar but if you careful notice you will find …
Read more...
Vim automatic create auto mark for you.
This means whenever you jump in Vim, you can go back to the previous position fast and easily.
These are some of automatic mark.
'' Jump back to first …
Read more...