blabla
- Don't go in to deep
- Start with an empty vimrc
- Research!
- Cheatsheet, write it!
- Study!
- Choose a colorscheme
- Have fun!
set nocompatible
syntax on
filetype plugin indent on
set autoindent
set smartindent
- h, j, k, l
- $, ^, 0, g, G
- w, b
- v, V
- y, yy, p
- i, A, O, o
- dd, dt
- u,
- :vsp, :sp
- :b,
- :e file
- :e .
- :w
- :q, :qall, q!
- /, f, F
set shiftwidth=2
set softtabstop=2
set tabstop=2
set expandtab
set autochdir
set backspace=indent,eol,start
set hidden
set number
set mouse=a
runtime bundle/vim-pathogen/autoload/pathogen.vim
call pathogen#infect()
set backupdir=~/.vim/backup " backup directory
set directory=~/.vim/swap " swap directory
set dictionary+=~/.vim/dictionaries/dictionary " custom auto-complete dictionary
set undodir=~/.vim/undo " undo directory
set backup " make backup files
set autochdir " switch to current file directory automatically
set undofile " store all undos
- Folding
- Persistent undo
- Configurations, PHP
- Map your leader
- Filetype specific code conventions
- Project specific code conventions!
- Strip Whitespace
- Tab or Complete
- Writing your own conveniceny functions
- Ctags
- Directory structure
- Basic Vimscript
- Embrace the shell
- Styling
- Vimrc walkthrough
- Object navigation
- ...