David's .inputrc file: Difference between revisions

From CUC3
Jump to navigation Jump to search
import>Mp466
No edit summary
import>Jss43
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.

<pre>
set show-all-if-ambiguous on
set show-all-if-ambiguous on
set bell-style none
set bell-style none
set expand-tilde off
set expand-tilde off
set mark-directories on

set completion-query-items 100
set mark-directories on
"\C-x\C-r": re-read-init-file

# "\e-,": history-search-backward
set completion-query-items 100
# "\e-.": yank-last-arg

"\C-x\C-r": re-read-init-file
# "\e-u": kill-whole-line
# "\e-,": history-search-backward
# "\e-n": yank-nth-arg
# "\e-.": yank-last-arg
"\M-,": history-search-backward
# "\e-u": kill-whole-line
"\M-.": yank-last-arg
# "\e-n": yank-nth-arg
"\M-u": kill-whole-line
"\M-,": history-search-backward
"\M-n": yank-nth-arg</pre>
"\M-.": yank-last-arg
"\M-u": kill-whole-line
"\M-n": yank-nth-arg

Latest revision as of 13: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