Created
December 26, 2017 19:14
-
-
Save lstebner/9b65a3b695c4ae38af74c27e76766774 to your computer and use it in GitHub Desktop.
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
" add plugins here | |
Plugin 'vim-misc' | |
Plugin 'othree/html5.vim' | |
Plugin 'tomasr/molokai' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'elzr/vim-json' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'vim-ruby/vim-ruby' | |
Plugin 'cakebaker/scss-syntax.vim' | |
Bundle 'Keithbsmiley/rspec.vim' | |
Plugin 'digitaltoad/vim-pug' | |
Plugin 'godlygeek/tabular' | |
Plugin 'plasticboy/vim-markdown' | |
Plugin 'stephpy/vim-yaml' | |
Plugin 'tbastos/vim-lua' | |
Plugin 'groenewege/vim-less' | |
Plugin 'kchmck/vim-coffee-script' | |
Plugin 'mxw/vim-jsx' | |
Plugin 'ctrlpvim/ctrlp.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'rafi/awesome-vim-colorschemes' | |
Plugin 'elentok/plaintasks.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'mileszs/ack.vim' | |
Plugin 'ervandew/supertab' | |
Plugin 'xolox/vim-colorscheme-switcher' | |
Plugin 'Taverius/vim-colorscheme-manager' | |
Plugin 'nightsense/night-and-day' | |
Plugin 'vim-syntastic/syntastic' | |
Plugin 'scrooloose/nerdcommenter' | |
Plugin 'pbrisbin/vim-mkdir' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
filetype indent on | |
syntax enable | |
syntax on | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set softtabstop=2 | |
set autoindent | |
set laststatus=2 | |
set mouse=a | |
set backspace=2 | |
set nowrap | |
set t_Co=256 | |
let g:ctrlp_map = '<C-p>' | |
let g:ctrlp_max_files=0 | |
let g:ctrlp_max_depth=40 | |
let g:ctrlp_user_command = ['.git', 'cd %s && git ls-files -co --exclude-standard'] | |
let g:ctrlp_lazy_update=70 | |
map <C-n> :NERDTreeToggle<CR> | |
let g:NERDTreeDirArrowExpandable = '+' | |
let g:NERDTreeDirArrowCollapsible = '-' | |
let NERDTreeIgnore = ['\.jsxjs$'] | |
nmap ,n :NERDTreeFind<CR> | |
nmap ,m :NERDTreeToggle<CR> | |
cnoreabbrev Ack Ack! | |
nnoremap \ :Ack!<SPACE> | |
nnoremap K :Ack! "\b<C-R><C-W>\n"<CR>:cw<CR> | |
let g:ackhighlight = 1 | |
let g:ack_autofold_results = 1 | |
if executable('ag') | |
let g:ackprg = 'ag --vimgrep' | |
endif | |
au BufRead,BufNewFile *.css set filetype=scss.css | |
au BufRead,BufNewFile *.yml set filetype=yaml | |
let g:vim_markdown_folding_disabled = 1 | |
" alter background color of column 80, and columns 120+ | |
highlight ColorColumn ctermbg=235 guibg=#2c2d27 | |
let &colorcolumn="80,".join(range(120,999),",") | |
if has("clipboard") | |
set clipboard=unnamed | |
if has("unnamedplus") | |
set clipboard=unnamed,unnamedplus | |
endif | |
endif | |
" give neovim a decent blinking cursor | |
if has("neovim") | |
:set guicursor=n-v-c:block,i-ci-ve:ver25,r-cr:hor20,o:hor50 | |
\,a:blinkwait100-blinkoff400-blinkon250-Cursor/lCursor | |
\,sm:block-blinkwait175-blinkoff150-blinkon175 | |
endif | |
" colorscheme switcher based on the time of day | |
let g:nd_themes = [ | |
\ ['sunrise+0', 'seattle', 'dark' ], | |
\ ['sunrise+1/3', 'babymate256', 'dark' ], | |
\ ['sunset+0', 'antares', 'dark' ], | |
\ ['sunset+1/4', 'buddy', 'dark' ], | |
\ ] | |
let g:nd_latitude = '40' | |
let g:nd_timeshift = '8' | |
" decent colorscheme's: | |
" minimalist | |
" angr | |
" antares | |
" argonaut | |
" babymate256 | |
" rainbow_fine_blue | |
" seattle | |
" use one colorscheme, all the time | |
" colorscheme minimalist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment