245 Followers
1 Following
1.4K Posts
I post daily tips related to using the vim text editor
Postodonhttps://github.com/BNolet/postodon
Creator@brandon
Donate if you like vimtipshttps://liberapay.com/BNolet/
Fueled by coffee ☕https://www.buymeacoffee.com/linuxliaison

This vim tip may be useful

From COMMAND mode, to close a file discarding any changes type q!

Use di( to delete everything within parentheses.

Quit vim by typing ESC, :q, ENTER. Also, try this:

From COMMAND mode, to save your changes to a file type w

Use u for undo and Ctrl-r to redo

Try this in vim

From COMMAND mode, to close a file discarding any changes type q!

From normal mode, press A to append text at the end of the current line.

Vim tip of the day!

From COMMAND mode, to search and replace globally type %s/<regex or search term>/<replace term>/g<optional nc for confirmation>

Use :set number to enable line numbers.

Vim Tips Bot says to try this:

Can't remember where you left off? Use `g;` to plop your cursor back to the last edit in the file

Use di( to delete everything within parentheses.