50 Useful Vim Commands - VimTricks
Here are 50 use Vim commands for Vim users of all proficiency levels. From beginner to advanced, everyone is sure to find a useful tip.
g_lD Delete all the trailing whitespace on the line
ea Append to the end of the current word
gf Jump to the file name under the cursor
dit Delete inside an HTML tag, excluding the tag
z= Show spelling corrections
S Delete current line and go into insert mode
Chris White - It's the little things
I spend most of my terminal time in bash and vim, so little slowdowns in either disproportionately drain my time and energy. Since mid-2019, I have smoothed over warts in those tools by creating new shortcuts and by learning more about what the software already offers!
Colorize the bash prompt!
Last word in bash (filename)
!$
VIM
:b
:V% - visually select block
https://github.com/magicmonty/bash-git-prompt
https://github.com/cxw42/git-log-compact
https://github.com/cxw42?tab=repositories&q=&type=&language=&sort=stargazers
Jasper is doing Vimovember 2025
This is a brilliant idea by Hyde Stevenson. One of my favourite things about Vim, is there can be so many different ways to achieve one end result. With that in mind, I know that a lot of these things are probably not the Best Way, but they are A Way (and maybe even just My Way, because everyone else does the Best Way). Very interested to see other people’s, so start your own and send me the link.
GitHub - renzorlive/vimmaster: VIM Master: in-browser game that teaches core Vim motions and editing commands through short, focused levels. · GitHub
VIM Master: in-browser game that teaches core Vim motions and editing commands through short, focused levels. - GitHub - renzorlive/vimmaster: VIM Master: in-browser game that teaches core Vim motions and editing commands through short, focused levels.
Flexoki — Steph Ango
Flexoki is an inky color scheme for prose and code.
Neovim - LSP Setup Tutorial (Built in LSP 100% Lua)
Repo: https://github.com/LunarVim/Neovim-from-scratch/tree/master
nvim_lspconfig: https://github.com/neovim/nvim-lspconfig
server settings: https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
nvim_lsp_installer: https://github.com/williamboman/nvim-lsp-installer
json schema store: https://www.schemastore.org/json/
nvim_cmp_lua: https://github.com/hrsh7th/cmp-nvim-lua
Where to get Font icons: https://www.youtube.com/watch?v=fR4ThXzhQYI
Vim Statusline Generator | tdaly.co.uk
Vanilla Vim statusline generator - customise your statusline without any plugins
It's dangerous to Vim alone! Take Fzf.
Enter fzf.vim by the legendary Junegunn, which is a wrapper for the command line fuzzy finder with the same name, fzf. On the surface it seems like a just another fuzzy finder, but it's much more than that! Let me show you some of my mappings and how I have been using it...
A list of new(ish) command line tools
A list of new(ish) command line tools
vidir (from moreutils, lets you batch rename/delete files in vim)
Commenting code - VimTricks
Comment or uncomment code in Vim with or without a plugin.
:norm i#
256 Colors - Cheat Sheet - Xterm, HEX, RGB, HSL
List of 256 colors for Xterm prompt (console). Contains displayed color, Xterm Name, Xterm Number, HEX, RGB and HSL codes.
Create color scheme for Vim. When I first met Vim, I thought someone… | by Gilli Carmon | Medium
When I first met Vim, I thought someone was looking to make his life more complicated. But after a while I figured that Vim is the perfect text editor for people who want the text editor to be…
Introduction to Vim abbreviations | jovica.org | Notes on Security, Technology and Life
The command for Insert mode abbreviations looks like this:
:iabbrev [<expr>] [<buffer>] {abbreviation} {expansion}
-
- stands for Vimscript expression to create the expansion. -
- means that it only applies to the current buffer. - {abbreviation} - is the thing you type, or your “trigger”
- {expansion} - is your final outcome
- Anything that’s inside a [] is optional.
Vim tips: Moving around using marks and jumps - Linux.com
Author: Joe 'Zonker' Brockmeier Editing in Vim can be a breeze, if you know how to make use of its more advanced features. Moving around files can feel like a slog if you’re stuck with the basic movement keys, but editing is effortless when you have command of marks and jumps. Basically, a mark is …