Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
swtools:sw-tools

gvim

Encoding

Vim kennt zwei verschiedene Arten für den Zeichensatz:

set encoding=utf8

setzt den Zeichensatz nur für das Vim-Fenster.

set fileencoding=latin1

setzt den Zeichensatz der Datei. Der zeichensatz wird dann bei :w verwendet.

dev todo

Grundbefehle:

  • tda - punkt anfügen
  • tda -g 3 - neuer Unterpunkt Punkt zu Hauptpunkt 3
  • tdd 3 - Punkt 3 löschen
  • tde 3 - Punkt 3 editieren (Text und Prio)
  • todo -l pfad/.todo - externe todo liste dazulinken
  • todo -v - Anzeige mit staus und Datum

Tips+Tricks

You can easily list all of your notes with either of the following two commands.

  • $ todo +
  • $ todo all

You can search note bodies, but remember that it only searches visible notes, so you might want to use it in conjunction with the previous tip.

  • $ todo all /foo

If you find that your todo list is overwhelming your screen, turn on summary mode. It displays only the first line of each note.

  • $ todo -s

Use the –timeout feature to only display notes if they haven't been viewed within a certain period of time. This is useful to avoid filling your terminal with Dev Todo output.
You can list all direct children of a certain note by the parents index.

  • $ todo 10

If you want to display all children of a note, prefix the index with a plus.

  • $ todo +10

todorc

/.todorc - Beispiel:

filter -children
colour comment=+black
force-colour
timeout 10
paranoid
global-database $HOME/.todo
backup 2
comment
sort priority,-created,-text
format date=%d/%m/%y, %H:%M
on create {

exec chmod 600 $TODODB

} on add verbose
on edit verbose
on title verbose
on done verbose
on link verbose
on remove verbose
priority default

swtools/sw-tools.txt · Last modified: 2024/04/15 00:43 by 127.0.0.1