vimdesktop --goreliu 版本配置

来源:互联网 发布:seafile数据是否加密 编辑:程序博客网 时间:2024/06/07 11:18

由于需要自定义一些全局快捷键,所以在 vimdesktop 目录下创建个 custom.ahk 文件,该文件会在 vimd.ahk 启动时被加载,配置如下:

;======================================================;<#j::AltTab;<#k::ShiftAltTab;#c::WinClose,A;#m::WinMaximize,A;#n::WinMinimize,A;#h::WindowPadMove("-1,  0,  0.5, 1.0");#l::WindowPadMove("+1,  0,  0.5, 1.0") Esc::Send {Esc Down}{Esc Up};$Esc::Send {Esc};Esc & l Up::WindowPadMove("+1,  0,  0.5, 1.0");Esc & h Up::WindowPadMove("-1,  0,  0.5, 1.0")Esc & l Up::Send #+{Left}Esc & h Up::Send #+{Right}Esc & k Up::AltTabEsc & j Up::ShiftAltTabEsc & c Up::WinClose,AEsc & o Up::Send {LWin}Esc & n::Send ^nEsc & p::Send #pEsc & /::Send ^/Esc & SC27::Send ^{SC27}Esc & m Up::WinGet, OuputVar, MinMax, Aif (OuputVar != 0)  WinRestore,Aelse  WinMaximize,A return+SC27::Send {: Down}{: Up}SC27::Send {; Down}{; Up};$SC27::Send {;}SC27 & a::Send ^aSC27 & c::Send ^cSC27 & v::Send ^v SC27 & x::Send ^xSC27 & s::Send ^s SC27 & z::Send ^z SC27 & f::Send ^fSC27 & b::Send ^bSC27 & u::Send ^uSC27 & d::Send ^dSC27 & w::Send ^wSC27 & y::Send ^ySC27 & r::Send ^rSC27 & 1::Send ^1SC27 & e::Send ^eSC27 & i::Send ^iSC27 & Tab::Send ^{Tab}SC27 & Space::Send ^{Space};=======================================================

然后是修改 TC 的快键键配置,在 vimdesktop\conf\vimd.ini 文件里添加如下配置:

?=<TC_SearchMode>gf=<cm_FtpDisconnect><S-,>=<cm_LeftOpenDrives><S-.>=<cm_RightOpenDrives>