Skip to content

Vim notes

December 2, 2023
January 14, 2015

A screen-oriented text editor originally created for the Unix operating system

neovim-notes

vim

Vim documentation: help

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

Vim Cheat Sheet - English
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)

vim motions
Vim documentation: motion
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

ThePrimeagen

Vim As Your Editor - YouTube

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

Vim Distros

spf13-vim - The Ultimate Vim Distribution

Home | SpaceVim