summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-02-17 14:18:32 +0100
committermakefu <github@syntax-fehler.de>2014-02-17 14:18:32 +0100
commit5f7f2c5b6ed9a9fdc7cb14594daf7e8ea29efd3f (patch)
treeff0da0a32b62d18d3487dad8868e00fc9ef559d5
parentae3bbe38beeac5f18ce6d6725f091de4d49ba963 (diff)
add screenrc
-rw-r--r--content/posts/screenrc-like-tmux.rst19
-rw-r--r--content/posts/utf8-irssi-madness.rst (renamed from content/posts/utf8-irssi-madness.md)0
2 files changed, 19 insertions, 0 deletions
diff --git a/content/posts/screenrc-like-tmux.rst b/content/posts/screenrc-like-tmux.rst
new file mode 100644
index 0000000..9d5aabb
--- /dev/null
+++ b/content/posts/screenrc-like-tmux.rst
@@ -0,0 +1,19 @@
+Make screen behave more like tmux
+#################################
+:date: 2014-02-17 14:11
+:tags: screen, tmux
+
+I am using tmux on pretty much all hosts i control but all-too-often i need to
+work on retarded hosts which only have screen installed.
+
+I love to use ctrl-b because ctrl-a is the beginning of the line in default
+bash keybindings. Here are my changes in ``~/.screenrc``
+
+.. code-block:: bash
+
+ # use ctrl-b as escape
+ escape ^Bb
+ # change title with ctrl-b - , (tmux-style)
+ bind , title
+ # sweet status bar
+ caption always "%{= wk} %-w%{= KW} [% %t] %{-}%+w %= | @%H | %l | %Y-%m-%d %c "
diff --git a/content/posts/utf8-irssi-madness.md b/content/posts/utf8-irssi-madness.rst
index 5b6fb87..5b6fb87 100644
--- a/content/posts/utf8-irssi-madness.md
+++ b/content/posts/utf8-irssi-madness.rst