Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- syntax on
- set number
- set ruler
- set hlsearch
- set smartcase
- set autoindent
- set ignorecase
- "
- "
- "
- syntax enable
- set background=dark
- let g:solarized_termcolors=256
- "colorscheme solarized
- "
- "
- "
- "
- set nocompatible | filetype indent plugin on | syn on " We're running Vim, not Vi!
- filetype on " Enable filetype detection
- filetype indent on " Enable filetype-specific indenting
- filetype plugin on " Enable filetype-specific plugins
- "
- "
- "
- "
- "
- "
- "
- "
- "
- "
- "
- "execute pathogen#infect()
- filetype plugin indent on
- "
- "execute pathogen#infect('stuff/{}')
- "execute pathogen#infect('bundle/{}', '~/src/vim/bundle/{}')
- "
- "
- "
- "
- "
- "
- "
- "set nocompatible | filetype indent plugin on | syn on
- "set runtimepath+=/path/to/vam
- "call vam#ActivateAddons([PLUGIN_NAME])
- " put this line first in ~/.vimrc
- "set nocompatible | filetype indent plugin on | syn on
- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
- """"Vundle""""
- "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'
- " The following are examples of different formats supported.
- " Keep Plugin commands between vundle#begin/end.
- " plugin on GitHub repo
- Plugin 'tpope/vim-fugitive'
- " plugin from http://vim-scripts.org/vim/scripts.html
- " Plugin 'L9'
- " Git plugin not hosted on GitHub
- Plugin 'git://git.wincent.com/command-t.git'
- " git repos on your local machine (i.e. when working on your own plugin)
- Plugin 'file:///home/gmarik/path/to/plugin'
- " The sparkup vim script is in a subdirectory of this repo called vim.
- " Pass the path to set the runtimepath properly.
- Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
- " Install L9 and avoid a Naming conflict if you've already installed a
- " different version somewhere else.
- " Plugin 'ascenator/L9', {'name': 'newL9'}
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- filetype plugin indent 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
- Bundle 'vim-ruby/vim-ruby'
- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
- """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
- """"""""""""""""""""""""""""""""""""""""""""""""""""""""
- "set nocompatible " be iMproved, required
- "filetype off " required
- set exrc
- set rtp+=~/.vim/bundle/Vundle.vim
- call vundle#begin()
- " ==== plugin manager
- Plugin 'VundleVim/Vundle.vim'
- " ==== helpers
- Plugin 'vim-scripts/L9'
- " ==== File tree
- Plugin 'scrooloose/nerdtree'
- " ==== Completion
- Plugin 'Valloric/YouCompleteMe'
- " ==== Git
- "Plugin 'airblade/vim-gitgutter'
- "Plugin 'tpope/vim-fugitive'
- " ==== syntax helpers
- "Plugin 'scrooloose/syntastic'
- "Plugin 'tpope/vim-surround'
- "Plugin 'cakebaker/scss-syntax.vim'
- "Plugin 'othree/yajs.vim'
- "Plugin 'mitsuhiko/vim-jinja'
- "Plugin 'octol/vim-cpp-enhanced-highlight'
- "Plugin 'ap/vim-css-color'
- "Plugin 'Vimjas/vim-python-pep8-indent'
- " ==== moving / searching
- "Plugin 'easymotion/vim-easymotion'
- "Plugin 'kien/ctrlp.vim'
- " ==== snippets
- "Plugin 'SirVer/ultisnips'
- " Status bar on bottom
- "Plugin 'bling/vim-airline'
- " ==== PLUGIN THEMES
- "Plugin 'morhetz/gruvbox'
- call vundle#end()
- "filetype plugin indent on
- " ==== Colors and other basic settings
- "colorscheme gruvbox
- set guifont=Monospace\ 10
- set fillchars+=vert:\$
- syntax enable
- set background=dark
- set ruler
- set hidden
- set number
- set laststatus=2
- set smartindent
- set st=4 sw=4 et
- set shiftwidth=4
- set tabstop=4
- let &colorcolumn="90"
- ":set guioptions-=m "remove menu bar
- ":set guioptions-=T "remove toolbar
- ":set guioptions-=r "remove right-hand scroll bar
- ":set guioptions-=L "remove left-hand scroll bar
- ":set lines=999 columns=999
- " ==== NERDTREE
- let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store']
- let NERDTreeShowHidden=1
- let g:NERDTreeWinPos="left"
- let g:NERDTreeDirArrows=0
- map <C-t> :NERDTreeToggle<CR>
- " ==== Syntastic
- "let g:syntastic_always_populate_loc_list = 1
- "let g:syntastic_auto_loc_list = 1
- "let g:syntastic_check_on_open = 1
- "let g:syntastic_check_on_wq = 0
- "set statusline+=%#warningmsg#
- "set statusline+=%{SyntasticStatuslineFlag()}
- "set statusline+=%*
- "let g:syntastic_javascript_checkers = ['eslint']
- "let g:syntastic_javascript_mri_args = "--config=$HOME/.jshintrc"
- "let g:syntastic_python_checkers = [ 'pylint', 'flake8', 'pep8', 'pyflakes', 'python']
- "let g:syntastic_yaml_checkers = ['jsyaml']
- "let g:syntastic_html_tidy_exec = 'tidy5'
- " === flake8
- let g:flake8_show_in_file=1
- " ==== snippets
- let g:UltiSnipsExpandTrigger="<A-ENTER>"
- let g:UltiSnipsJumpForwardTrigger="<A-ENTER>"
- let g:UltiSnipsJumpBackwardTrigger="<A-BACKSPACE>"
- " If you want :UltiSnipsEdit to split your window.
- let g:UltiSnipsEditSplit="vertical"
- " ==== Easymotion
- let g:EasyMotion_do_mapping = 0
- let g:EasyMotion_smartcase = 1
- nmap f <Plug>(easymotion-s)
- " ==== moving around
- nmap <silent> <A-Up> :wincmd k<CR>
- nmap <silent> <A-Down> :wincmd j<CR>
- nmap <silent> <A-Left> :wincmd h<CR>
- nmap <silent> <A-Right> :wincmd l<CR>
- " ==== disable mouse
- set mouse=c
- " ==== disable swap file warning
- set shortmess+=A
- " ==== custom commands
- command JsonPretty execute ":%!python -m json.tool"
- set secure
- set bg=dark
- "let g:airline_theme='<theme>'
- let g:airline_theme='<solarized>'
- let g:airline#extensions#tabline#enabled = 1
- Plugin 'vim-airline/vim-airline'
- Plugin 'vim-airline/vim-airline-themes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement