Created
February 4, 2015 01:13
-
-
Save captbaritone/87a439ca2651f167e6a7 to your computer and use it in GitHub Desktop.
Survey of 73 .vimrc files
This file contains 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
" I grabbed 73 .vimrc files from GitHub. After some manual massaging, these were the most common lines: | |
" Code used: https://github.com/captbaritone/vimrc-survey | |
" Number of occurances: Command | |
46: set nocompatible | |
43: syntax on | |
40: set expandtab | |
34: set backspace=indent,eol,start | |
32: filetype plugin indent on | |
30: set laststatus=2 | |
30: set hlsearch | |
27: set number | |
26: set incsearch | |
26: set background=dark | |
25: set ignorecase | |
24: set shiftwidth=2 | |
24: set autoindent | |
24: filetype off | |
23: set hidden | |
23: set encoding=utf-8 | |
22: set tabstop=2 | |
22: set smartcase | |
22: set showmatch | |
21: set wildmenu | |
21: set nowrap | |
20: set ruler | |
20: set nobackup | |
20: let mapleader = "," | |
19: set t_Co=256 | |
17: set mouse=a | |
17: set list | |
16: set splitright | |
16: set showcmd | |
15: set smarttab | |
14: syntax enable | |
14: set ttyfast | |
14: set title | |
14: set splitbelow | |
14: set cursorline | |
14: colorscheme solarized | |
13: set undofile | |
13: set nowritebackup | |
13: filetype on | |
12: set softtabstop=4 | |
12: set softtabstop=2 | |
12: set shiftwidth=4 | |
12: set noswapfile | |
12: filetype indent on | |
11: set wildmode=list:longest | |
11: set tabstop=4 | |
11: set smartindent | |
11: set gdefault | |
11: set autoread | |
11: redraw! | |
11: nnoremap ; : | |
11: filetype plugin on | |
11: endwhile | |
11: autocmd BufReadPost * | |
11: Plugin 'tpope/vim-fugitive' | |
10: source ~/.vimrc.local | |
10: set rtp+=~/.vim/bundle/vundle/ | |
10: set relativenumber | |
10: Plugin 'bling/vim-airline' | |
9: vnoremap / /\v | |
9: set visualbell | |
9: set textwidth=80 | |
9: set showmode | |
9: set noerrorbells | |
9: set lazyredraw | |
9: nnoremap <C-k> <C-w>k | |
9: nnoremap <C-j> <C-w>j | |
9: nnoremap <C-h> <C-w>h | |
9: nnoremap / /\v | |
9: Plugin 'kien/ctrlp.vim' | |
8: set wildmode=list:longest,list:full | |
8: set history=1000 | |
8: runtime macros/matchit.vim | |
8: nnoremap k gk | |
8: nnoremap j gj | |
8: nnoremap <C-l> <C-w>l | |
8: Plugin 'othree/html5.vim' | |
7: vnoremap > >gv | |
7: vnoremap < <gv | |
7: unlet s:bundle | |
7: set wrap | |
7: set shiftround | |
7: set scrolloff=3 | |
7: set foldenable | |
7: set clipboard+=unnamed | |
7: set backup | |
7: set background=light | |
7: nnoremap Y y$ | |
7: let g:ctrlp_use_caching = 0 | |
7: colorscheme molokai | |
7: Plugin 'tpope/vim-surround' | |
7: Plugin 'godlygeek/tabular' | |
6: set statusline= | |
6: set shell=/bin/bash | |
6: set report=0 | |
6: set nolist | |
6: set nojoinspaces | |
6: set modelines=0 | |
6: set guioptions-=T | |
6: set grepprg=ag\ --nogroup\ --nocolor | |
6: set colorcolumn=80 | |
6: set cindent | |
6: map k gk | |
6: map j gj | |
6: let mapleader="," | |
6: let l = line(".") | |
6: let g:syntastic_check_on_open=1 | |
6: let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' | |
6: let c = col(".") | |
6: let _s=@/ | |
6: let @/=_s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment