set nocompatible " 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' " " " Add all your plugins here (note older versions of Vundle used Bundle " instead of Plugin) Plugin 'vim-scripts/indentpython.vim' " " " All of your Plugins must be added before the following line " call vundle#end() " required filetype plugin indent on " required " 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! syntax on colorscheme SweetCandy set mouse=r set cursorline set number set relativenumber set background=dark " python PEP 8 standards set textwidth=79 " lines longer than 79 columns will be broken set shiftwidth=4 " operation >> indents 4 columns; << unindents 4 columns set tabstop=4 " a hard TAB displays as 4 columns set expandtab " insert spaces when hitting TABS set softtabstop=4 " insert/delete 4 spaces when hitting a TAB/BACKSPACE set autoindent " align the new line indent with the previous line set fileformat=unix " markdown preview plugin Plugin 'JamshedVesuna/vim-markdown-preview' Plugin 'heavenshell/vim-pydocstring' set encoding=utf-8 let g:syntastic_check_on_open = 1 " Uncomment the following to have Vim jump to the last position when " reopening a file if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") \| exe "normal! g'\"" | endif endif autocmd filetype lisp,scheme,art setlocal equalprg=scmindent.rkt