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 " EdTheDev's Minion file organizer.
49 " Plugin 'edthedev/minion'
50 " let g:minion_map_keys = 0
53 " Syntax helpers for ReStructuredText
54 " Plugin 'edthedev/rst-syntax.vim'
56 " EdTheDev's Vim configuration for Python PEP8
57 " Plugin 'edthedev/vim-pep8'
58 " let g:minion_todo_map_keys = 1
61 " let g:vimroom_ctermbackground = "black"
63 "Plugin 'fmoralesc/vim-pad'
64 " let g:pad_dir='~/Copy/notes'
66 " Low contrast color scheme for Gvim - much easier on the eyes.
67 " Plugin 'junegunn/seoul256.vim'
69 " Display tag (function/method) outline
70 " Plugin 'majutsushi/tagbar'
71 " nmap <leader>t :TagbarToggle<Cr>
73 " EdTheDev's Vim configuration for TODO list items.
74 " Plugin 'edthedev/vim-todo'
75 " let g:vim_todo_keys = 1
77 " Browsing files made easier.
78 " Plugin 'scrooloose/nerdtree'
79 " nmap <leader>r :NERDTreeToggle<CR>
81 " Async dispatch by Tim Pope
82 " Plugin 'tpope/vim-dispatch'
84 " Markdown highlighting
85 Plugin 'tpope/vim-markdown'
86 " let g:markdown_github_languages = ['sh', 'python']
88 "Plugin 'jceb/vim-orgmode'
89 "let g:org_todo_keywords=['TODO', 'DONE', 'WAITING', 'CANCELED']
90 "let g:org_agenda_files=['~/index.org']
92 " More obvious default behaviors
93 " Plugin 'edthedev/wordlike.vim'
95 " Plugin 'xolox/vim-notes'
96 " Add @Tag search support
97 "Bundle 'fmoralesc/vim-pad'
98 " let g:pad_dir='~/Copy/notes'
100 " Distraction free writing.
101 Plugin 'junegunn/goyo.vim'
102 nnoremap <leader>w :Goyo<Cr>
104 " Plugin 'vim-scripts/pylint-mode'
105 " let g:PyLintCWindow = 1
106 " let g:PyLintSigns = 1
107 " let g:PyLintOnWrite = 1
108 " let g:PyLintDissabledMessages = 'C0103,C0111,C0301,C0322,C0323,C0324,W0141,W0142,W0212,W0221,W0223,W0232,W0401,W0613,W0621,W0631,E0102,E0611,E1002,E1101,E1103,E1120,F0401,R0201,R0901,R0903,R0904,R0913'
110 " Help building Arduino source files.
111 " Plugin 'edthedev/arduino.vim'
112 " let g:arduino_compile_command = 'ino build --board-model=atmega328'
113 " let g:arduino_upload_command = 'ino upload --board-model=atmega328'
115 " Plugin 'tomswartz07/vim-todo'
117 " Run commands from the current line and get their output.
118 " Plugin 'edthedev/cmd.vim'
120 " Plugin 'itchyny/thumbnail.vim'
123 " Plugin 'farseer90718/vim-taskwarrior'
124 " let g:task_rc_override = 'defaultwidth=999'
125 " Plugin 'farseer90718/vim-taskwarrior'
126 " let g:task_rc_override = 'defaultwidth=0'
127 " let g:task_report_name = 'list'
128 " Read up on it here: https://github.com/farseer90718/vim-taskwarrior
131 " For REST APIs Press QQ in normal mode to open.
132 " Plugin 'nicwest/QQ.vim'
134 " Plugin 'mihaifm/bufstop'
135 " nn <leader>b :Bufstop<CR> " get a visual on the buffers
136 " map <leader>a :BufstopModeFast<CR> " a command for quick switching
138 " Sensible defaults for Markdown
139 " Plugin 'plasticboy/vim-markdown'
140 " set nofoldenable "Do not fold everything
142 " Better status line.
143 Plugin 'bling/vim-airline'
145 " Plugin 'Windows-PowerShell-Syntax-Plugin'
147 " Quick complete of stuff...
148 " Plugin 'SirVer/ultisnips'
150 " let g:UltiSnipsExpandTrigger="<tab>"
151 " let g:UltiSnipsJumpForwardTrigger="<c-b>"
152 " let g:UltiSnipsJumpBackwardTrigger="<c-z>"
154 " Snippets for ultisnips
155 " Plugin 'edthedev/vim-snippets'
157 " Default to use strapdown and markdown for blog posts.
158 " UltiSnipsAddFiletypes markdown.strapdown
162 filetype plugin indent on " required for Vundle Bundle
164 " Page down with space key
166 " Shift space is undetectable in many terminals...
170 " If not something else, then assume Markdown
171 set filetype=markdown
174 " Don't show tabs for HTML files. Do show trailing spaces."
175 au FileType html set nolist
176 au FileType javascript set nolist
178 set softtabstop=4 " makes the spaces feel like real tabs
180 " Sensible default for everything else.