summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2009-10-30 17:59:04 -0700
committerBryan Newbold <bnewbold@animus.robocracy.org>2009-10-30 17:59:04 -0700
commit7709022690abb51740fc10caf6cdb897783d310b (patch)
tree3539c1bf7bbd109143e116fb7b2386db63602cf2 /.vimrc
parent4360e42c1c5e9dc6edc85ccd26317776fc1625a5 (diff)
parentff11cadeffc57a92ae16e460188e579d03de1753 (diff)
downloadopenwrt-repro-7709022690abb51740fc10caf6cdb897783d310b.tar.gz
openwrt-repro-7709022690abb51740fc10caf6cdb897783d310b.zip
Merge branch 'master' of /srv/git/dotfiles into animus
Conflicts: .pinerc
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index a87b141..1d359cc 100644
--- a/.vimrc
+++ b/.vimrc
@@ -20,3 +20,7 @@ autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,
" for Project Fortress
au BufNewFile,BufRead *.fsi,*.fss set ft=fortress
+
+" for previewing reStructured text (.rst) in firefox
+:command Rst :!rst2html.py "%" > /tmp/rstprev.html && firefox file:///tmp/rstprev.html
+:nnoremap <C-p><C-r> :Rst<CR>