Posted in Uncategorized

tmux – Keep Jobs Running

tmux – a “terminal multiplexer” – lets you control several windows to the command line from one terminal session. Additionally you can leave tmux and close the terminal – this is very handy, if you have long running programs, and have to leave the office.

Continue reading “tmux – Keep Jobs Running”

Advertisements
Posted in Uncategorized

vi: Keyboard Macros

While editing a file I have often the problem to do the same tasks repeatedly on many (or even all) lines, e.g.:

  • appending a semicolon to the end of every line,
  • commenting some lines in a shell script,
  • creating SQL statements from a list of tables,

This can be done with keyboard macros.
Continue reading “vi: Keyboard Macros”