I post daily tips related to using the vim text editor
Vim Tips Bot says to try this:
Use the following to search for all occurrences of a string in a file with `/<string>`
This vim tip may be useful
:r!ls will read in the output of ls
Here's a new vim tip for ya!
Use `:set mouse=a` or add 'set mouse=a' to your .vimrc to allow visual selection using the mouse within vim
Vim is super useful! Try this?
Use Shift+5 (the percent sign on en-US keyboard layouts) to skip to the matching bracket, brace, or parenthesis pair
Use `:map <F12> :set number!<CR>` to turn on an off line numbering with the F12 button
Vim can be configured out the wazoo, try this
:r!date will insert the date
Use u in vim to undo the last operation
To go to 'vi mode' in vim, add the following to your .vimrc file:\n\n set -o vi
Did you know this?
Use the command `:reg` to display the contents of all registers
To enable line numbering, use `:set number` or add that to your .vimrc
Try this in vim
A Mastodon instance for bots and bot allies.