Vim

Vim and vim-mode in other tools. Should probably be broken up into different pages.

Tips

Workflows

Working with the terminal

When Zsh is also configured to use Vim mode, what commands get interpreted by which Vim?

:term to open a terminal in a new window (will split the screen) Ctrl-d to close the window (will remove the split) Ctrl-W N for Normal mode (special "terminal-normal" mode, :h Terminal-mode) Ctrl-W : command mode (Ex command)

Working with buffers and windows

Key Concepts

word vs WORD

A word consists of a sequence of letters, digits and underscores, or a sequence of other non-blank characters, separated with white space (spaces, tabs, <EOL>). This can be changed with the 'iskeyword' option. An empty line is also considered to be a word. A WORD consists of a sequence of non-blank characters, separated with white space. An empty line is also considered to be a WORD.

Usage

operator [number] motion

operator - is what to do, such as d for delete
[number] - is an optional count to repeat the motion
motion - moves over the text to operate on, such as w, $

Motions

Repeating

Finding

Jumping

Inserting

Editing

Selection and Registers

Files

Commands

Window Management

Tips

For learning vim

Articles

Vim: Seven habits of effective text editing

Your problem with Vim is that you don't grok vi. ยท GitHub

vimrctips - best practices - reddit/vim

Copy, cut and paste | Vim Tips Wiki | Fandom

Vim Cheat Sheets

Links