Difference between revisions of "David's .inputrc file"

From CUC3
Jump to navigation Jump to search
import>Jss43
import>Jss43
 
Line 16: Line 16:
 
"\M-u": kill-whole-line
 
"\M-u": kill-whole-line
 
"\M-n": yank-nth-arg</pre>
 
"\M-n": yank-nth-arg</pre>
 
ESC. isn't that different from !$.
 
I think ESC, is exactly the same as ^r.--[[User:jss43|james]] 14:51, 4 July 2008 (BST)
 

Latest revision as of 14:32, 6 July 2008

This will reduce your typing. It sets up ESC then . as the last item on the previous line and ESC then , and backward search in history matching the start of what you have already typed.

 set show-all-if-ambiguous on 
 set bell-style none 
 set expand-tilde off 
 set mark-directories on 
 set completion-query-items 100
 "\C-x\C-r": re-read-init-file 
 # "\e-,": history-search-backward 
 # "\e-.": yank-last-arg 
 # "\e-u": kill-whole-line 
 # "\e-n": yank-nth-arg 
 "\M-,": history-search-backward 
 "\M-.": yank-last-arg 
 "\M-u": kill-whole-line 
 "\M-n": yank-nth-arg