1 " -------------------------------------------------------
3 " EdTheDev's Minimal .vimrc
5 " Everything belongs in a Vundle plugin.
6 " -------------------------------------------------------
8 " When setting up on a new machine, remember to:
10 " git clone https://github.com/gmarik/Vundle.vim.git
11 " ~/.vim/bundle/Vundle.vim
12 " vim +BundleInstall +qall
14 " Automatically setup Vundle on first run
15 if !isdirectory(expand("~/.vim/bundle/Vundle.vim"))
16 call system("git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle")
19 " Let the leader key be ,
25 " iPad and Android keyboards have no ESC Key
31 set nocompatible " be iMproved, required
33 set omnifunc=syntaxcomplete#Complete
35 filetype off " required
37 set rtp+=~/.vim/bundle/Vundle.vim
44 " let Vundle manage Vundle
46 Plugin 'gmarik/vundle'
48 " Helper scripts for editing ReStructuredText
49 " Plugin 'edthedev/text-helper.vim'
51 " EdTheDev's Minion file organizer.
52 Plugin 'edthedev/minion'
53 " let g:minion_map_keys = 0
55 Plugin 'edthedev/rst-syntax.vim'
57 " EdTheDev's Vim configuration for Python PEP8
58 Plugin 'edthedev/vim-pep8'
59 let g:minion_todo_map_keys = 1
62 " let g:vimroom_ctermbackground = "black"
66 " Plugin 'mjbrownie/Trac.vim'
68 " let g:tracServerList = {}
69 " let g:tracServerList['sdg'] =
70 "" \'http://username:password@trac.nukulele.org/login/xmlrpc'
72 "Plugin 'fmoralesc/vim-pad'
73 " let g:pad_dir='~/Copy/notes'
75 " Pelican.vim Revived!
76 Plugin 'edthedev/pelican.vim'
77 let g:pelican_blog_source = '~/Copy/blog'
78 let g:pelican_blog_html = '~/blog_html'
79 let g:pelican_git_master = 'git@bitbucket.org:edthedev/blog.git'
80 let g:pelican_publish_server = 'uiucedward@hathor.dreamhost.com:~/edward.delaporte.us'
82 " Low contrast color scheme for Gvim - much easier on the eyes.
83 Plugin 'junegunn/seoul256.vim'
85 " Display tag (function/method) outline
86 Plugin 'majutsushi/tagbar'
87 nmap <leader>t :TagbarToggle<Cr>
89 " EdTheDev's Vim configuration for TODO list items.
90 Plugin 'edthedev/vim-todo'
91 let g:vim_todo_keys = 1
93 " Automatic closing of parenthesis
94 " Plugin 'Raimondi/delimitMate'
95 " - Caused syntax color problems for RST?
97 " Browsing files made easier.
98 Plugin 'scrooloose/nerdtree'
99 nmap <leader>r :NERDTreeToggle<CR>
101 " Async dispatch by Tim Pope
102 Plugin 'tpope/vim-dispatch'
104 " Bundle 'vim-scripts/confluencewiki.vim'
105 " - Caused syntax color problems for RST?
107 "Plugin 'jceb/vim-orgmode'
108 "let g:org_todo_keywords=['TODO', 'DONE', 'WAITING', 'CANCELED']
109 "let g:org_agenda_files=['~/Google Drive/index.org']
111 Plugin 'edthedev/wordlike.vim'
113 " Plugin 'xolox/vim-notes'
114 " Add @Tag search support
115 "Bundle 'fmoralesc/vim-pad'
116 " let g:pad_dir='~/Copy/notes'
118 " Distraction free writing.
119 Plugin 'junegunn/goyo.vim'
120 nnoremap <leader>w :Goyo<Cr>
121 " Limelight doesn't work with iterm
122 " Plugin 'junegunn/limelight.vim'
123 " nnoremap <leader>w :Goyo<Cr>:Limelight<Cr>
125 Plugin 'vim-scripts/pylint-mode'
126 let g:PyLintCWindow = 1
127 let g:PyLintSigns = 1
128 let g:PyLintOnWrite = 1
129 " let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631,E1101,E1120,R0201,R0901,R0903,R0904,R0913'
130 " let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631,E1101,E1120,R0201,R0901,R0903,R0904,R0913,E1002,E1103'
131 " let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0631,E1002,E1101,E1103,E1120,R0201,R0901,R0903,R0904,R0913'
132 let g:PyLintDissabledMessages = 'C0103,C0111,C0301,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0621,W0631,E0611,E1002,E1101,E1103,E1120,F0401,R0201,R0901,R0903,R0904,R0913'
134 Plugin 'edthedev/arduino.vim'
135 " Plugin 'edthedev/vim-arduino-ino'
136 let g:arduino_compile_command = 'ino build --board-model=atmega328'
137 " let g:arduino_compile_command = 'Dispatch ino build --board-model=atmega328'
138 let g:arduino_upload_command = 'ino upload --board-model=atmega328'
140 " Plugin 'tomswartz07/vim-todo'
142 Plugin 'edthedev/cmd.vim'
144 Plugin 'itchyny/thumbnail.vim'
147 Plugin 'farseer90718/vim-taskwarrior'
148 let g:task_rc_override = 'defaultwidth=999'
149 " Read up on it here: https://github.com/farseer90718/vim-taskwarrior
153 Plugin 'nicwest/QQ.vim'
155 Plugin 'scrooloose/syntastic'
157 Plugin 'mihaifm/bufstop'
158 nn <leader>b :Bufstop<CR> " get a visual on the buffers
159 map <leader>a :BufstopModeFast<CR> " a command for quick switching
161 " Sensible defaults for Markdown
162 Plugin 'plasticboy/vim-markdown'
163 set nofoldenable "Do not fold everything
166 filetype plugin indent on " required for Vundle Bundle
168 " Page down with space key
170 " Shift space is undetectable in many terminals...
173 " Don't show tabs for HTML files. Do show trailing spaces."
174 au FileType html set nolist
175 au FileType javascript set nolist
177 " Two spaces as tabs in .feature files.
178 au BufRead,BufNewFile *.feature set filetype=yaml
179 au FileType yaml set tabstop=2
180 au FileType yaml set shiftwidth=2
181 au FileType yaml set expandtab
183 " Two spaces for Markdown files.
184 au BufRead,BufNewFile *.md set filetype=markdown
185 au FileType markdown set tabstop=2
186 au FileType markdown set shiftwidth=2
187 " au FileType yaml set expandtab
189 set softtabstop=4 " makes the spaces feel like real tabs
190 " Sensible default for everything else.