Quantcast
Channel: How can I make bash tab completion behave like vim tab completion and cycle through matching matches? - Stack Overflow
Browsing all 6 articles
Browse latest View live

Answer by joeytwiddle for How can I make bash tab completion behave like vim...

For bash >= 4 you might like these settings: # If there are multiple matches for completion, Tab should cycle through them bind 'TAB':menu-complete # Display a list of the matching files bind "set...

View Article



Answer by jez for How can I make bash tab completion behave like vim tab...

In my experience, the solution provided in sth's answer has never completely worked for me. TL;DR: Add set -o vi to your ~/.bashrc. When using menu-complete in conjunction with vi keybindings, I have...

View Article

Answer by Johnny Baloney for How can I make bash tab completion behave like...

On top of # cycle forward Control-k: menu-complete # cycle backward Control-j: menu-complete-backward you may also consider adding # display one column with matches set completion-display-width 1 This...

View Article

Answer by pixelearth for How can I make bash tab completion behave like vim...

Thanks to @sth I found what works best for me: To keep normal bash tab completion, and then use ctl-f to cycle through when needed using menu-complete put this in your .inputrc file: "\C-f":...

View Article

Answer by sth for How can I make bash tab completion behave like vim tab...

By default TAB is bound to the complete readline command. Your desired behavior would be menu-complete instead. You can change your readlines settings by editing ~/.inputrc. To rebind TAB, add this...

View Article


How can I make bash tab completion behave like vim tab completion and cycle...

I've been meaning to find a solution for this for YEARS. I am sooo much more productive in vim when manipulating files than bash for this reason. If I have file_12390983421 file_12391983421...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images