Skip to content

Instantly share code, notes, and snippets.

@heshed
Last active August 29, 2015 14:21
Show Gist options
  • Save heshed/490b0c3b0bc90a689f2e to your computer and use it in GitHub Desktop.
Save heshed/490b0c3b0bc90a689f2e to your computer and use it in GitHub Desktop.
.vimrc for vim-plug
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
set ruler
set tabstop=4
set shiftwidth=4
syntax on
set nobackup
set bs=2
set history=50
set visualbell t_vb = ""
set showmatch
set hlsearch
set et
set ai
"colorscheme elflord
set shellcmdflag=-ic
if $LANG[0] == 'k' && $LANG[1] == 'o'
set fileencoding=korea
endif
set nocompatible " be iMproved, required
filetype off " required
set wildmenu
set wildmode=longest,list
cabbrev E Explore
call plug#begin('~/.vim/plugged')
Plug 'gmarik/Vundle.vim'
"Plug 'tpope/vim-fugitive'
Plug 'wincent/command-t'
Plug 'Shougo/neocomplcache.vim'
"Plug 'tomasr/molokai'
"Plug 'tpope/vim-markdown'
"Plug 'Lokaltog/vim-easymotion'
"Plug 'majutsushi/tagbar'
Plug 'bling/vim-airline'
Plug 'kien/ctrlp.vim'
"Plug 'scrooloose/syntastic'
Plug 'junegunn/vim-peekaboo'
Plug 'L9'
Plug 'rking/ag.vim'
Plug 'tpope/vim-fugitive'
Plug 'fatih/vim-go'
" Plug 'rstacruz/sparkup', {'rtp': 'vim/'}
" Plug 'user/L9', {'name': 'newL9'}
call plug#end()
let g:neocomplcache_enable_at_startup = 1
"let g:molokai_original = 1
let g:EasyMotion_smartcase = 1
nmap <F8> :TagbarToggle<CR>
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_working_path_mode = 'ra'
let g:airline#extensions#tabline#enabled = 1
" ack.vim
" let g:ackprg = 'ag --nogroup --nocolor --column'
if executable('ag')
let g:agprg = 'ag --vimgrep'
"let g:agprg="ag --column"
endif
" Gif config
" nmap s <Plug>(easymotion-s2)
" nmap t <Plug>(easymotion-t2)
" 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
augroup reload_vimrc " {
autocmd!
autocmd BufWritePost $MYVIMRC source $MYVIMRC
augroup END " }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment