Skip to content

Instantly share code, notes, and snippets.

@kevindayton
Created October 30, 2016 01:55
Show Gist options
  • Save kevindayton/6c3a31a491ea4714de43e05f2048c5db to your computer and use it in GitHub Desktop.
Save kevindayton/6c3a31a491ea4714de43e05f2048c5db to your computer and use it in GitHub Desktop.
syntax enable
set encoding=utf-8
set background=dark
colorscheme solarized
set number
set cursorline
set expandtab
set tabstop=2
set shiftwidth=2
set backspace=2
set statusline+=%F
set nocompatible " We're running Vim, not Vi!
set laststatus=2
set mouse=a
set guifont=Panic\ Sans:h13,Literation\ Mono\ Powerline
filetype on " Enable filetype detection
filetype indent on " Enable filetype-specific indenting
filetype plugin on " Enable filetype-specific plugins
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
map <C-n> :NERDTreeToggle<CR>
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='solarized'
let g:airline_powerline_fonts = 1
let g:bufferline_echo = 0
" map <D-s> :w<CR>
" map <D-w> :q<CR>
" map <D-c> :.!pbcopy<CR>
" map <D-v> :r !pbpaste<CR> "Paste clipboard content to current line
" set the runtime path to include Vundle and initialize
"set rtp+=/usr/local/lib/python2.7/site-packages/powerline/bindings/vim
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Plugin 'powerline/powerline'
Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'
Plugin 'bling/vim-airline'
Plugin 'altercation/vim-colors-solarized'
Plugin 'tpope/vim-rails'
Plugin 'jistr/vim-nerdtree-tabs'
" Plugin 'vim-solarized-powerline'
call vundle#end() " required
filetype plugin indent on " required
map <Leader>n <plug>NERDTreeTabsToggle<CR>
let g:nerdtree_tabs_meaningful_tab_names=1
" 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
set clipboard=unnamed
let g:Powerline_theme='short'
let g:Powerline_colorscheme='solarized256_dark'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment