| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/laragon3/bin/cmder/vendor/conemu-maximus5/ConEmu/Far3_lua/ |
Upload File : |
-- Place this file into your %FARPROFILE%\Macros\scripts
-- When tab switching in ConEmu is configured to Ctrl+Number
-- this macro will help to use Ctrl+Number combinations
Macro
{
area="Shell";
key="/LCtrlShift[0-9]/";
description="Panels: Switch panel modes with LCtrl+Shift+Number";
action = function()
-- BUG? Following is expected to be working, but not... Far Panels ignores it
-- Keys("LCtrl"..akey(1):sub(-1))
Keys("Ctrl"..akey(1):sub(-1))
end
}
Macro
{
area="Shell";
key="/RCtrlShift[0-9]/";
description="Panels: No action";
action = function()
return
end
}
Macro
{
area="Editor Viewer";
key="/RCtrlShift[0-9]/";
description="Editor: Set std.bookmark with RCtrl+Shift+Number +++";
action = function()
-- Extend std.bookmarks with stack bookmarks
BM.Add()
-- And set new std.bookmark
Keys("CtrlShift"..akey(1):sub(-1))
end
}
Macro
{
area="Editor Viewer";
key="/RCtrl[0-9]/";
description="Editor: Jump to std.bookmark with RCtrl+Number";
action = function()
-- Store previous position in stack bookmarks
BM.Add()
-- And jump to std.bookmark
Keys("Ctrl"..akey(1):sub(-1))
end
}