": Format the paragraph using pfmt map vip:!pfmt }j imap vip:!pfmt }j
lxprocess | main script, called by other scripts; calling this with no arguments clears intermediate log and auxiliary files. |
lx2dvi | create a DVI file |
lx2pdf | create a PDF file |
lx2pdfslides | create a PDF file of LaTeX slides |
lx2ps | create a PostScript (PS) file |
lx2psa3 | create an A3 PostScript file (useful for posters) |
lx_process_log.sh | process error messages for Vim. |
lxviw | create and display DVI |
lxviwr | create and display DVI, resolve cross-references |
lxviws | create and display DVI, use for slides |
F1 | Save |
F2 | format paragraph with each new sentence on a new line (useful when editing long LaTeX documents). This calls Justin Zobel's 'pfmt' program (described above) |
F3 | toggle paste mode; this makes pasting text with the mouse really easy. |
F4 |
Compile the current file (C, LaTeX): For C code, if you use etags first, vim will jump directly to the file/line with the error. Same for LaTeX, but a bit more tricky. For a LaTeX file, this key processes the file and displays it in xdvi (use Shift-F4 to resolve cross-references) |
F5 | Comment/uncomment current line (using // comment character for C/PHP/LaTeX, and # by default |
F11 | toggle list mode (show non-printing characters) |
F12 | toggle highlight search mode |
\sh | Spellcheck: fast, no-fuss highlighting of possible errors. |
\sc | Spellcheck: clear error highlighting. |
\si | Spellcheck: interactive spellcheck |
\sa | Spellcheck: add current word to dictionary |
,~ | insert a linefull of the character '~' (good for breaking up sections in documents, code). |
,/ | as above, using character '/' |
,% | as above, using character '%' |
# Hourly, daily, weekly, and monthly snapshots 01 * * * * $HOME/bin/snapshot 61 minutes >> /var/log/crontab.log 10 01 * * * $HOME/bin/snapshot 1 days >> /var/log/crontab.log 20 02 * * sun $HOME/bin/snapshot 8 days >> /var/log/crontab.log 30 03 01 * * $HOME/bin/snapshot 32 days >> /var/log/crontab.log