Changing the TAB key

Code:
     _x64: 1
   _admin: 1
_elevated: 1

TCC  26.00.29 x64   Windows 10 [Version 10.0.18362.719]

When I type
Code:
dir smb
and press the tab key, it returns
Code:
dir smbiosd.exe

What I want to do is type
Code:
dir smb
and press the tab key, and have it return only the filename
Code:
dir smbiosd.

If I press the tab key again, I want it to display all matching files, in this case
Code:
smbiosd.exe   smbiosd.txt

Now, if I type
Code:
e
to begin the extension, and then press tab again, it will complete the filename with extension
Code:
dir smbiosd.exe

Is this possible, without having to create a plugin?

Joe
 
May 20, 2008
11,378
98
Syracuse, NY, USA
Is that so you can get at smbiosd.exe with smb/tab/e/tab (instead of smb/tab)

... and smbiosd.txt with smb/tab/t/tab (instead of smb/tab/tab)?

I don't see the advantage until you have quite a few files with the same name and different extensions.

Anyway, that would be quite a departure from what we have now.
 
May 20, 2008
11,378
98
Syracuse, NY, USA
F7 does nothing here (probably one of my tweaks). Do you know its name in _ININAME\[Keys] or where to find it in OPTION\Keyboard?
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
It's possible, but you'll have to at least write a tab completion script.

I personally dislike that kind of completion (and also the bash behavior of only completing a unique part of the filename and then beeping at you), so it's highly unlikely to become the standard TCC completion.
 
Aug 23, 2010
636
9
the bash behavior of only completing a unique part of the filename and then beeping at you
It is not "only" beeping at you, it indicates that there are multiple choices pending. You can tab again to see them, or just continue entering the path if you know it, which is less distracting.
 
Similar threads
Thread starter Title Forum Replies Date
K copy changing destination current directory Support 1
vefatica Why does my forum theme keep changing? Support 1
CWBillow Setting and changing Vars in batch files Support 26
J Find Files - changing folder Support 1
S Changing Forum LOGIN Support 4
M Changing font size without mouse wheels... Support 1
Ville Changing TCC font? Support 7
Ville Changing folders location from TCC prompt? Support 7
D TCC tab detaching & restarting Support 3
fpefpe bash.exe as a tab Support 0
C How to? Mouse support in WSL when in Take Command Tab Support 2
P How to enable \ with tab completion Support 4
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Joe Caverly Tab from clipboard Support 6
Joe Caverly Clone a TCC Tab Support 9
R New Cloud Storage Tab in TCC options causing problems Support 0
CWBillow PowerShell tab as Admin Support 2
vefatica TYPE resets console tab settings Support 14
CWBillow TCMD PowerShell Tab elevated Support 6
CWBillow Take Command tab as PowerShell Support 3
Fross Tab Question Support 6
CWBillow TCMD Tab Defs Support 4
L WAD In console, tabs are rendered with non-uniform tab-stop spacing Support 16
Emilio III TCMD Tab titles on Insider Windows Support 2
P Run as Admin tab in non-elevated Take Command session? Support 9
CWBillow Powershell tab in TCMD? Support 2
Phileosophos Startup tab layout Support 2
M How to? How to set a default TITLE for newly opened tab? Support 2
R How to? Change TCMD tab font size in window menu Support 3
D Get tab position and size Support 6
C Running PowerShell_ISE in a Tab Support 7
D How cut in TCC tab window Support 5
C How to? run a BTM in elevated, inv tcc tab window Support 9
D Take Command tab only uses half of window Support 1
rps Tab clone problem Support 2
C MONITOR commands alter tab title when triggered Support 0
D Tab completion differences with cmd.exe Support 3
H lua Causes Take Command Tab to Exit Support 5
vefatica Tab completion? Support 4
D How to? How to show variables expanded in the log tab Support 3
I tab completion with directory commands Support 7
R Fixed v17.0.54 Tab->COMSPEC Dialog Box Issue Support 2
vefatica Fixed Crash removing toolbar tab Support 1
I v16 Spawning a PowerShell tab Support 3
Jay Sage Getting Quote Characters into a Toolbar Tab Support 12
Jay Sage "New Tab" Strangeness Support 2
rps Command Input Window tab completion broken Support 7
David Wilbanks How to make new tab open in same directory as previous tab? Support 4
tmaynard How to? Any way to run a command in a new tab at startup? Support 18
A How to? Frozen session tab with "ERROR: The file is either empty or does not contain the valid choices." Support 19

Similar threads