add screenrc
This commit is contained in:
parent
ae3bbe38be
commit
5f7f2c5b6e
content/posts
19
content/posts/screenrc-like-tmux.rst
Normal file
19
content/posts/screenrc-like-tmux.rst
Normal file
|
@ -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 "
|
Loading…
Reference in a new issue