Sort Lines
need-doc
lua
1 then
table.sort(lines)
doc.replace_selected_lines(lines)
end
]]>
Sort | Uniq
need-doc
exe
lines
insert
Sort | Uniq
need-doc
lua
Diff to Disk
need-file
exe
doc-copy
$TEMP_DIR/m.diff
medit -r $TEMP_DIR/m.diff
]]>
Bison
yacc
need-file,need-save
exe
bison
pane
LaTeX
*.tex
need-save
<shift><ctrl>L
exe
pane
Make PDF
*.tex
need-save
exe
pane
LaTeX
*.tex
<shift><ctrl>B
exe
pane
PdfLaTeX
*.tex
need-save
exe
pane
View DVI
*.tex
<shift><ctrl>V
exe
async
/dev/null); then
kdvi --unique "$doc_base.dvi" && \
dcop `dcopfind -a 'kviewshell-*'` kdvi-mainwindow#1 hide && \
dcop `dcopfind -a 'kviewshell-*'` kdvi-mainwindow#1 show
else
xdg-open "$doc_base.dvi"
fi
]]>
View PDF
*.tex
exe
async
/dev/null); then
kpdf=`dcopfind -a 'kpdf-*'`
if [ -z "$kpdf" ]; then
kpdf "$doc_base.pdf"
kpdf=`dcopfind -a 'kpdf-*'`
else
dcop "$kpdf" kpdf openDocument "$doc_base.pdf"
fi
dcop "$kpdf" kpdf-mainwindow#1 hide
dcop "$kpdf" kpdf-mainwindow#1 show
else
xdg-open "$doc_base.pdf"
fi
]]>
Math
*.tex
<alt>M
lua
Insert Date and Time
need-doc
python