terminal stuff
[distro-setup] / .inputrc
index 726bc78c75e09d7737f8951f0b4a14f49f89543d..76d3577a0daf28413c87ebc4c1d43f8142e41413 100644 (file)
--- a/.inputrc
+++ b/.inputrc
@@ -42,6 +42,9 @@ set mark-symlinked-directories on
 
 # key bindings:
 
+# note c-i/m/h are unusable, duplicating tab, enter, ctrl-del or something
+# C-x would be hard to rebind because emacs.
+
 "\C-q": exchange-point-and-mark
 "\C-w": kill-region
 "\C-e": yank-last-arg
@@ -61,24 +64,28 @@ set mark-symlinked-directories on
 
 Control-Space: set-mark
 
-
+# default is C-M-e which kinda sucks
 "\C-t": shell-expand-line
 
-#C-RETURN: undo
-
 # ctrl-delete
 "\e[3;5~": kill-word
 
-
+# default is C-x C-e
 "\C-g": edit-and-execute-command
 
+# default is C-y
 "\C-v": yank
 
+# default is C-M-y
 "\C-\M-v": yank-pop
 
+# by default, not bound
 "\C-p": dabbrev-expand # similar menu-complete, except for commands in history
+
+# default is C-q. this matches emacs.
 "\C-\M-q": quoted-insert
 
+# default is C-x C-u
 "\C-d": undo
 
 
@@ -91,11 +98,6 @@ Control-Space: set-mark
 
 ####### commented out stuff ###########
 
-# in bash, bind -p helped me figure out how to make some binds work
-# i don't see this documented anywhere. not sure where I got it from but it doesn't work now
-#"\C-p": paste-from-clipboard
-
-
 # vi mode settings and observatoins
 # double pound indicates it is only commented because I am not using vi mode
 ##set editing-mode vi
@@ -103,9 +105,6 @@ Control-Space: set-mark
 # completion from history. how cool
 ##Control-SPACE: dynamic-complete-history
 
-# if this is a command in history, execute it and bring up the next command in history.
-##"\C-o": operate-and-get-next
-
 # this is just kinda cool to show off:
 ##"\M-{": complete-into-braces