This is a read only archive of pad.okfn.org. See the shutdown announcement for details.

vim-plugins-for-documentatians
1. autocomplete the works from buffer
http://valloric.github.io/YouCompleteMe/

2. Aim to provide better support of reStructuredText
http://www.vim.org/scripts/script.php?script_id=4112

3. snippet solution
https://github.com/sirver/UltiSnips

Useful snippets for DocBook XML, Mallard and RelaxNG: https://github.com/jhradilek/vim-snippets

4. After The Deadline plugin (grammar and spell check, writing style suggestions)
https://github.com/lpenz/atdtool

5. focus on paragraph
https://github.com/junegunn/limelight.vim

6. focus on document
https://github.com/junegunn/goyo.vim

7. find&open files ... and find&open buffers
https://github.com/kien/ctrlp.vim

8. asciidoc
http://www.vim.org/scripts/script.php?script_id=1832

9. check for valid syntax (xml,rst,asciidoc,...)
https://github.com/scrooloose/syntastic

http://vim-adventures.com/ ;-)


VIMRC snippets
----------------------

" Press Space to turn off highlighting and clear any message already displayed.
:nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>

" Underline the current line with = in normal mode
nnoremap <F9> yyp<c-v>$r=
" Underline the current line with = in insert mode
inoremap <F9> <Esc>yyp<c-v>$r=A

" Yank from the cursor to the end of the line, to be consistent with C and D.
nnoremap Y y$

" Disable beep and flash with gvimrc
set noeb vb t_vb=

" Use <leader>l to toggle display of whitespace
nmap <leader>l :set list!<CR>

"Auto-save when focus is lost - very cool
autocmd BufLeave,FocusLost * silent! wall


Why VIM?
--------------

always the goal is to reduce the cognitive load

 - speed of writing (editing at the speed of thought)
 - speed of editing (power use of motions)
 - keeping hands on the keyboard (no mouse)
 
 
external advocacy links:
http://www.terminally-incoherent.com/blog/2012/03/21/why-vim/
http://www.drbunsen.org/writing-in-vim/
http://www.tompurl.com/2011/01/31/vim-as-a-writing-tool/
http://naperwrimo.org/wiki/index.php?title=Vim_for_Writers