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,C0322,C0323,C0324,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 " Plugin 'farseer90718/vim-taskwarrior'
150 " let g:task_rc_override = 'defaultwidth=0'
151 " let g:task_report_name = 'list'
152 " Read up on it here: https://github.com/farseer90718/vim-taskwarrior
155 " For REST APIs Press QQ in normal mode to open.
156 Plugin 'nicwest/QQ.vim'
158 Plugin 'scrooloose/syntastic'
160 Plugin 'mihaifm/bufstop'
161 nn <leader>b :Bufstop<CR> " get a visual on the buffers
162 map <leader>a :BufstopModeFast<CR> " a command for quick switching
164 " Sensible defaults for Markdown
165 Plugin 'plasticboy/vim-markdown'
166 set nofoldenable "Do not fold everything
168 " Ctrl P on steroids...
169 Plugin 'Shougo/unite.vim'
171 " Better status line.
172 Plugin 'bling/vim-airline'
174 Plugin 'vimwiki/vimwiki'
175 let g:vimwiki_list = [{'path': '~/Box Sync/wiki', 'path_html': '~/cites_wiki_html/'},{'path': '~/Dropbox/wiki', 'path_html': '~/vim_wiki_html/'}]
177 " Emacs style kill-paste ring
178 Plugin 'vim-scripts/YankRing.vim'
180 " :h yankring-tutorial
183 Plugin 'maksimr/vim-jsbeautify'
184 "Plugin 'einars/js-beautify'
185 Plugin 'Delapouite/vim-javascript-syntax'
186 "Plugin 'pangloss/vim-javascript'
189 Bundle 'othree/html5.vim'
190 "Bundle 'evidens/vim-twig'
191 "Bundle 'tokutake/twig-indent'
192 "Bundle 'groenewege/vim-less'
193 "Bundle 'hail2u/vim-css3-syntax'
196 filetype plugin indent on " required for Vundle Bundle
198 " Page down with space key
200 " Shift space is undetectable in many terminals...
203 " Don't show tabs for HTML files. Do show trailing spaces."
204 au FileType html set nolist
205 au FileType javascript set nolist
207 " Two spaces as tabs in .feature files.
208 au BufRead,BufNewFile *.feature set filetype=yaml
209 au FileType yaml set tabstop=2
210 au FileType yaml set shiftwidth=2
211 au FileType yaml set expandtab
213 " Two spaces for Markdown files.
214 au BufRead,BufNewFile *.md set filetype=markdown
215 au FileType markdown set tabstop=2
216 au FileType markdown set shiftwidth=2
217 " au FileType yaml set expandtab
221 set softtabstop=4 " makes the spaces feel like real tabs
222 " Sensible default for everything else.