Skip to content

Instantly share code, notes, and snippets.

@kisel
Created May 1, 2014 10:46
Show Gist options
  • Save kisel/11449026 to your computer and use it in GitHub Desktop.
Save kisel/11449026 to your computer and use it in GitHub Desktop.
vimrc with vundle
#!/bin/sh
# curl -L https://gist.githubusercontent.com/kisel/11449026/raw/install_vim_vundle.sh | sh
sudo apt-get install -y git
mkdir -p $HOME/.vim
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
curl -L --output ~/.vimrc https://gist.githubusercontent.com/kisel/11449026/raw/vimrc
cat <<END > ~/.tmux.conf
set -g default-terminal "screen-256color"
END
echo "run :BundleInstall command in vim"
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" vundle required!
Bundle 'gmarik/vundle'
" My Bundles here:
" fugitive - git vrapper
Bundle 'tpope/vim-fugitive'
" easymotion - \w
Bundle 'Lokaltog/vim-easymotion'
let g:EasyMotion_leader_key = '<Leader>'
" parser for HTML
"Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
"Bundle 'tpope/vim-rails.git'
"" L9 is a func library, required for FuzzyFinder
"Bundle 'L9'
"" Omni-completion list for tags, files, lines, etc..
"Bundle 'FuzzyFinder'
" ctags-based pane :TlistToggle
"Bundle 'taglist.vim'
Bundle 'Tagbar'
" :Ve replacement
"Bundle 'The-NERD-tree'
Bundle 'clang-complete'
Bundle 'vim-coffee-script'
Bundle 'ctrlp.vim'
" Themes. :colo
Bundle 'molokai'
Bundle 'Solarized'
" Allows changing btw cpp and h files :A
Bundle 'a.vim'
filetype plugin indent on " required!
"
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
"
let g:solarized_termcolors=256
set background=dark
colorscheme solarized
nnoremap <silent> <F8> :TagbarToggle<CR>
let Tlist_Use_Right_Window = 1
set number
set shiftwidth=4
set expandtab
set autoindent
set incsearch
syntax on
filetype on
filetype indent on
filetype plugin on
set background=dark
"set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment