vim
Vim: help.txt
Vim Tips Wiki | Fandom
Vimcasts - Free screencasts about the text editor Vim
A guide to getting started with Vim
Vim Workflow
Vim Workflow (Part Deux)
Vim workflows
简明 Vim 练级攻略 | 酷 壳 - CoolShell.cn
无插件 Vim 编程技巧 | 酷 壳 - CoolShell.cn
Interactive Vim tutorial
How to Learn Vim
Learn Vimscript the Hard Way
Vim Tutorial for Beginners - YouTube freeCodeCamp, 1:14:28
VIM The Ultimate Editor - YouTube
50+ Vim Tips and Tricks from Beginner to Expert - YouTube
Vim Tips - YouTube
Learn Vim For the Last Time: A Tutorial and Primer - Daniel Miessler
How To Learn Vim: A Four Week Plan – Actualize – Medium
vimtutor(1): Vim tutor - Linux man page
《Practical Vim》 - PegasusWang的读书笔记
VimGolf - real Vim ninjas count every keystroke!
Learn VIM while playing a game - VIM Adventures
ThePrimeagen/vim-be-good: vim-be-good is a nvim plugin designed to make you better at Vim Movements.
Vim Motion
Vim Motion vs Vim the editor
Vim Motion is applicable in other editors (as vim mode or vim plugin)
:help jump-motions
- normal mode
{command} {count}{modifier} {motion/text-object}
command:d
,c
,y
,v
,u
,x
modifier:i
inside,a
around (including),t
till (excluding),s
surround
motion:h
,j
,k
,l
,G
,^
,$
,+
,-
,\_
,%
text-object (used with modifier):w
word (separated by token),W
WORD (separated by space),{
/}
/p
paragraph,b
/(
parentheses = (),B
/{
braces = {},[
bracket, {literal character}
ctrl
+o
to escape to normal mode for one command - insert mode
i
: insert before cursor
a
: append after cursor
I
: insert at beginning of line
A
: append to end of line
s
: substitute characters
S
: substitute line
o
: open line below
O
: open line above - replace mode
R
: replace mode
r
: replace character - visual mode (
v
)
v
: visual mode
V
: visual line - cheatsheet
f(
find next bracket (find)t(
find character before next bracket (until)F(
find previous bracketT(
find previous bracket before next bracketci(
/ci)
replace within next bracket (change inside = delete + insert mode)di(
/di)
delete between next bracket (delete inside)f(ci(
find next bracket, replace within next bracketdf)
delete to next bracket (including bracket)dt(
delete to next bracket (excluding bracket)daw
delete a word (delete around word)caw
change a word (delete around word and enter insert mode);
repeat lastf
/t
/F
/T
command,
repeat lastf
/t
/F
/T
command in opposite directiongf
goto file (open file under cursor)gF
goto file (open file under cursor in new tab)gd
goto definition (open definition under cursor)gD
goto definition (open definition under cursor in new tab)g;
/gi
goto last editds"
delete surrounding quotes/<tring>
search forward for string?<string>
search backward for stringcs*tem>
change surrounding * for the <em> tagysiw"
surround word under the cursor with quotes
Vim Cheat Sheet - English
vi-vim-cheat-sheet
vim motions
Vim: motion.txt
Moving Blazingly Fast With The Core Vim Motions | Barbarian Meets Coding
Why Vim Is More than Just an Editor – Vim Language, Motions, and Modes Explained
vim Tutorial => Basic Motion
Vim Tips - YouTube Nir Lichtman
SPEED UP your Vim navigation skills! - YouTube
The SECRET to Learning Neovim - YouTube
Vim Tutorial - YouTube 1:04:44
VIM ALPHABET - YouTube chantastic
VSCode
Vim - Visual Studio Marketplace "Use system clipboard", "Enable EasyMotion"
VSCodeVim/Vim: :star: Vim for Visual Studio Code
Free up keys:
VS code VIM extension copy and paste - Stack Overflow
visual studio code - When I use Shift + Alt + UpArrow or DownArrow in VScode it goes into Multi-Cursor mode - Stack Overflow
Boost Your Coding Fu With VSCode and Vim - The Book | Barbarian Meets Coding
Boost Your Coding Fu With VSCode and Vim - Table Of Contents | Barbarian Meets Coding
Boost Your Coding Fu With VSCode and Vim - Cheatsheet | Barbarian Meets Coding
Vim in VSCode - YouTube Jaime González García
Getting Started with Vim in Visual Studio Code - YouTube
10 VS Code Vim Tricks to Boost Your Productivity ⚡ - DEV Community
Melkey
Why I am LEAVING Neovim After 4 Years For VSCode - YouTube
Mastering VIM Motions in VSCode (Mouseless development) - YouTube
ThePrimeagen
Vim As Your Editor - Introduction - YouTube
Vim As Your Editor - Horizontal - YouTube
Vim As Your Editor - Vertical Movements - YouTube
hex mode
Enter hex mode: :%!xxd
Exit hex mode: :%!xxd -r
diff mode
vimdiff file1 file2
Ctrl+w Ctrl+w - change focus
]c - next difference
[c - previous difference
do - diff obtain
dp - diff put
zo - open folded text
zc - close folded text
:diffupdate, :diffu - re-scan the files for differences
:set [no]scrollbind - disable/enable scroll binding
Vim documentation: diff
chrisbra/vim-diff-enhanced
vimdiff - How do I use vim as a diff tool? - Vi and Vim Stack Exchange
paste
editor - Turning off auto indent when pasting text into vim - Stack Overflow
coderwall.com : establishing geek cred since 1305712800
enter paste mode: :set paste
exit paste mode: :set nopaste
You can toggle paste mode with key by adding this to your .vimrc
:
set pastetoggle=<F9>
VimScript
This is the bad part of Vim for introducing another language for plugin, and for breaking changes
aharris88/learn-vimscript: My solutions to the exercises in Learn Vimscript the Hard Way
《Learn vim scrpt the hard way》 - PegasusWang的读书笔记
Vim Distros
spf13-vim - The Ultimate Vim Distribution