]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - screenrc.in
shell/env: Add ~/.shell/bin to PATH.
[config/dotfiles.git] / screenrc.in
index 43f576d5b0965dc47dee2145d232512696b1928f..02212fb20ef3472d9b38b27b13bd5ac3daa562c7 100644 (file)
@@ -17,6 +17,9 @@ defscrollback 10000
 # Ignore case when searching.
 ignorecase on
 
+# I prefer zsh as my shell.
+shell zsh
+
 
 # TERMINAL
 
@@ -36,8 +39,8 @@ sorendition = Bw
 
 # Make sure the temporary variable we use is empty. Thanks to
 # http://gist.github.com/133000 for the idea to use setenv and to TauPan in
-# #screen on Freenode (2010-03-10 16:11) for reminding me of it and searching
-# it again.
+# #screen on Freenode (2010-03-10 16:11 CET) for reminding me of it and
+# searching it again.
 unsetenv s
 
 # Always display the caption.
@@ -53,11 +56,11 @@ setenv s "$s%t"      # - window name
 caption always "$s"
 unsetenv s
 # Always display the status line with open windows and the hostname.
-setenv s "$s%w" # - number and names of windows
-setenv s "$s%=" # - right align the following text
-setenv s "$s%l" # - load average
-setenv s "$s "  # - space
-setenv s "$s%H" # - hostname
+setenv s "$s%w"  # - number and names of windows
+setenv s "$s%="  # - right align the following text
+setenv s "$s%l"  # - load average
+setenv s "$s "   # - space
+setenv s "$s%H"  # - hostname
 hardstatus alwayslastline "$s"
 unsetenv s
 
@@ -68,7 +71,9 @@ unsetenv s
 # probably don't want to copy this.
 bind K  # kill
 bind k  # kill
+bind ^K # kill
 bind \\ # quit
+bind ^\ # quit
 bind ^Z # suspend
 bind z  # suspend
 bind ^S # xoff
@@ -78,6 +83,20 @@ bind q  # xon
 bind ^G # visual bell
 bind D  # power detach
 
+# Bindings for fast switching to windows 10 to 19. Thanks to skizzhg in
+# #screen on Freenode (2010-10-31 21:49 CET) for the suggestion.
+bind -c window 0 select 10
+bind -c window 1 select 11
+bind -c window 2 select 12
+bind -c window 3 select 13
+bind -c window 4 select 14
+bind -c window 5 select 15
+bind -c window 6 select 16
+bind -c window 7 select 17
+bind -c window 8 select 18
+bind -c window 9 select 19
+bind ; command -c window
+
 # Run urlview on current screen content. Very useful to follow links. Make
 # sure hardcopy_append is off before using this command.
 bind ^B eval "hardcopy $HOME/.screen-urlview" "screen urlview $HOME/.screen-urlview"