403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/laragon/bin/cmder/vendor/conemu-maximus5/ConEmu/Far3_lua/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/laragon/bin/cmder/vendor/conemu-maximus5/ConEmu/Far3_lua/ConEmu.CtrlNumber.lua

-- 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="/[LR]CtrlShift[0-9]/";
  description="Panels: Switch panel modes with LCtrl+Shift+Number";
action = function()
  -- BUG? Following is expected to be working, but it doesn't... Far Panels ignores LCtrl+key posted this way
  -- Keys("LCtrl"..akey(1):sub(-1))
  Keys("Ctrl"..akey(1):sub(-1))
  -- it would be nice to have macro API
  -- far.PanelControl(far.Flags.FCTL_SETVIEWMODE, mf.atoi(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
}

Youez - 2016 - github.com/yon3zu
LinuXploit