Example of Copy-Delete-Paste Workflow
This repository contains a .vimrc configuration file for the vim setup that I like to use. This includes:
-
No tabs by default, but spaces, for consistency
-
Can
ESCwithjkorkjto require less hand movement -
Relative line number to jump between lines without mental math
-
Use same register as regular clipboard by default, so that you can easily copy/paste inside or outside of vim
-
Show
$at the end of each line and^Ifor tabs to more easily check code consistency with white space -
Make
d,D,c,C,x, andXnot overwrite the register by default, but can still save to register with,d,,D,,c,,C,,x, and,X. -
Find occurrences of variable by hoving over the variable and pressing
* -
Enter blank lines from command mode with , so you can create 70 blank lines with 70
-
Autocomplete with
CTRL+n, then scroll down withCTRL+nand scroll up withCTRL+p -
Delete and paste word in one click with
R
The basic structure comes from http://vim.wikia.com/wiki/Example_vimrc, which gave me a great starting point to customize my vim use.
Check out my blog posts for more information about my vim setup, with example gifs!
