Skip to content

Instantly share code, notes, and snippets.

@mostlyobvious
Created April 27, 2016 11:43
Show Gist options
  • Save mostlyobvious/eda1779a59b1f3241bf39b9ceabdbdab to your computer and use it in GitHub Desktop.
Save mostlyobvious/eda1779a59b1f3241bf39b9ceabdbdab to your computer and use it in GitHub Desktop.
call plug#begin()
function! DoRemote(arg)
UpdateRemotePlugins
endfunction
Plug 'Shougo/deoplete.nvim', { 'do': function('DoRemote') }
Plug 'kien/ctrlp.vim'
Plug 'rking/ag.vim'
Plug 'regedarek/ZoomWin'
Plug 'NLKNguyen/papercolor-theme'
Plug 'LnL7/vim-nix'
Plug 'mattn/gist-vim'
Plug 'mattn/webapi-vim'
Plug 'bling/vim-airline'
Plug 'tpope/vim-surround'
Plug 'vim-ruby/vim-ruby'
Plug 'godlygeek/tabular'
call plug#end()
syntax on
silent! colorscheme PaperColor
set background=dark
set number
set expandtab
set shiftwidth=2
set softtabstop=2
set shortmess+=I
let mapleader=','
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
let g:ctrlp_use_caching = 0
let g:gist_detect_filetype = 1
let g:gist_open_browser_after_post = 1
let g:airline_powerline_fonts = 1
let g:airline_left_sep = ''
let g:airline_right_sep = ''
let g:deoplete#enable_at_startup = 1
map <Leader><Leader> :ZoomWin<CR>
map <Leader>= <C-w>=
au BufWritePre * :%s/\s\+$//e
"AddTabularPattern! rbhash /^[^=]*\zs=>
"AddTabularPattern! rbshash /\s\?\w\+:[^:]/l0l0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment