Skip to content

Instantly share code, notes, and snippets.

@mkf
Last active August 29, 2015 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkf/d23a6d1c477d9c6f2561 to your computer and use it in GitHub Desktop.
Save mkf/d23a6d1c477d9c6f2561 to your computer and use it in GitHub Desktop.
" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
" you can find below. If you wish to change any of those settings, you should
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
" everytime an upgrade of the vim packages is performed. It is recommended to
" make changes after sourcing archlinux.vim since it alters the value of the
" 'compatible' option.
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages.
runtime! archlinux.vim
" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
" Or better yet, read /usr/share/vim/vim74/vimrc_example.vim or the vim manual
" and configure vim to your own liking!
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 'gmarik/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/'}
" Avoid a name conflict with L9
"Plugin 'user/L9', {'name': 'newL9'}
Plugin 'Valloric/YouCompleteMe'
Plugin 'mattn/webapi-vim'
Plugin 'mattn/gist-vim'
Plugin 'sudo.vim'
Plugin 'kien/ctrlp.vim'
Plugin 'cburroughs/pep8.py'
Plugin 'scrooloose/nerdtree'
Plugin 'Xuyuanp/nerdtree-git-plugin'
"Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'sjl/gundo.vim'
Plugin 'scrooloose/nerdcommenter'
Plugin 'jamessan/vim-gnupg'
Plugin 'LaTeX-Box-Team/LaTeX-Box'
Plugin 'lpenz/vimcommander'
Plugin 'vimcat'
Plugin 'fmoralesc/vim-pinpoint'
" 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
python from powerline.vim import setup as powerline_setup
python powerline_setup()
python del powerline_setup
" set rtp+=/usr/lib/python2.7/site-packages/powerline/bindings/vim
set laststatus=2
syntax on
"set cursorline
set showmatch
let python_highlight_all = 1
nnoremap <F5> :GundoToggle<CR>
let g:gundo_right = 1
let g:pep8_map='F6'
"let maplocalleader = "\\"
"let mapleader = "\\"
colorscheme elflord
map <F10> :set wrap!<LF> " toggle wrapping
set nowrap " disable line wrapping
set mouse=a " enable mouse support in console
set number " show line numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment