.inputrc: Add more settings and bindings
This commit is contained in:
		
							
								
								
									
										17
									
								
								.inputrc
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								.inputrc
									
									
									
									
									
								
							@@ -1 +1,18 @@
 | 
			
		||||
## COMPLETION
 | 
			
		||||
# Only need a single tab press to show results
 | 
			
		||||
set show-all-if-ambiguous on
 | 
			
		||||
set completion-ignore-case on
 | 
			
		||||
# You ever do that thing where you put your cursorright in the middle of a word,
 | 
			
		||||
# like you're at the "e" in "Makefile", and hit tab, and bash oh-so-helpfully
 | 
			
		||||
# inserts the latter half of the word right in the middle of it -- so you've
 | 
			
		||||
# got "Makefilefile" sitting in your terminal?
 | 
			
		||||
# Yeah fuck that
 | 
			
		||||
set skip-completed-text on
 | 
			
		||||
 | 
			
		||||
## KEYBINDINGS
 | 
			
		||||
# Completion
 | 
			
		||||
"\t": menu-complete
 | 
			
		||||
# History searching
 | 
			
		||||
"\e[A": history-search-backward
 | 
			
		||||
"\e[B": history-search-forward
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user