]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Correct behaviour for C-t t and C-h in emacs/xterm/ratpoison
authorMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 26 Oct 2016 15:37:45 +0000 (16:37 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Wed, 26 Oct 2016 15:37:45 +0000 (16:37 +0100)
X/.Xresources
ratpoison/.ratpoisonrc

index 69be4b55e9b195e9a4410b92133d725f71873f24..eb6dce093e4f82a7aa2fb9e084f0a5b8d6df8484 100644 (file)
@@ -44,3 +44,12 @@ XTerm*termName: xterm-256color
 
 XTerm*metaSendsEscape: true
 Xterm*eightBitinput: true
+
+XTerm*allowSendEvents: true
+
+*VT100.Translations: #override \
+              <Key>BackSpace: string(0x7F)\n\
+              <Key>Delete:    string("\033[3~")\n\
+              <Key>Home:      string("\033[1~")\n\
+              <Key>End:       string("\033[4~")
+*ttyModes: erase ^?
\ No newline at end of file
index 513b8871852fb00931e4b709182d46961ced0a1e..f1b0b5cd10364fc4cc281a2e7fc31f1d4ae49f54 100644 (file)
@@ -2,11 +2,8 @@
 set bgcolor red
 set fwcolor red
 
-
 bind f exec firefox --remote "openurl(`$RATPOISON -c getsel`,new-tab)"
 
-bind t time
-
 bind l ratclick 1
 bind v ratclick 2