Goto file's under directory cursor from feed box

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Goto file's under directory cursor from feed box

Post by *eugensyl »

Often I search something and I send the result of search to the feed box.
I want to go to the directory of file under cursor directly from feed box.

I don't know if is now possible, but is a wish.

Can be internal command, shortcut or button.

Thanks in advance.
My Best Wishes,

Eugen
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You may use Ctrl+Left shortcut (to browse in left panel to selected folder from right panel) or Ctrl+Right (to open left folder in right panel) or Ctrl+Up (to open selected folder in inactive tab). This will work in any place, not only in feed box. I don't know command names for Ctrl+Left/Right, but commands to open selected folder in new tabs are cm_OpenDirInNewTab (same as Ctrl+Up) and cm_OpenDirInNewTabOther (same as Ctrl+Shift+Up).
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

MVV wrote:You may use Ctrl+Left shortcut (to browse in left panel to selected folder from right panel) or Ctrl+Right (to open left folder in right panel) or Ctrl+Up (to open selected folder in inactive tab). This will work in any place, not only in feed box. I don't know command names for Ctrl+Left/Right, but commands to open selected folder in new tabs are cm_OpenDirInNewTab (same as Ctrl+Up) and cm_OpenDirInNewTabOther (same as Ctrl+Shift+Up).
Thank you!
First, Ctrl+Left is closer that I want, but I want exactly this action in the same panel.
Ctrl+Right goes allways to the same folder (first in feed box list) not in the right (correct) folder.
My Best Wishes,

Eugen
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Using TCMC.exe, we would get:

UserDefined command:
em_OpenDirInNewTab

Command: %Commander_Path%\Tools\TCMC.exe
Params: 50 CMcm_OpenDirInNewTab CMcm_SwitchToNextTab
Hotkey: Ctrl + Right
Command: em_OpenDirInNewTab

Has a small side-effect, Ctrl+Right wont work in the TC's command-line (if you use that to jump forward/back between word delimiters (like in an editor). I usually make these kinds of definitions with AutoHotKey to limit their effect to When the FilePanel is active only. Maybe TC will one day get a slightly more robust Hotkey implementation that can limit HotKeys to certain areas of the interface... Almost all Hotkeys I have in TC I only want them to activate when the FilePanel is active and NOT the command-line or rename-in-place, etc.

EDIT:
Of course now I see there is an alternate option
Config | Folder Tabs
[x] Ctrl+Up opens new tab in foreground
[x] Open new tabs near current tab
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

2eugensyl
usercmd.ini wrote:[em_GotoFileUnderCursorInSamePanel]
button=WCMICONS.dll
cmd=cd
param=%N
menu=Open file from list in same panel
Wincmd.ini <Ctrl+Shift+Down> wrote:[Shortcuts]
CS+DOWN=em_GotoFileUnderCursorInSamePanel
HTH
Holger
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

HolgerK wrote:2eugensyl
usercmd.ini wrote:[em_GotoFileUnderCursorInSamePanel]
button=WCMICONS.dll
cmd=cd
param=%N
menu=Open file from list in same panel
Wincmd.ini <Ctrl+Shift+Down> wrote:[Shortcuts]
CS+DOWN=em_GotoFileUnderCursorInSamePanel
HTH
Holger

This is exactly what I want. Works fine.

It would be nice that the function be a small addition built-in as a feature in the next version.

Th@nk you!
My Best Wishes,

Eugen
Post Reply