Skip to content

tylerlum/vim_configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

vim_configuration

vim

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 ESC with jk or kj to 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 ^I for tabs to more easily check code consistency with white space

  • Make d, D, c, C, x, and X not 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 with CTRL+n and scroll up with CTRL+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!

About

Vim configuration that signficantly improves the speed and usability of text editing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published