Created
September 21, 2016 18:28
-
-
Save byelipk/6e74393e190e5be06c5aa048d752bbc0 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Leader | |
let mapleader = " " | |
set backspace=2 " Backspace deletes like most programs in insert mode | |
set nobackup | |
set nowritebackup | |
set noswapfile "http://robots.thoughtbot.com/post/18739402579/global-gitignore#comment-458413287 | |
set history=50 | |
set ruler " show the cursor position all the time | |
set showcmd " display incomplete commands | |
set incsearch " do incremental searching | |
set laststatus=2 " Always display the status line | |
set autowrite " Automatically :write before running commands | |
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
" Softtabs, 2 spaces | |
set tabstop=2 | |
set shiftwidth=2 | |
set shiftround | |
set expandtab | |
" Make it obvious where 80 characters is | |
set textwidth=80 | |
set colorcolumn=+1 | |
" Numbers | |
set number | |
set numberwidth=5 | |
" CtrlP | |
let g:ctrlp_user_command = [ '.git', 'cd %s && git ls-files -co --exclude-standard' ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment