Last active
June 24, 2018 10:07
-
-
Save kukiron/fee38a536bf9a61f693e6624686e8277 to your computer and use it in GitHub Desktop.
Customizing Cmder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- default script for clink, called by init.bat when injecting clink | |
-- !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED | |
-- !!! Use "%CMDER_ROOT%\config\<whatever>.lua" to add your lua startup scripts | |
-- At first, load the original clink.lua file | |
-- this is needed as we set the script path to this dir and therefore the original | |
-- clink.lua is not loaded. | |
local clink_lua_file = clink.get_env('CMDER_ROOT')..'\\vendor\\clink\\clink.lua' | |
dofile(clink_lua_file) | |
-- now add our own things... | |
--- | |
-- Setting the prompt in clink means that commands which rewrite the prompt do | |
-- not destroy our own prompt. It also means that started cmds (or batch files | |
-- which echo) don't get the ugly '{lamb}' shown. | |
--- | |
function set_prompt_filter() | |
-- get_cwd() is differently encoded than the clink.prompt.value, so everything other than | |
-- pure ASCII will get garbled. So try to parse the current directory from the original prompt | |
-- and only if that doesn't work, use get_cwd() directly. | |
-- The matching relies on the default prompt which ends in X:\PATH\PATH> | |
-- (no network path possible here!) | |
local old_prompt = clink.prompt.value | |
local cwd = old_prompt:match('.*(.:[^>]*)>') | |
if cwd == nil then cwd = clink.get_cwd() end | |
-- environment systems like pythons virtualenv change the PROMPT and usually | |
-- set some variable. But the variables are differently named and we would never | |
-- get them all, so try to parse the env name out of the PROMPT. | |
-- envs are usually put in round or square parentheses and before the old prompt | |
local env = old_prompt:match('.*%(([^%)]+)%).+:') | |
-- also check for square brackets | |
if env == nil then env = old_prompt:match('.*%[([^%]]+)%].+:') end | |
-- build our own prompt | |
-- orig: $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m{lamb}$S$E[0m | |
-- color codes: "\x1b[1;37;40m" | |
local cmder_prompt = "\x1b[1;32;40m{cwd} {git}{hg} \n\x1b[1;30;40m{lamb} \x1b[0m" | |
cmder_prompt = string.gsub(cmder_prompt, "{cwd}", cwd) | |
if env == nil then | |
lambda = "$" | |
else | |
lambda = "("..env..") λ" | |
end | |
clink.prompt.value = string.gsub(cmder_prompt, "{lamb}", lambda) | |
end | |
--- | |
-- Resolves closest directory location for specified directory. | |
-- Navigates subsequently up one level and tries to find specified directory | |
-- @param {string} path Path to directory will be checked. If not provided | |
-- current directory will be used | |
-- @param {string} dirname Directory name to search for | |
-- @return {string} Path to specified directory or nil if such dir not found | |
local function get_dir_contains(path, dirname) | |
-- return parent path for specified entry (either file or directory) | |
local function pathname(path) | |
local prefix = "" | |
local i = path:find("[\\/:][^\\/:]*$") | |
if i then | |
prefix = path:sub(1, i-1) | |
end | |
return prefix | |
end | |
-- Navigates up one level | |
local function up_one_level(path) | |
if path == nil then path = '.' end | |
if path == '.' then path = clink.get_cwd() end | |
return pathname(path) | |
end | |
-- Checks if provided directory contains git directory | |
local function has_specified_dir(path, specified_dir) | |
if path == nil then path = '.' end | |
local found_dirs = clink.find_dirs(path..'/'..specified_dir) | |
if #found_dirs > 0 then return true end | |
return false | |
end | |
-- Set default path to current directory | |
if path == nil then path = '.' end | |
-- If we're already have .git directory here, then return current path | |
if has_specified_dir(path, dirname) then | |
return path..'/'..dirname | |
else | |
-- Otherwise go up one level and make a recursive call | |
local parent_path = up_one_level(path) | |
if parent_path == path then | |
return nil | |
else | |
return get_dir_contains(parent_path, dirname) | |
end | |
end | |
end | |
local function get_hg_dir(path) | |
return get_dir_contains(path, '.hg') | |
end | |
-- adapted from from clink-completions' git.lua | |
local function get_git_dir(path) | |
-- return parent path for specified entry (either file or directory) | |
local function pathname(path) | |
local prefix = "" | |
local i = path:find("[\\/:][^\\/:]*$") | |
if i then | |
prefix = path:sub(1, i-1) | |
end | |
return prefix | |
end | |
-- Checks if provided directory contains git directory | |
local function has_git_dir(dir) | |
return #clink.find_dirs(dir..'/.git') > 0 and dir..'/.git' | |
end | |
local function has_git_file(dir) | |
local gitfile = io.open(dir..'/.git') | |
if not gitfile then return false end | |
local git_dir = gitfile:read():match('gitdir: (.*)') | |
gitfile:close() | |
return git_dir and dir..'/'..git_dir | |
end | |
-- Set default path to current directory | |
if not path or path == '.' then path = clink.get_cwd() end | |
-- Calculate parent path now otherwise we won't be | |
-- able to do that inside of logical operator | |
local parent_path = pathname(path) | |
return has_git_dir(path) | |
or has_git_file(path) | |
-- Otherwise go up one level and make a recursive call | |
or (parent_path ~= path and get_git_dir(parent_path) or nil) | |
end | |
--- | |
-- Find out current branch | |
-- @return {false|mercurial branch name} | |
--- | |
function get_hg_branch() | |
for line in io.popen("hg branch 2>nul"):lines() do | |
local m = line:match("(.+)$") | |
if m then | |
return m | |
end | |
end | |
return false | |
end | |
--- | |
-- Get the status of working dir | |
-- @return {bool} | |
--- | |
function get_hg_status() | |
for line in io.popen("hg status -0"):lines() do | |
return false | |
end | |
return true | |
end | |
function hg_prompt_filter() | |
-- Colors for mercurial status | |
local colors = { | |
clean = "\x1b[1;37;40m", | |
dirty = "\x1b[31;1m", | |
} | |
if get_hg_dir() then | |
-- if we're inside of mercurial repo then try to detect current branch | |
local branch = get_hg_branch() | |
if branch then | |
-- Has branch => therefore it is a mercurial folder, now figure out status | |
if get_hg_status() then | |
color = colors.clean | |
else | |
color = colors.dirty | |
end | |
clink.prompt.value = string.gsub(clink.prompt.value, "{hg}", color.."("..branch..")") | |
return false | |
end | |
end | |
-- No mercurial present or not in mercurial file | |
clink.prompt.value = string.gsub(clink.prompt.value, "{hg}", "") | |
return false | |
end | |
--- | |
-- Find out current branch | |
-- @return {nil|git branch name} | |
--- | |
function get_git_branch(git_dir) | |
local git_dir = git_dir or get_git_dir() | |
-- If git directory not found then we're probably outside of repo | |
-- or something went wrong. The same is when head_file is nil | |
local head_file = git_dir and io.open(git_dir..'/HEAD') | |
if not head_file then return end | |
local HEAD = head_file:read() | |
head_file:close() | |
-- if HEAD matches branch expression, then we're on named branch | |
-- otherwise it is a detached commit | |
local branch_name = HEAD:match('ref: refs/heads/(.+)') | |
return branch_name or 'HEAD detached at '..HEAD:sub(1, 7) | |
end | |
--- | |
-- Get the status of working dir | |
-- @return {bool} | |
--- | |
function get_git_status() | |
local file = io.popen("git status --no-lock-index --porcelain 2>nul") | |
for line in file:lines() do | |
file:close() | |
return false | |
end | |
file:close() | |
return true | |
end | |
function git_prompt_filter() | |
-- Colors for git status | |
local colors = { | |
clean = "\x1b[1;37;40m", | |
dirty = "\x1b[31;1m", | |
} | |
local git_dir = get_git_dir() | |
if git_dir then | |
-- if we're inside of git repo then try to detect current branch | |
local branch = get_git_branch(git_dir) | |
if branch then | |
-- Has branch => therefore it is a git folder, now figure out status | |
if get_git_status() then | |
color = colors.clean | |
else | |
color = colors.dirty | |
end | |
clink.prompt.value = string.gsub(clink.prompt.value, "{git}", color.."("..branch..")") | |
return false | |
end | |
end | |
-- No git present or not in git file | |
clink.prompt.value = string.gsub(clink.prompt.value, "{git}", "") | |
return false | |
end | |
-- insert the set_prompt at the very beginning so that it runs first | |
clink.prompt.register_filter(set_prompt_filter, 1) | |
clink.prompt.register_filter(hg_prompt_filter, 50) | |
clink.prompt.register_filter(git_prompt_filter, 50) | |
local completions_dir = clink.get_env('CMDER_ROOT')..'/vendor/clink-completions/' | |
for _,lua_module in ipairs(clink.find_files(completions_dir..'*.lua')) do | |
-- Skip files that starts with _. This could be useful if some files should be ignored | |
if not string.match(lua_module, '^_.*') then | |
local filename = completions_dir..lua_module | |
-- use dofile instead of require because require caches loaded modules | |
-- so config reloading using Alt-Q won't reload updated modules. | |
dofile(filename) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2018-06-23 05:35:48" build="161206"> | |
<value name="ColorTable00" type="dword" data="00191919"/> | |
<value name="ColorTable01" type="dword" data="00ee0000"/> | |
<value name="ColorTable02" type="dword" data="0000cd00"/> | |
<value name="ColorTable03" type="dword" data="00cdcd00"/> | |
<value name="ColorTable04" type="dword" data="000000cd"/> | |
<value name="ColorTable05" type="dword" data="00cd00cd"/> | |
<value name="ColorTable06" type="dword" data="0000cdcd"/> | |
<value name="ColorTable07" type="dword" data="00e5e5e5"/> | |
<value name="ColorTable08" type="dword" data="007f7f7f"/> | |
<value name="ColorTable09" type="dword" data="00ff5c5c"/> | |
<value name="ColorTable10" type="dword" data="0000ff00"/> | |
<value name="ColorTable11" type="dword" data="00ffff00"/> | |
<value name="ColorTable12" type="dword" data="000000ff"/> | |
<value name="ColorTable13" type="dword" data="00ff00ff"/> | |
<value name="ColorTable14" type="dword" data="0000ffff"/> | |
<value name="ColorTable15" type="dword" data="00ffffff"/> | |
<value name="ColorTable16" type="dword" data="00000000"/> | |
<value name="ColorTable17" type="dword" data="00800000"/> | |
<value name="ColorTable18" type="dword" data="00008000"/> | |
<value name="ColorTable19" type="dword" data="00808000"/> | |
<value name="ColorTable20" type="dword" data="00000080"/> | |
<value name="ColorTable21" type="dword" data="00800080"/> | |
<value name="ColorTable22" type="dword" data="00008080"/> | |
<value name="ColorTable23" type="dword" data="00c0c0c0"/> | |
<value name="ColorTable24" type="dword" data="00808080"/> | |
<value name="ColorTable25" type="dword" data="00ff0000"/> | |
<value name="ColorTable26" type="dword" data="0000ff00"/> | |
<value name="ColorTable27" type="dword" data="00ffff00"/> | |
<value name="ColorTable28" type="dword" data="000000ff"/> | |
<value name="ColorTable29" type="dword" data="00ff00ff"/> | |
<value name="ColorTable30" type="dword" data="0000ffff"/> | |
<value name="ColorTable31" type="dword" data="00ffffff"/> | |
<value name="ExtendColors" type="hex" data="00"/> | |
<value name="ExtendColorIdx" type="hex" data="0e"/> | |
<value name="TextColorIdx" type="hex" data="10"/> | |
<value name="BackColorIdx" type="hex" data="10"/> | |
<value name="PopTextColorIdx" type="hex" data="10"/> | |
<value name="PopBackColorIdx" type="hex" data="10"/> | |
<value name="ExtendFonts" type="hex" data="00"/> | |
<value name="ExtendFontNormalIdx" type="hex" data="01"/> | |
<value name="ExtendFontBoldIdx" type="hex" data="0c"/> | |
<value name="ExtendFontItalicIdx" type="hex" data="0d"/> | |
<value name="CursorTypeActive" type="dword" data="000232c2"/> | |
<value name="CursorTypeInactive" type="dword" data="00823282"/> | |
<value name="ClipboardDetectLineEnd" type="hex" data="01"/> | |
<value name="ClipboardBashMargin" type="hex" data="00"/> | |
<value name="ClipboardTrimTrailing" type="hex" data="02"/> | |
<value name="ClipboardEOL" type="hex" data="00"/> | |
<value name="ClipboardArrowStart" type="hex" data="00"/> | |
<value name="ClipboardAllLines" type="hex" data="01"/> | |
<value name="ClipboardFirstLine" type="hex" data="01"/> | |
<value name="ClipboardClickPromptPosition" type="hex" data="00"/> | |
<value name="ClipboardDeleteLeftWord" type="hex" data="01"/> | |
<value name="TrueColorerSupport" type="hex" data="01"/> | |
<value name="FadeInactive" type="hex" data="01"/> | |
<value name="FadeInactiveLow" type="hex" data="00"/> | |
<value name="FadeInactiveHigh" type="hex" data="c8"/> | |
<value name="ConVisible" type="hex" data="00"/> | |
<value name="ConInMode" type="dword" data="ffffffff"/> | |
<value name="UseInjects" type="hex" data="01"/> | |
<value name="SetDefaultTerminal" type="hex" data="00"/> | |
<value name="SetDefaultTerminalStartup" type="hex" data="00"/> | |
<value name="DefaultTerminalNoInjects" type="hex" data="00"/> | |
<value name="DefaultTerminalConfirm" type="hex" data="01"/> | |
<value name="DefaultTerminalApps" type="string" data="explorer.exe"/> | |
<value name="ProcessAnsi" type="hex" data="01"/> | |
<value name="UseClink" type="hex" data="01"/> | |
<value name="StartType" type="hex" data="02"/> | |
<value name="CmdLine" type="string" data=""/> | |
<value name="StartTasksFile" type="string" data=""/> | |
<value name="StartTasksName" type="string" data="{cmd::Cmder}"/> | |
<value name="StartFarFolders" type="hex" data="00"/> | |
<value name="StartFarEditors" type="hex" data="00"/> | |
<value name="StoreTaskbarkTasks" type="hex" data="00"/> | |
<value name="StoreTaskbarCommands" type="hex" data="00"/> | |
<value name="CmdLineHistory" type="multi"></value> | |
<value name="SingleInstance" type="hex" data="00"/> | |
<value name="ShowHelpTooltips" type="hex" data="01"/> | |
<value name="Multi" type="hex" data="01"/> | |
<value name="Multi.ShowButtons" type="hex" data="01"/> | |
<value name="Multi.NumberInCaption" type="hex" data="00"/> | |
<value name="Multi.CloseConfirm" type="hex" data="00"/> | |
<value name="Multi.CloseEditViewConfirm" type="hex" data="00"/> | |
<value name="Multi.NewConfirm" type="hex" data="01"/> | |
<value name="Multi.UseArrows" type="hex" data="00"/> | |
<value name="Multi.UseNumbers" type="hex" data="01"/> | |
<value name="Multi.UseWinTab" type="hex" data="00"/> | |
<value name="Multi.AutoCreate" type="hex" data="00"/> | |
<value name="Multi.LeaveOnClose" type="hex" data="00"/> | |
<value name="Multi.HideOnClose" type="hex" data="00"/> | |
<value name="Multi.MinByEsc" type="hex" data="02"/> | |
<value name="MapShiftEscToEsc" type="hex" data="01"/> | |
<value name="Multi.Iterate" type="hex" data="01"/> | |
<value name="Multi.SplitWidth" type="hex" data="04"/> | |
<value name="Multi.SplitHeight" type="hex" data="04"/> | |
<value name="KeyboardHooks" type="hex" data="02"/> | |
<value name="FontName" type="string" data="Fira Code"/> | |
<value name="FontName2" type="string" data="Lucida Console"/> | |
<value name="FontAutoSize" type="hex" data="00"/> | |
<value name="FontSize" type="ulong" data="16"/> | |
<value name="FontSizeX" type="ulong" data="0"/> | |
<value name="FontSizeX2" type="ulong" data="0"/> | |
<value name="FontSizeX3" type="ulong" data="0"/> | |
<value name="FontCharSet" type="hex" data="00"/> | |
<value name="Anti-aliasing" type="ulong" data="6"/> | |
<value name="FontBold" type="hex" data="01"/> | |
<value name="FontItalic" type="hex" data="00"/> | |
<value name="Monospace" type="hex" data="01"/> | |
<value name="BackGround Image show" type="hex" data="00"/> | |
<value name="BackGround Image" type="string" data="C:\Users\HHH\Desktop\383b3d.png"/> | |
<value name="bgImageDarker" type="hex" data="ff"/> | |
<value name="bgImageColors" type="dword" data="ffffffff"/> | |
<value name="bgOperation" type="hex" data="00"/> | |
<value name="bgPluginAllowed" type="hex" data="01"/> | |
<value name="AlphaValue" type="hex" data="f9"/> | |
<value name="AlphaValueSeparate" type="hex" data="01"/> | |
<value name="AlphaValueInactive" type="hex" data="ff"/> | |
<value name="UserScreenTransparent" type="hex" data="00"/> | |
<value name="ColorKeyTransparent" type="hex" data="00"/> | |
<value name="ColorKeyValue" type="dword" data="00010101"/> | |
<value name="UseCurrentSizePos" type="hex" data="01"/> | |
<value name="WindowMode" type="dword" data="0000051f"/> | |
<value name="ConWnd Width" type="dword" data="0000006b"/> | |
<value name="ConWnd Height" type="dword" data="0000001e"/> | |
<value name="Cascaded" type="hex" data="01"/> | |
<value name="ConWnd X" type="long" data="0"/> | |
<value name="ConWnd Y" type="long" data="0"/> | |
<value name="16bit Height" type="ulong" data="0"/> | |
<value name="AutoSaveSizePos" type="hex" data="01"/> | |
<value name="IntegralSize" type="hex" data="00"/> | |
<value name="QuakeStyle" type="hex" data="00"/> | |
<value name="QuakeAnimation" type="ulong" data="300"/> | |
<value name="HideCaption" type="hex" data="00"/> | |
<value name="HideChildCaption" type="hex" data="01"/> | |
<value name="FocusInChildWindows" type="hex" data="01"/> | |
<value name="HideCaptionAlways" type="hex" data="00"/> | |
<value name="HideCaptionAlwaysFrame" type="hex" data="00"/> | |
<value name="HideCaptionAlwaysDelay" type="ulong" data="2000"/> | |
<value name="HideCaptionAlwaysDisappear" type="ulong" data="2000"/> | |
<value name="DownShowHiddenMessage" type="hex" data="00"/> | |
<value name="ConsoleFontName" type="string" data="Lucida Console"/> | |
<value name="ConsoleFontWidth" type="long" data="3"/> | |
<value name="ConsoleFontHeight" type="long" data="5"/> | |
<value name="DefaultBufferHeight" type="long" data="1000"/> | |
<value name="AutoBufferHeight" type="hex" data="01"/> | |
<value name="CmdOutputCP" type="long" data="0"/> | |
<value name="ComSpec.Type" type="hex" data="00"/> | |
<value name="ComSpec.Bits" type="hex" data="00"/> | |
<value name="ComSpec.UpdateEnv" type="hex" data="00"/> | |
<value name="ComSpec.EnvAddPath" type="hex" data="01"/> | |
<value name="ComSpec.EnvAddExePath" type="hex" data="01"/> | |
<value name="ComSpec.UncPaths" type="hex" data="00"/> | |
<value name="ComSpec.Path" type="string" data=""/> | |
<value name="ConsoleTextSelection" type="hex" data="01"/> | |
<value name="CTS.AutoCopy" type="hex" data="01"/> | |
<value name="CTS.EndOnTyping" type="hex" data="00"/> | |
<value name="CTS.EndOnKeyPress" type="hex" data="00"/> | |
<value name="CTS.Freeze" type="hex" data="00"/> | |
<value name="CTS.SelectBlock" type="hex" data="01"/> | |
<value name="CTS.SelectText" type="hex" data="01"/> | |
<value name="CTS.ActMode" type="hex" data="02"/> | |
<value name="CTS.RBtnAction" type="hex" data="03"/> | |
<value name="CTS.MBtnAction" type="hex" data="00"/> | |
<value name="CTS.ColorIndex" type="hex" data="a0"/> | |
<value name="ClipboardConfirmEnter" type="hex" data="01"/> | |
<value name="ClipboardConfirmLonger" type="ulong" data="200"/> | |
<value name="FarGotoEditorOpt" type="hex" data="01"/> | |
<value name="FarGotoEditorPath" type="string" data="far.exe /e%1:%2 "%3""/> | |
<value name="FixFarBorders" type="hex" data="01"/> | |
<value name="FixFarBordersRanges" type="string" data="2013-25C4;"/> | |
<value name="ExtendUCharMap" type="hex" data="01"/> | |
<value name="EnhanceGraphics" type="hex" data="01"/> | |
<value name="EnhanceButtons" type="hex" data="00"/> | |
<value name="PartBrush75" type="hex" data="c8"/> | |
<value name="PartBrush50" type="hex" data="96"/> | |
<value name="PartBrush25" type="hex" data="5a"/> | |
<value name="PartBrushBlack" type="hex" data="20"/> | |
<value name="RightClick opens context menu" type="hex" data="02"/> | |
<value name="RightClickMacro2" type="string" data=""/> | |
<value name="SendAltTab" type="hex" data="00"/> | |
<value name="SendAltEsc" type="hex" data="00"/> | |
<value name="SendAltPrintScrn" type="hex" data="00"/> | |
<value name="SendPrintScrn" type="hex" data="00"/> | |
<value name="SendCtrlEsc" type="hex" data="00"/> | |
<value name="Min2Tray" type="hex" data="00"/> | |
<value name="AlwaysShowTrayIcon" type="hex" data="00"/> | |
<value name="SafeFarClose" type="hex" data="01"/> | |
<value name="SafeFarCloseMacro" type="string" data=""/> | |
<value name="FARuseASCIIsort" type="hex" data="00"/> | |
<value name="ShellNoZoneCheck" type="hex" data="00"/> | |
<value name="FixAltOnAltTab" type="hex" data="00"/> | |
<value name="DisableMouse" type="hex" data="01"/> | |
<value name="RSelectionFix" type="hex" data="01"/> | |
<value name="MouseSkipActivation" type="hex" data="01"/> | |
<value name="MouseSkipMoving" type="hex" data="01"/> | |
<value name="FarHourglass" type="hex" data="01"/> | |
<value name="FarHourglassDelay" type="ulong" data="500"/> | |
<value name="Dnd" type="hex" data="01"/> | |
<value name="DndDrop" type="hex" data="01"/> | |
<value name="DefCopy" type="hex" data="01"/> | |
<value name="DropUseMenu" type="hex" data="02"/> | |
<value name="DragOverlay" type="hex" data="01"/> | |
<value name="DragShowIcons" type="hex" data="01"/> | |
<value name="DebugSteps" type="hex" data="01"/> | |
<value name="DragPanel" type="hex" data="02"/> | |
<value name="DragPanelBothEdges" type="hex" data="00"/> | |
<value name="KeyBarRClick" type="hex" data="01"/> | |
<value name="StatusBar.Show" type="hex" data="01"/> | |
<value name="StatusBar.Flags" type="dword" data="00000002"/> | |
<value name="StatusFontFace" type="string" data="Segoe UI"/> | |
<value name="StatusFontCharSet" type="ulong" data="0"/> | |
<value name="StatusFontHeight" type="long" data="14"/> | |
<value name="StatusBar.Color.Back" type="dword" data="00404040"/> | |
<value name="StatusBar.Color.Light" type="dword" data="00ffffff"/> | |
<value name="StatusBar.Color.Dark" type="dword" data="00a0a0a0"/> | |
<value name="StatusBar.Hide.VCon" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CapsL" type="hex" data="00"/> | |
<value name="StatusBar.Hide.NumL" type="hex" data="00"/> | |
<value name="StatusBar.Hide.ScrL" type="hex" data="00"/> | |
<value name="StatusBar.Hide.Lang" type="hex" data="01"/> | |
<value name="StatusBar.Hide.WPos" type="hex" data="01"/> | |
<value name="StatusBar.Hide.WSize" type="hex" data="01"/> | |
<value name="StatusBar.Hide.WClient" type="hex" data="01"/> | |
<value name="StatusBar.Hide.WWork" type="hex" data="01"/> | |
<value name="StatusBar.Hide.Style" type="hex" data="01"/> | |
<value name="StatusBar.Hide.StyleEx" type="hex" data="01"/> | |
<value name="StatusBar.Hide.hFore" type="hex" data="01"/> | |
<value name="StatusBar.Hide.hFocus" type="hex" data="01"/> | |
<value name="StatusBar.Hide.ABuf" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CPos" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CSize" type="hex" data="00"/> | |
<value name="StatusBar.Hide.BSize" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CurX" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CurY" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CurS" type="hex" data="00"/> | |
<value name="StatusBar.Hide.CurI" type="hex" data="01"/> | |
<value name="StatusBar.Hide.ConEmuPID" type="hex" data="01"/> | |
<value name="StatusBar.Hide.ConEmuHWND" type="hex" data="01"/> | |
<value name="StatusBar.Hide.ConEmuView" type="hex" data="01"/> | |
<value name="StatusBar.Hide.Srv" type="hex" data="00"/> | |
<value name="StatusBar.Hide.SrvHWND" type="hex" data="01"/> | |
<value name="StatusBar.Hide.Transparency" type="hex" data="00"/> | |
<value name="StatusBar.Hide.New" type="hex" data="00"/> | |
<value name="StatusBar.Hide.Sync" type="hex" data="00"/> | |
<value name="StatusBar.Hide.Proc" type="hex" data="00"/> | |
<value name="StatusBar.Hide.Title" type="hex" data="01"/> | |
<value name="StatusBar.Hide.Resize" type="hex" data="00"/> | |
<value name="Tabs" type="hex" data="00"/> | |
<value name="TabsLocation" type="hex" data="01"/> | |
<value name="TabSelf" type="hex" data="01"/> | |
<value name="TabLazy" type="hex" data="01"/> | |
<value name="TabRecent" type="hex" data="00"/> | |
<value name="TabDblClick" type="ulong" data="1"/> | |
<value name="TabsOnTaskBar" type="hex" data="02"/> | |
<value name="TaskBarOverlay" type="hex" data="01"/> | |
<value name="TabCloseMacro" type="string" data=""/> | |
<value name="TabFontFace" type="string" data="Segoe UI"/> | |
<value name="TabFontCharSet" type="ulong" data="0"/> | |
<value name="TabFontHeight" type="long" data="16"/> | |
<value name="SaveAllEditors" type="string" data=""/> | |
<value name="ToolbarAddSpace" type="long" data="0"/> | |
<value name="TabConsole" type="string" data=" %n "/> | |
<value name="TabSkipWords" type="string" data="Administrator:|Администратор:"/> | |
<value name="TabPanels" type="string" data="<%c> %s"/> | |
<value name="TabEditor" type="string" data="<%c.%i>{%s}"/> | |
<value name="TabEditorModified" type="string" data="<%c.%i>[%s] *"/> | |
<value name="TabViewer" type="string" data="<%c.%i>[%s]"/> | |
<value name="TabLenMax" type="ulong" data="20"/> | |
<value name="AdminTitleSuffix" type="string" data=" (Admin)"/> | |
<value name="AdminShowShield" type="hex" data="01"/> | |
<value name="HideInactiveConsoleTabs" type="hex" data="00"/> | |
<value name="ShowFarWindows" type="hex" data="01"/> | |
<value name="TryToCenter" type="hex" data="01"/> | |
<value name="CenterConsolePad" type="ulong" data="8"/> | |
<value name="ShowScrollbar" type="hex" data="02"/> | |
<value name="ScrollBarAppearDelay" type="ulong" data="100"/> | |
<value name="ScrollBarDisappearDelay" type="ulong" data="1000"/> | |
<value name="IconID" type="ulong" data="1"/> | |
<value name="MainTimerElapse" type="ulong" data="10"/> | |
<value name="MainTimerInactiveElapse" type="ulong" data="1000"/> | |
<value name="AffinityMask" type="dword" data="00000000"/> | |
<value name="SkipFocusEvents" type="hex" data="00"/> | |
<value name="MonitorConsoleLang" type="hex" data="03"/> | |
<value name="DesktopMode" type="hex" data="00"/> | |
<value name="SnapToDesktopEdges" type="hex" data="00"/> | |
<value name="AlwaysOnTop" type="hex" data="00"/> | |
<value name="SleepInBackground" type="hex" data="01"/> | |
<value name="MinimizeOnLoseFocus" type="hex" data="00"/> | |
<value name="DisableFarFlashing" type="hex" data="00"/> | |
<value name="DisableAllFlashing" type="hex" data="00"/> | |
<value name="FindText" type="string" data=""/> | |
<value name="FindMatchCase" type="hex" data="00"/> | |
<value name="FindMatchWholeWords" type="hex" data="00"/> | |
<value name="FindTransparent" type="hex" data="01"/> | |
<value name="PanView.BackColor" type="dword" data="30ffffff"/> | |
<value name="PanView.PFrame" type="long" data="1"/> | |
<value name="PanView.PFrameColor" type="dword" data="28808080"/> | |
<value name="PanView.SFrame" type="long" data="1"/> | |
<value name="PanView.SFrameColor" type="dword" data="07c0c0c0"/> | |
<value name="PanView.Thumbs.ImgSize" type="long" data="96"/> | |
<value name="PanView.Thumbs.SpaceX1" type="long" data="1"/> | |
<value name="PanView.Thumbs.SpaceY1" type="long" data="1"/> | |
<value name="PanView.Thumbs.SpaceX2" type="long" data="5"/> | |
<value name="PanView.Thumbs.SpaceY2" type="long" data="20"/> | |
<value name="PanView.Thumbs.LabelSpacing" type="long" data="2"/> | |
<value name="PanView.Thumbs.LabelPadding" type="long" data="0"/> | |
<value name="PanView.Thumbs.FontName" type="string" data="Tahoma"/> | |
<value name="PanView.Thumbs.FontHeight" type="long" data="14"/> | |
<value name="PanView.Tiles.ImgSize" type="long" data="48"/> | |
<value name="PanView.Tiles.SpaceX1" type="long" data="4"/> | |
<value name="PanView.Tiles.SpaceY1" type="long" data="4"/> | |
<value name="PanView.Tiles.SpaceX2" type="long" data="172"/> | |
<value name="PanView.Tiles.SpaceY2" type="long" data="4"/> | |
<value name="PanView.Tiles.LabelSpacing" type="long" data="4"/> | |
<value name="PanView.Tiles.LabelPadding" type="long" data="1"/> | |
<value name="PanView.Tiles.FontName" type="string" data="Tahoma"/> | |
<value name="PanView.Tiles.FontHeight" type="long" data="14"/> | |
<value name="PanView.LoadPreviews" type="hex" data="03"/> | |
<value name="PanView.LoadFolders" type="hex" data="01"/> | |
<value name="PanView.LoadTimeout" type="ulong" data="15"/> | |
<value name="PanView.MaxZoom" type="ulong" data="600"/> | |
<value name="PanView.UsePicView2" type="hex" data="01"/> | |
<value name="PanView.RestoreOnStartup" type="hex" data="00"/> | |
<value name="Update.VerLocation" type="string" data=""/> | |
<value name="Update.CheckOnStartup" type="hex" data="01"/> | |
<value name="Update.CheckHourly" type="hex" data="00"/> | |
<value name="Update.ConfirmDownload" type="hex" data="01"/> | |
<value name="Update.UseBuilds" type="hex" data="01"/> | |
<value name="Update.UseProxy" type="hex" data="00"/> | |
<value name="Update.Proxy" type="string" data=""/> | |
<value name="Update.ProxyUser" type="string" data=""/> | |
<value name="Update.ProxyPassword" type="string" data=""/> | |
<value name="Update.ExeCmdLine" type="string" data=""/> | |
<value name="Update.ArcCmdLine" type="string" data=""/> | |
<value name="Update.DownloadPath" type="string" data="%TEMP%\ConEmu"/> | |
<value name="Update.LeavePackages" type="hex" data="00"/> | |
<value name="Update.PostUpdateCmd" type="string" data="echo Last successful update>ConEmuUpdate.info && date /t>>ConEmuUpdate.info && time /t>>ConEmuUpdate.info"/> | |
<value name="Multi.Modifier" type="dword" data="00000011"/> | |
<value name="Multi.ArrowsModifier" type="dword" data="0000005b"/> | |
<value name="KeyMacroVersion" type="hex" data="02"/> | |
<value name="MinimizeRestore" type="dword" data="000011c0"/> | |
<value name="MinimizeRestore2" type="dword" data="00000000"/> | |
<value name="GlobalRestore" type="dword" data="00000000"/> | |
<value name="ForcedFullScreen" type="dword" data="12115b0d"/> | |
<value name="SwitchGuiFocus" type="dword" data="00000000"/> | |
<value name="SetFocusGui" type="dword" data="00000000"/> | |
<value name="SetFocusChild" type="dword" data="00000000"/> | |
<value name="ChildSystemMenu" type="dword" data="ffffffff"/> | |
<value name="Multi.NewConsole" type="dword" data="80808000"/> | |
<value name="Multi.NewConsoleShift" type="dword" data="00001154"/> | |
<value name="Multi.NewConsolePopup" type="dword" data="80808000"/> | |
<value name="Multi.NewWindow" type="dword" data="00000000"/> | |
<value name="Multi.NewSplitV" type="dword" data="00001000"/> | |
<value name="Multi.NewSplitH" type="dword" data="80808000"/> | |
<value name="Multi.NewAttach" type="dword" data="00005b00"/> | |
<value name="Multi.Next" type="dword" data="80808000"/> | |
<value name="Multi.NextShift" type="dword" data="80808000"/> | |
<value name="Multi.Recreate" type="dword" data="00005b00"/> | |
<value name="Multi.AltCon" type="dword" data="80808000"/> | |
<value name="Multi.Scroll" type="dword" data="00005b00"/> | |
<value name="Multi.Close" type="dword" data="00001157"/> | |
<value name="CloseTabKey" type="dword" data="00125b00"/> | |
<value name="CloseGroupKey" type="dword" data="00000000"/> | |
<value name="TerminateProcessKey" type="dword" data="80808000"/> | |
<value name="DuplicateRootKey" type="dword" data="00000000"/> | |
<value name="CloseConEmuKey" type="dword" data="00001273"/> | |
<value name="Multi.Rename" type="dword" data="80808000"/> | |
<value name="Multi.MoveLeft" type="dword" data="00125b25"/> | |
<value name="Multi.MoveRight" type="dword" data="00125b27"/> | |
<value name="Multi.CmdKey" type="dword" data="80808000"/> | |
<value name="CTS.VkBlockStart" type="dword" data="00000000"/> | |
<value name="CTS.VkTextStart" type="dword" data="00000000"/> | |
<value name="CTS.VkCopyAll" type="dword" data="00000000"/> | |
<value name="Multi.ShowTabsList" type="dword" data="00000000"/> | |
<value name="Multi.ShowTabsList2" type="dword" data="80808000"/> | |
<value name="ClipboardVkAllLines" type="dword" data="0000102d"/> | |
<value name="ClipboardVkFirstLine" type="dword" data="00001156"/> | |
<value name="DeleteWordToLeft" type="dword" data="00001108"/> | |
<value name="FindTextKey" type="dword" data="00005d46"/> | |
<value name="ScreenshotKey" type="dword" data="80808000"/> | |
<value name="ScreenshotFullKey" type="dword" data="80808000"/> | |
<value name="ShowStatusBarKey" type="dword" data="80808000"/> | |
<value name="ShowTabBarKey" type="dword" data="80808000"/> | |
<value name="ShowCaptionKey" type="dword" data="80808000"/> | |
<value name="AlwaysOnTopKey" type="dword" data="00000000"/> | |
<value name="Key.TabMenu" type="dword" data="80808000"/> | |
<value name="Key.TabMenu2" type="dword" data="80808000"/> | |
<value name="Key.TabPane1" type="dword" data="80808000"/> | |
<value name="Key.TabPane2" type="dword" data="80808000"/> | |
<value name="Key.Maximize" type="dword" data="80808000"/> | |
<value name="Key.FullScreen" type="dword" data="0000120d"/> | |
<value name="Key.SysMenu" type="dword" data="80808000"/> | |
<value name="Key.SysMenu2" type="dword" data="00001102"/> | |
<value name="Key.BufUp" type="dword" data="00001126"/> | |
<value name="Key.BufDn" type="dword" data="00001128"/> | |
<value name="Key.BufPgUp" type="dword" data="00001121"/> | |
<value name="Key.BufPgDn" type="dword" data="00001122"/> | |
<value name="Key.PicViewSlide" type="dword" data="80808000"/> | |
<value name="Key.PicViewSlower" type="dword" data="80808000"/> | |
<value name="Key.PicViewFaster" type="dword" data="80808000"/> | |
<value name="FontLargerKey" type="dword" data="80808000"/> | |
<value name="FontSmallerKey" type="dword" data="80808000"/> | |
<value name="PasteFileKey" type="dword" data="00101146"/> | |
<value name="PastePathKey" type="dword" data="00101144"/> | |
<value name="PasteCygwinKey" type="dword" data="00005d2d"/> | |
<value name="Key.JumpPrevMonitor" type="dword" data="80808000"/> | |
<value name="Key.JumpNextMonitor" type="dword" data="80808000"/> | |
<value name="Key.TileToLeft" type="dword" data="80808000"/> | |
<value name="Key.TileToRIght" type="dword" data="80808000"/> | |
<value name="KeyMacro01" type="dword" data="0012a031"/> | |
<value name="KeyMacro01.Text" type="string" data="Task("cmd")"/> | |
<value name="KeyMacro02" type="dword" data="0012a032"/> | |
<value name="KeyMacro02.Text" type="string" data="Task("PowerShell")"/> | |
<value name="KeyMacro03" type="dword" data="000011d0"/> | |
<value name="KeyMacro03.Text" type="string" data="FontSetSize(1,2)"/> | |
<value name="KeyMacro04" type="dword" data="000011d1"/> | |
<value name="KeyMacro04.Text" type="string" data="FontSetSize(1,-2)"/> | |
<value name="KeyMacro05" type="dword" data="0012a033"/> | |
<value name="KeyMacro05.Text" type="string" data="Task("PowerShell as Admin")"/> | |
<value name="KeyMacro06" type="dword" data="00000000"/> | |
<value name="KeyMacro06.Text" type="string" data=""/> | |
<value name="KeyMacro07" type="dword" data="00000000"/> | |
<value name="KeyMacro07.Text" type="string" data=""/> | |
<value name="KeyMacro08" type="dword" data="00000000"/> | |
<value name="KeyMacro08.Text" type="string" data=""/> | |
<value name="KeyMacro09" type="dword" data="00000000"/> | |
<value name="KeyMacro09.Text" type="string" data=""/> | |
<value name="KeyMacro10" type="dword" data="00000000"/> | |
<value name="KeyMacro10.Text" type="string" data=""/> | |
<value name="KeyMacro11" type="dword" data="00000000"/> | |
<value name="KeyMacro11.Text" type="string" data=""/> | |
<value name="KeyMacro12" type="dword" data="00000000"/> | |
<value name="KeyMacro12.Text" type="string" data=""/> | |
<value name="KeyMacro13" type="dword" data="00000000"/> | |
<value name="KeyMacro13.Text" type="string" data=""/> | |
<value name="KeyMacro14" type="dword" data="00000000"/> | |
<value name="KeyMacro14.Text" type="string" data=""/> | |
<value name="KeyMacro15" type="dword" data="00000000"/> | |
<value name="KeyMacro15.Text" type="string" data=""/> | |
<value name="KeyMacro16" type="dword" data="00000000"/> | |
<value name="KeyMacro16.Text" type="string" data=""/> | |
<value name="KeyMacro17" type="dword" data="00000000"/> | |
<value name="KeyMacro17.Text" type="string" data=""/> | |
<value name="KeyMacro18" type="dword" data="00000000"/> | |
<value name="KeyMacro18.Text" type="string" data=""/> | |
<value name="KeyMacro19" type="dword" data="00000000"/> | |
<value name="KeyMacro19.Text" type="string" data=""/> | |
<value name="KeyMacro20" type="dword" data="00000000"/> | |
<value name="KeyMacro20.Text" type="string" data=""/> | |
<value name="KeyMacro21" type="dword" data="00000000"/> | |
<value name="KeyMacro21.Text" type="string" data=""/> | |
<value name="KeyMacro22" type="dword" data="00000000"/> | |
<value name="KeyMacro22.Text" type="string" data=""/> | |
<value name="KeyMacro23" type="dword" data="00000000"/> | |
<value name="KeyMacro23.Text" type="string" data=""/> | |
<value name="KeyMacro24" type="dword" data="00000000"/> | |
<value name="KeyMacro24.Text" type="string" data=""/> | |
<value name="KeyMacro25" type="dword" data="00000000"/> | |
<value name="KeyMacro25.Text" type="string" data=""/> | |
<value name="KeyMacro26" type="dword" data="00000000"/> | |
<value name="KeyMacro26.Text" type="string" data=""/> | |
<value name="KeyMacro27" type="dword" data="00000000"/> | |
<value name="KeyMacro27.Text" type="string" data=""/> | |
<value name="KeyMacro28" type="dword" data="00000000"/> | |
<value name="KeyMacro28.Text" type="string" data=""/> | |
<value name="KeyMacro29" type="dword" data="00000000"/> | |
<value name="KeyMacro29.Text" type="string" data=""/> | |
<value name="KeyMacro30" type="dword" data="00000000"/> | |
<value name="KeyMacro30.Text" type="string" data=""/> | |
<value name="KeyMacro31" type="dword" data="00000000"/> | |
<value name="KeyMacro31.Text" type="string" data=""/> | |
<value name="KeyMacro32" type="dword" data="00000000"/> | |
<value name="KeyMacro32.Text" type="string" data=""/> | |
<value name="CTS.VkBlock" type="hex" data="a4"/> | |
<value name="CTS.VkText" type="hex" data="a0"/> | |
<value name="CTS.VkAct" type="hex" data="00"/> | |
<value name="CTS.VkPrompt" type="hex" data="00"/> | |
<value name="FarGotoEditorVk" type="hex" data="a2"/> | |
<value name="DndLKey" type="hex" data="00"/> | |
<value name="DndRKey" type="hex" data="a2"/> | |
<value name="WndDragKey" type="dword" data="00121101"/> | |
<key name="Tasks" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Count" type="long" data="8"/> | |
<key name="Task1" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{cmd::Cmder as Admin}"/> | |
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\icons\cmder.ico""/> | |
<value name="Cmd1" type="string" data="*cmd /k "%ConEmuDir%\..\init.bat" -new_console:d:%USERPROFILE%"/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
</key> | |
<key name="Task2" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{cmd::Cmder}"/> | |
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\icons\cmder.ico""/> | |
<value name="Cmd1" type="string" data="cmd /k "%ConEmuDir%\..\init.bat" -new_console:d:%USERPROFILE%"/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
</key> | |
<key name="Task3" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{Powershell::PowerShell as Admin}"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\icons\cmder.ico""/> | |
<value name="Cmd1" type="string" data="*PowerShell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%ConEmuDir%\..\profile.ps1'''" -new_console:d:"%USERPROFILE%""/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
</key> | |
<key name="Task4" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{Powershell::Powershell}"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\icons\cmder.ico""/> | |
<value name="Cmd1" type="string" data="PowerShell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%ConEmuDir%\..\profile.ps1'''" -new_console:d:"%USERPROFILE%""/> | |
<value name="Cmd2" type="string" data="%CMDER_ROOT%\vendor\git-for-windows\git-bash.exe"/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
</key> | |
<key name="Task5" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{bash::mintty as Admin}"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="GuiArgs" type="string" data="/icon "%ConEmuDir%\..\git-for-windows\usr\share\git\git-for-windows.ico""/> | |
<value name="Cmd1" type="string" data="*%ConEmuDir%\..\git-for-windows\usr\bin\mintty.exe /bin/bash -l -new_console:d:%USERPROFILE%"/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
</key> | |
<key name="Task6" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{bash::mintty}"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="GuiArgs" type="string" data="/icon "%ConEmuDir%\..\git-for-windows\usr\share\git\git-for-windows.ico""/> | |
<value name="Cmd1" type="string" data="%ConEmuDir%\..\git-for-windows\usr\bin\mintty.exe /bin/bash -l -new_console:d:%userProfile%"/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
<value name="Cmd2" type="string" data="%CMDER_ROOT%vendor\git-for-windows\usr\bin\mintty.exe /bin/bash -l -new_console:d:%userProfile%"/> | |
</key> | |
<key name="Task7" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{bash::bash as Admin}"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\icons\cmder.ico""/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
<value name="Cmd1" type="string" data="*cmd /c "%ConEmuDir%\..\git-for-windows\bin\bash --login -i" -new_console:d:%USERPROFILE%"/> | |
</key> | |
<key name="Task8" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="{bash::bash}"/> | |
<value name="Flags" type="dword" data="00000000"/> | |
<value name="Hotkey" type="dword" data="00000000"/> | |
<value name="GuiArgs" type="string" data=" /icon "%CMDER_ROOT%\icons\cmder.ico""/> | |
<value name="Cmd1" type="string" data="cmd /c "%ConEmuDir%\..\git-for-windows\bin\bash --login -i" -new_console:d:%USERPROFILE%"/> | |
<value name="Active" type="long" data="0"/> | |
<value name="Count" type="long" data="1"/> | |
</key> | |
</key> | |
<key name="Apps" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Count" type="long" data="0"/> | |
</key> | |
<key name="Colors" modified="2018-06-13 17:11:28" build="161206"> | |
<key name="Palette1" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="Custom"/> | |
<value name="ExtendColors" type="hex" data="00"/> | |
<value name="ExtendColorIdx" type="hex" data="0e"/> | |
<value name="TextColorIdx" type="hex" data="10"/> | |
<value name="BackColorIdx" type="hex" data="10"/> | |
<value name="PopTextColorIdx" type="hex" data="10"/> | |
<value name="PopBackColorIdx" type="hex" data="10"/> | |
<value name="ColorTable00" type="dword" data="000f0f0f"/> | |
<value name="ColorTable01" type="dword" data="00ee0000"/> | |
<value name="ColorTable02" type="dword" data="0000cd00"/> | |
<value name="ColorTable03" type="dword" data="00cdcd00"/> | |
<value name="ColorTable04" type="dword" data="000000cd"/> | |
<value name="ColorTable05" type="dword" data="00cd00cd"/> | |
<value name="ColorTable06" type="dword" data="0000cdcd"/> | |
<value name="ColorTable07" type="dword" data="00e5e5e5"/> | |
<value name="ColorTable08" type="dword" data="007f7f7f"/> | |
<value name="ColorTable09" type="dword" data="00ff5c5c"/> | |
<value name="ColorTable10" type="dword" data="0000ff00"/> | |
<value name="ColorTable11" type="dword" data="00ffff00"/> | |
<value name="ColorTable12" type="dword" data="000000ff"/> | |
<value name="ColorTable13" type="dword" data="00ff00ff"/> | |
<value name="ColorTable14" type="dword" data="0000ffff"/> | |
<value name="ColorTable15" type="dword" data="00ffffff"/> | |
<value name="ColorTable16" type="dword" data="00000000"/> | |
<value name="ColorTable17" type="dword" data="00800000"/> | |
<value name="ColorTable18" type="dword" data="00008000"/> | |
<value name="ColorTable19" type="dword" data="00808000"/> | |
<value name="ColorTable20" type="dword" data="00000080"/> | |
<value name="ColorTable21" type="dword" data="00800080"/> | |
<value name="ColorTable22" type="dword" data="00008080"/> | |
<value name="ColorTable23" type="dword" data="00c0c0c0"/> | |
<value name="ColorTable24" type="dword" data="00808080"/> | |
<value name="ColorTable25" type="dword" data="00ff0000"/> | |
<value name="ColorTable26" type="dword" data="0000ff00"/> | |
<value name="ColorTable27" type="dword" data="00ffff00"/> | |
<value name="ColorTable28" type="dword" data="000000ff"/> | |
<value name="ColorTable29" type="dword" data="00ff00ff"/> | |
<value name="ColorTable30" type="dword" data="0000ffff"/> | |
<value name="ColorTable31" type="dword" data="00ffffff"/> | |
</key> | |
<value name="Count" type="long" data="2"/> | |
<key name="Palette2" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="Name" type="string" data="Monokai"/> | |
<value name="ExtendColors" type="hex" data="00"/> | |
<value name="ExtendColorIdx" type="hex" data="0e"/> | |
<value name="TextColorIdx" type="hex" data="10"/> | |
<value name="BackColorIdx" type="hex" data="10"/> | |
<value name="PopTextColorIdx" type="hex" data="10"/> | |
<value name="PopBackColorIdx" type="hex" data="10"/> | |
<value name="ColorTable00" type="dword" data="00222827"/> | |
<value name="ColorTable01" type="dword" data="009e5401"/> | |
<value name="ColorTable02" type="dword" data="0004aa74"/> | |
<value name="ColorTable03" type="dword" data="00a6831a"/> | |
<value name="ColorTable04" type="dword" data="003403a7"/> | |
<value name="ColorTable05" type="dword" data="009c5689"/> | |
<value name="ColorTable06" type="dword" data="0049b6b6"/> | |
<value name="ColorTable07" type="dword" data="00cacaca"/> | |
<value name="ColorTable08" type="dword" data="007c7c7c"/> | |
<value name="ColorTable09" type="dword" data="00f58303"/> | |
<value name="ColorTable10" type="dword" data="0006d08d"/> | |
<value name="ColorTable11" type="dword" data="00e5c258"/> | |
<value name="ColorTable12" type="dword" data="004b04f3"/> | |
<value name="ColorTable13" type="dword" data="00b87da8"/> | |
<value name="ColorTable14" type="dword" data="0081cccc"/> | |
<value name="ColorTable15" type="dword" data="00ffffff"/> | |
<value name="ColorTable16" type="dword" data="00000000"/> | |
<value name="ColorTable17" type="dword" data="00800000"/> | |
<value name="ColorTable18" type="dword" data="00008000"/> | |
<value name="ColorTable19" type="dword" data="00808000"/> | |
<value name="ColorTable20" type="dword" data="00000080"/> | |
<value name="ColorTable21" type="dword" data="00800080"/> | |
<value name="ColorTable22" type="dword" data="00008080"/> | |
<value name="ColorTable23" type="dword" data="00c0c0c0"/> | |
<value name="ColorTable24" type="dword" data="00808080"/> | |
<value name="ColorTable25" type="dword" data="00ff0000"/> | |
<value name="ColorTable26" type="dword" data="0000ff00"/> | |
<value name="ColorTable27" type="dword" data="00ffff00"/> | |
<value name="ColorTable28" type="dword" data="000000ff"/> | |
<value name="ColorTable29" type="dword" data="00ff00ff"/> | |
<value name="ColorTable30" type="dword" data="0000ffff"/> | |
<value name="ColorTable31" type="dword" data="00ffffff"/> | |
</key> | |
</key> | |
<value name="OneTabPerGroup" type="hex" data="00"/> | |
<value name="ActivateSplitMouseOver" type="hex" data="01"/> | |
<value name="TabBtnDblClick" type="ulong" data="0"/> | |
<value name="ConsoleExceptionHandler" type="hex" data="00"/> | |
<value name="SaveCmdHistory" type="hex" data="00"/> | |
<value name="CTS.IBeam" type="hex" data="01"/> | |
<value name="Multi.SplitSizeVU" type="dword" data="00105d26"/> | |
<value name="Multi.SplitSizeVD" type="dword" data="00105d28"/> | |
<value name="Multi.SplitSizeHL" type="dword" data="00105d25"/> | |
<value name="Multi.SplitSizeHR" type="dword" data="00105d27"/> | |
<value name="Multi.SplitFocusU" type="dword" data="00005d26"/> | |
<value name="Multi.SplitFocusD" type="dword" data="00005d28"/> | |
<value name="Multi.SplitFocusL" type="dword" data="00005d25"/> | |
<value name="Multi.SplitFocusR" type="dword" data="00005d27"/> | |
<value name="CloseGroupPrcKey" type="dword" data="00000000"/> | |
<value name="SetDefaultTerminalStartupTSA" type="hex" data="01"/> | |
<value name="CTS.HtmlFormat" type="hex" data="00"/> | |
<value name="TabIcons" type="hex" data="01"/> | |
<value name="Multi.NewConsolePopup2" type="dword" data="00000000"/> | |
<value name="CloseAllConKey" type="dword" data="00000000"/> | |
<value name="CloseExceptConKey" type="dword" data="00000000"/> | |
<value name="CTS.VkCopyFmt0" type="dword" data="00001143"/> | |
<value name="CTS.VkCopyFmt1" type="dword" data="00101143"/> | |
<value name="CTS.VkCopyFmt2" type="dword" data="00000000"/> | |
<value name="ProcessNewConArg" type="hex" data="01"/> | |
<value name="HighlightMouseRow" type="hex" data="00"/> | |
<value name="HighlightMouseCol" type="hex" data="00"/> | |
<value name="HighlightMouseSwitch" type="dword" data="00005d4c"/> | |
<value name="TransparencyInc" type="dword" data="00000000"/> | |
<value name="TransparencyDec" type="dword" data="00000000"/> | |
<value name="Key.MaximizeWidth" type="dword" data="00000000"/> | |
<value name="Key.MaximizeHeight" type="dword" data="00000000"/> | |
<value name="DefaultTerminalAgressive" type="hex" data="01"/> | |
<value name="DefaultTerminalNewWindow" type="hex" data="00"/> | |
<value name="AnsiLog" type="hex" data="00"/> | |
<value name="AnsiLogPath" type="string" data="%ConEmuDir%\Logs\"/> | |
<value name="Multi.DupConfirm" type="hex" data="01"/> | |
<value name="Multi.DetachConfirm" type="hex" data="01"/> | |
<value name="CTS.Intelligent" type="hex" data="01"/> | |
<value name="CTS.IntelligentExceptions" type="string" data="far|vim.exe"/> | |
<value name="StatusBar.Hide.Time" type="hex" data="01"/> | |
<value name="TaskbarProgress" type="hex" data="01"/> | |
<value name="RetardInactivePanes" type="hex" data="00"/> | |
<value name="ProcessCmdStart" type="hex" data="01"/> | |
<value name="Multi.ShowSearch" type="hex" data="01"/> | |
<value name="Multi.CloseConfirmFlags" type="hex" data="04"/> | |
<value name="FontUseDpi" type="hex" data="01"/> | |
<value name="FontUseUnits" type="hex" data="00"/> | |
<value name="UseScrollLock" type="hex" data="01"/> | |
<value name="CTS.ForceLocale" type="dword" data="00000000"/> | |
<value name="StatusBar.Hide.VisL" type="hex" data="01"/> | |
<value name="StatusBar.Hide.KeyHooks" type="hex" data="01"/> | |
<value name="StatusBar.Hide.WVBack" type="hex" data="01"/> | |
<value name="StatusBar.Hide.WVDC" type="hex" data="01"/> | |
<value name="StatusBar.Hide.Zoom" type="hex" data="01"/> | |
<value name="StatusBar.Hide.Dpi" type="hex" data="01"/> | |
<value name="TabFlashChanged" type="long" data="8"/> | |
<value name="TabModifiedSuffix" type="string" data="[*]"/> | |
<key name="HotKeys" modified="2018-06-13 17:11:28" build="161206"> | |
<value name="KeyMacroVersion" type="hex" data="02"/> | |
<value name="Multi.Modifier" type="dword" data="00000011"/> | |
<value name="Multi.ArrowsModifier" type="dword" data="0000005b"/> | |
<value name="MinimizeRestore" type="dword" data="000011c0"/> | |
<value name="MinimizeRestore2" type="dword" data="00000000"/> | |
<value name="GlobalRestore" type="dword" data="00000000"/> | |
<value name="CdExplorerPath" type="dword" data="00000000"/> | |
<value name="ForcedFullScreen" type="dword" data="12115b0d"/> | |
<value name="SwitchGuiFocus" type="dword" data="00000000"/> | |
<value name="SetFocusGui" type="dword" data="00000000"/> | |
<value name="SetFocusChild" type="dword" data="00000000"/> | |
<value name="ChildSystemMenu" type="dword" data="000011ff"/> | |
<value name="Multi.NewConsole" type="dword" data="00000000"/> | |
<value name="Multi.NewConsoleShift" type="dword" data="00001154"/> | |
<value name="Multi.CmdKey" type="dword" data="00000000"/> | |
<value name="Multi.NewWindow" type="dword" data="00000000"/> | |
<value name="Multi.NewConsolePopup" type="dword" data="00000000"/> | |
<value name="Multi.NewConsolePopup2" type="dword" data="00000000"/> | |
<value name="Multi.NewAttach" type="dword" data="00000000"/> | |
<value name="Multi.NewSplitV" type="dword" data="00000000"/> | |
<value name="Multi.NewSplitH" type="dword" data="00000000"/> | |
<value name="Multi.SplitMaximize" type="dword" data="00005d0d"/> | |
<value name="Multi.SplitSizeVU" type="dword" data="00105d26"/> | |
<value name="Multi.SplitSizeVD" type="dword" data="00105d28"/> | |
<value name="Multi.SplitSizeHL" type="dword" data="00105d25"/> | |
<value name="Multi.SplitSizeHR" type="dword" data="00105d27"/> | |
<value name="Key.TabPane1" type="dword" data="00000000"/> | |
<value name="Key.TabPane2" type="dword" data="00000000"/> | |
<value name="Multi.SplitFocusU" type="dword" data="00005d26"/> | |
<value name="Multi.SplitFocusD" type="dword" data="00005d28"/> | |
<value name="Multi.SplitFocusL" type="dword" data="00005d25"/> | |
<value name="Multi.SplitFocusR" type="dword" data="00005d27"/> | |
<value name="Multi.Next" type="dword" data="00000000"/> | |
<value name="Multi.NextShift" type="dword" data="00000000"/> | |
<value name="Multi.Recreate" type="dword" data="00000000"/> | |
<value name="Multi.AltCon" type="dword" data="00000000"/> | |
<value name="Multi.Pause" type="dword" data="80808013"/> | |
<value name="Multi.Scroll" type="dword" data="00000000"/> | |
<value name="Multi.GroupInput" type="dword" data="00005d47"/> | |
<value name="Multi.Detach" type="dword" data="00000000"/> | |
<value name="Multi.Close" type="dword" data="00001157"/> | |
<value name="CloseTabKey" type="dword" data="00000000"/> | |
<value name="CloseGroupKey" type="dword" data="00000000"/> | |
<value name="CloseGroupPrcKey" type="dword" data="00000000"/> | |
<value name="CloseAllConKey" type="dword" data="00000000"/> | |
<value name="CloseZombiesKey" type="dword" data="00000000"/> | |
<value name="CloseExceptConKey" type="dword" data="00000000"/> | |
<value name="KillProcessKey" type="dword" data="00000000"/> | |
<value name="KillAllButShellKey" type="dword" data="00105b2e"/> | |
<value name="DuplicateRootKey" type="dword" data="00000000"/> | |
<value name="CloseConEmuKey" type="dword" data="00001273"/> | |
<value name="Multi.Rename" type="dword" data="00000000"/> | |
<value name="AffinityPriorityKey" type="dword" data="00005d41"/> | |
<value name="Multi.MoveLeft" type="dword" data="00125b25"/> | |
<value name="Multi.MoveRight" type="dword" data="00125b27"/> | |
<value name="CTS.VkBlockStart" type="dword" data="00000000"/> | |
<value name="CTS.VkTextStart" type="dword" data="00000000"/> | |
<value name="CTS.VkCopyFmt0" type="dword" data="00001143"/> | |
<value name="CTS.VkCopyFmt1" type="dword" data="00101143"/> | |
<value name="CTS.VkCopyFmt2" type="dword" data="00000000"/> | |
<value name="CTS.VkCopyAll" type="dword" data="00000000"/> | |
<value name="HighlightMouseSwitch" type="dword" data="00005d4c"/> | |
<value name="HighlightMouseSwitchX" type="dword" data="00005d58"/> | |
<value name="Multi.ShowTabsList" type="dword" data="00000000"/> | |
<value name="Multi.ShowTabsList2" type="dword" data="00000000"/> | |
<value name="ClipboardVkAllLines" type="dword" data="0000102d"/> | |
<value name="ClipboardVkFirstLine" type="dword" data="00001156"/> | |
<value name="DeleteWordToLeft" type="dword" data="00001108"/> | |
<value name="FindTextKey" type="dword" data="00005d46"/> | |
<value name="ScreenshotKey" type="dword" data="00000000"/> | |
<value name="ScreenshotFullKey" type="dword" data="00000000"/> | |
<value name="ShowStatusBarKey" type="dword" data="00000000"/> | |
<value name="ShowTabBarKey" type="dword" data="00000000"/> | |
<value name="ShowCaptionKey" type="dword" data="00000000"/> | |
<value name="AlwaysOnTopKey" type="dword" data="00000000"/> | |
<value name="TransparencyInc" type="dword" data="00000000"/> | |
<value name="TransparencyDec" type="dword" data="00000000"/> | |
<value name="Key.TabMenu" type="dword" data="00000000"/> | |
<value name="Key.TabMenu2" type="dword" data="00000000"/> | |
<value name="Key.Maximize" type="dword" data="00000000"/> | |
<value name="Key.MaximizeWidth" type="dword" data="00000000"/> | |
<value name="Key.MaximizeHeight" type="dword" data="00000000"/> | |
<value name="Key.TileToLeft" type="dword" data="00000000"/> | |
<value name="Key.TileToRight" type="dword" data="00000000"/> | |
<value name="Key.JumpPrevMonitor" type="dword" data="00000000"/> | |
<value name="Key.JumpNextMonitor" type="dword" data="00000000"/> | |
<value name="Key.FullScreen" type="dword" data="0000120d"/> | |
<value name="Key.SysMenu" type="dword" data="00000000"/> | |
<value name="Key.SysMenu2" type="dword" data="00001102"/> | |
<value name="Key.BufUp" type="dword" data="00001126"/> | |
<value name="Key.BufDn" type="dword" data="00001128"/> | |
<value name="Key.BufPgUp" type="dword" data="00001121"/> | |
<value name="Key.BufPgDn" type="dword" data="00001122"/> | |
<value name="Key.BufHfPgUp" type="dword" data="00005d21"/> | |
<value name="Key.BufHfPgDn" type="dword" data="00005d22"/> | |
<value name="Key.BufTop" type="dword" data="00005d24"/> | |
<value name="Key.BufBottom" type="dword" data="00005d23"/> | |
<value name="Key.BufCursor" type="dword" data="00005d08"/> | |
<value name="FontLargerKey" type="dword" data="00000000"/> | |
<value name="FontSmallerKey" type="dword" data="00000000"/> | |
<value name="FontOriginalKey" type="dword" data="00001104"/> | |
<value name="PasteFileKey" type="dword" data="00101146"/> | |
<value name="PastePathKey" type="dword" data="00101144"/> | |
<value name="PasteCygwinKey" type="dword" data="00005d2d"/> | |
<value name="KeyMacro01" type="dword" data="00a01231"/> | |
<value name="KeyMacro01.Text" type="string" data="Task(1)"/> | |
<value name="KeyMacro02" type="dword" data="00a01232"/> | |
<value name="KeyMacro02.Text" type="string" data="Task(2)"/> | |
<value name="KeyMacro03" type="dword" data="000011d0"/> | |
<value name="KeyMacro03.Text" type="string" data="FontSetSize(1,2)"/> | |
<value name="KeyMacro04" type="dword" data="000011d1"/> | |
<value name="KeyMacro04.Text" type="string" data="FontSetSize(1,-2)"/> | |
<value name="KeyMacro05" type="dword" data="00a01233"/> | |
<value name="KeyMacro05.Text" type="string" data="Task(3)"/> | |
<value name="KeyMacro06" type="dword" data="00a01234"/> | |
<value name="KeyMacro06.Text" type="string" data="Task(4)"/> | |
<value name="KeyMacro07" type="dword" data="00a01235"/> | |
<value name="KeyMacro07.Text" type="string" data="Task(5)"/> | |
<value name="KeyMacro08" type="dword" data="00a01236"/> | |
<value name="KeyMacro08.Text" type="string" data="Task(6)"/> | |
<value name="KeyMacro09" type="dword" data="00a01237"/> | |
<value name="KeyMacro09.Text" type="string" data="Task(7)"/> | |
<value name="KeyMacro10" type="dword" data="00a01238"/> | |
<value name="KeyMacro10.Text" type="string" data="Task(8)"/> | |
<value name="KeyMacro11" type="dword" data="00a01239"/> | |
<value name="KeyMacro11.Text" type="string" data="Task(9)"/> | |
<value name="KeyMacro12" type="dword" data="00000000"/> | |
<value name="KeyMacro12.Text" type="string" data=""/> | |
<value name="KeyMacro13" type="dword" data="00000000"/> | |
<value name="KeyMacro13.Text" type="string" data=""/> | |
<value name="KeyMacro14" type="dword" data="00000000"/> | |
<value name="KeyMacro14.Text" type="string" data=""/> | |
<value name="KeyMacro15" type="dword" data="00000000"/> | |
<value name="KeyMacro15.Text" type="string" data=""/> | |
<value name="KeyMacro16" type="dword" data="00000000"/> | |
<value name="KeyMacro16.Text" type="string" data=""/> | |
<value name="KeyMacro17" type="dword" data="00000000"/> | |
<value name="KeyMacro17.Text" type="string" data=""/> | |
<value name="KeyMacro18" type="dword" data="00000000"/> | |
<value name="KeyMacro18.Text" type="string" data=""/> | |
<value name="KeyMacro19" type="dword" data="00000000"/> | |
<value name="KeyMacro19.Text" type="string" data=""/> | |
<value name="KeyMacro20" type="dword" data="00000000"/> | |
<value name="KeyMacro20.Text" type="string" data=""/> | |
<value name="KeyMacro21" type="dword" data="00000000"/> | |
<value name="KeyMacro21.Text" type="string" data=""/> | |
<value name="KeyMacro22" type="dword" data="00000000"/> | |
<value name="KeyMacro22.Text" type="string" data=""/> | |
<value name="KeyMacro23" type="dword" data="00000000"/> | |
<value name="KeyMacro23.Text" type="string" data=""/> | |
<value name="KeyMacro24" type="dword" data="00000000"/> | |
<value name="KeyMacro24.Text" type="string" data=""/> | |
<value name="KeyMacro25" type="dword" data="00000000"/> | |
<value name="KeyMacro25.Text" type="string" data=""/> | |
<value name="KeyMacro26" type="dword" data="00000000"/> | |
<value name="KeyMacro26.Text" type="string" data=""/> | |
<value name="KeyMacro27" type="dword" data="00000000"/> | |
<value name="KeyMacro27.Text" type="string" data=""/> | |
<value name="KeyMacro28" type="dword" data="00000000"/> | |
<value name="KeyMacro28.Text" type="string" data=""/> | |
<value name="KeyMacro29" type="dword" data="00000000"/> | |
<value name="KeyMacro29.Text" type="string" data=""/> | |
<value name="KeyMacro30" type="dword" data="00000000"/> | |
<value name="KeyMacro30.Text" type="string" data=""/> | |
<value name="KeyMacro31" type="dword" data="00000000"/> | |
<value name="KeyMacro31.Text" type="string" data=""/> | |
<value name="KeyMacro32" type="dword" data="00000000"/> | |
<value name="KeyMacro32.Text" type="string" data=""/> | |
<value name="CTS.VkBlock" type="hex" data="a4"/> | |
<value name="CTS.VkText" type="hex" data="a0"/> | |
<value name="CTS.VkAct" type="hex" data="00"/> | |
<value name="CTS.VkPrompt" type="hex" data="00"/> | |
<value name="FarGotoEditorVk" type="hex" data="a2"/> | |
<value name="DndLKey" type="hex" data="00"/> | |
<value name="DndRKey" type="hex" data="a2"/> | |
<value name="WndDragKey" type="dword" data="00121101"/> | |
<value name="Multi.Unfasten" type="dword" data="00000000"/> | |
<value name="Key.DebugProcess" type="dword" data="00105b44"/> | |
<value name="Key.DumpProcess" type="dword" data="00000000"/> | |
<value name="Key.DumpTree" type="dword" data="00000000"/> | |
<value name="Key.AltNumpad" type="dword" data="00000000"/> | |
<value name="Key.JumpActiveMonitor" type="dword" data="00000000"/> | |
<value name="Key.ResetTerm" type="dword" data="00000000"/> | |
</key> | |
<value name="StartCreateDelay" type="ulong" data="100"/> | |
<value name="DefaultTerminalDebugLog" type="hex" data="00"/> | |
<value name="LastMonitor" type="string" data="0,0,1366,768"/> | |
<value name="Restore2ActiveMon" type="hex" data="00"/> | |
<value name="DownShowExOnTopMessage" type="hex" data="00"/> | |
<value name="EnvironmentSet" type="multi"> | |
<line data="set PATH=%ConEmuBaseDir%\Scripts;%PATH%"/> | |
</value> | |
<value name="Update.InetTool" type="hex" data="00"/> | |
<value name="Update.InetToolCmd" type="string" data=""/> | |
<value name="SuppressBells" type="hex" data="01"/> | |
<value name="VividColors" type="hex" data="01"/> | |
<value name="AnsiExecution" type="hex" data="01"/> | |
<value name="AnsiAllowedCommands" type="multi"> | |
<line data="cmd -cur_console:R /cGitShowBranch.cmd"/> | |
</value> | |
<value name="KillSshAgent" type="hex" data="01"/> | |
<value name="ProcessCtrlZ" type="hex" data="00"/> | |
<value name="JumpListAutoUpdate" type="hex" data="01"/> | |
<value name="CompressLongStrings" type="hex" data="01"/> | |
<value name="CTS.ResetOnRelease" type="hex" data="00"/> | |
<value name="CTS.EraseBeforeReset" type="hex" data="01"/> | |
<value name="Anti-aliasing2" type="hex" data="01"/> | |
<value name="UseAltGrayPlus" type="hex" data="01"/> | |
<value name="MouseDragWindow" type="hex" data="01"/> | |
<value name="DebugLog" type="hex" data="00"/> | |
<value name="StatusBar.Hide.TMode" type="hex" data="01"/> | |
<value name="StatusBar.Hide.RMode" type="hex" data="01"/> | |
<value name="StatusBar.Hide.CellI" type="hex" data="01"/> | |
</key> | |
</key> | |
</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
@="Open Cmder Here" | |
"Icon"="C:\\Users\\kukiron\\Cmder.exe,0" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command] | |
@="\"C:\\Users\\kukiron\\Cmder.exe\" \"%V\"" | |
[HKEY_CLASSES_ROOT\Directory\shell\Cmder] | |
@="Open Cmder Here" | |
"Icon"="C:\\Users\\kukiron\\Cmder.exe,0" | |
[HKEY_CLASSES_ROOT\Directory\shell\Cmder\command] | |
@="\"C:\\Users\\kukiron\\Cmder.exe\" \"%1\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Source: https://github.com/AmrEldib/cmder-powerline-prompt | |
-- At first, load the original clink.lua file | |
-- this is needed as we set the script path to this dir and therefore the original | |
-- clink.lua is not loaded. | |
local clink_lua_file = clink.get_env('CMDER_ROOT')..'\\vendor\\clink\\clink.lua' | |
dofile(clink_lua_file) | |
--- promptValue is whether the displayed prompt is the full path or only the folder name | |
-- Use: | |
-- "full" for full path like C:\Windows\System32 | |
local promptValueFull = "full" | |
-- "folder" for folder name only like System32 | |
local promptValueFolder = "folder" | |
-- default is promptValueFull | |
local promptValue = promptValueFull | |
local function get_folder_name(path) | |
local reversePath = string.reverse(path) | |
local slashIndex = string.find(reversePath, "\\") | |
return string.sub(path, string.len(path) - slashIndex + 2) | |
end | |
-- Resets the prompt | |
function lambda_prompt_filter() | |
cwd = clink.get_cwd() | |
if promptValue == promptValueFolder then | |
cwd = get_folder_name(cwd) | |
end | |
prompt = "\x1b[37;44m{cwd} {git}{hg}\n\x1b[1;36;40m{time}\n\n\x1b[1;33;40m{lamb} \x1b[0m" | |
new_value = string.gsub(prompt, "{cwd}", cwd) | |
add_time = string.gsub(new_value, "{time}", os.date("%A, %B %d, %Y 🕜 %I:%M %p")) | |
clink.prompt.value = string.gsub(add_time, "{lamb}", "➜") | |
end | |
local arrowSymbol = "" | |
local branchSymbol = "" | |
--- copied from clink.lua | |
-- Resolves closest directory location for specified directory. | |
-- Navigates subsequently up one level and tries to find specified directory | |
-- @param {string} path Path to directory will be checked. If not provided | |
-- current directory will be used | |
-- @param {string} dirname Directory name to search for | |
-- @return {string} Path to specified directory or nil if such dir not found | |
local function get_dir_contains(path, dirname) | |
-- return parent path for specified entry (either file or directory) | |
local function pathname(path) | |
local prefix = "" | |
local i = path:find("[\\/:][^\\/:]*$") | |
if i then | |
prefix = path:sub(1, i-1) | |
end | |
return prefix | |
end | |
-- Navigates up one level | |
local function up_one_level(path) | |
if path == nil then path = '.' end | |
if path == '.' then path = clink.get_cwd() end | |
return pathname(path) | |
end | |
-- Checks if provided directory contains git directory | |
local function has_specified_dir(path, specified_dir) | |
if path == nil then path = '.' end | |
local found_dirs = clink.find_dirs(path..'/'..specified_dir) | |
if #found_dirs > 0 then return true end | |
return false | |
end | |
-- Set default path to current directory | |
if path == nil then path = '.' end | |
-- If we're already have .git directory here, then return current path | |
if has_specified_dir(path, dirname) then | |
return path..'/'..dirname | |
else | |
-- Otherwise go up one level and make a recursive call | |
local parent_path = up_one_level(path) | |
if parent_path == path then | |
return nil | |
else | |
return get_dir_contains(parent_path, dirname) | |
end | |
end | |
end | |
-- copied from clink.lua | |
-- clink.lua is saved under %CMDER_ROOT%\vendor | |
local function get_hg_dir(path) | |
return get_dir_contains(path, '.hg') | |
end | |
-- adopted from clink.lua | |
-- clink.lua is saved under %CMDER_ROOT%\vendor | |
function colorful_hg_prompt_filter() | |
-- Colors for mercurial status | |
local colors = { | |
clean = "\x1b[1;37;40m", | |
dirty = "\x1b[31;1m", | |
} | |
if get_hg_dir() then | |
-- if we're inside of mercurial repo then try to detect current branch | |
local branch = get_hg_branch() | |
if branch then | |
-- Has branch => therefore it is a mercurial folder, now figure out status | |
if get_hg_status() then | |
color = colors.clean | |
else | |
color = colors.dirty | |
end | |
clink.prompt.value = string.gsub(clink.prompt.value, "{hg}", color.."("..branch..")") | |
return false | |
end | |
end | |
-- No mercurial present or not in mercurial file | |
clink.prompt.value = string.gsub(clink.prompt.value, "{hg}", "") | |
return false | |
end | |
-- copied from clink.lua | |
-- clink.lua is saved under %CMDER_ROOT%\vendor | |
local function get_git_dir(path) | |
-- return parent path for specified entry (either file or directory) | |
local function pathname(path) | |
local prefix = "" | |
local i = path:find("[\\/:][^\\/:]*$") | |
if i then | |
prefix = path:sub(1, i-1) | |
end | |
return prefix | |
end | |
-- Checks if provided directory contains git directory | |
local function has_git_dir(dir) | |
return #clink.find_dirs(dir..'/.git') > 0 and dir..'/.git' | |
end | |
local function has_git_file(dir) | |
local gitfile = io.open(dir..'/.git') | |
if not gitfile then return false end | |
local git_dir = gitfile:read():match('gitdir: (.*)') | |
gitfile:close() | |
return git_dir and dir..'/'..git_dir | |
end | |
-- Set default path to current directory | |
if not path or path == '.' then path = clink.get_cwd() end | |
-- Calculate parent path now otherwise we won't be | |
-- able to do that inside of logical operator | |
local parent_path = pathname(path) | |
return has_git_dir(path) | |
or has_git_file(path) | |
-- Otherwise go up one level and make a recursive call | |
or (parent_path ~= path and get_git_dir(parent_path) or nil) | |
end | |
--- | |
-- Get the status of working dir | |
-- @return {bool} | |
--- | |
function get_git_status() | |
local file = io.popen("git status --no-lock-index --porcelain 2>nul") | |
for line in file:lines() do | |
file:close() | |
return false | |
end | |
file:close() | |
return true | |
end | |
-- adopted from clink.lua | |
-- Modified to add colors and arrow symbols | |
function colorful_git_prompt_filter() | |
-- Colors for git status | |
local colors = { | |
clean = "\x1b[34;42m"..arrowSymbol.."\x1b[30;42m ", | |
dirty = "\x1b[34;43m"..arrowSymbol.."\x1b[31;43m ", | |
} | |
local closingcolors = { | |
clean = " \x1b[32;40m"..arrowSymbol, | |
dirty = "± \x1b[33;40m"..arrowSymbol, | |
} | |
local git_dir = get_git_dir() | |
if git_dir then | |
-- if we're inside of git repo then try to detect current branch | |
local branch = get_git_branch(git_dir) | |
if branch then | |
-- Has branch => therefore it is a git folder, now figure out status | |
if get_git_status() then | |
color = colors.clean | |
closingcolor = closingcolors.clean | |
else | |
color = colors.dirty | |
closingcolor = closingcolors.dirty | |
end | |
--clink.prompt.value = string.gsub(clink.prompt.value, "{git}", color.." "..branch..closingcolor) | |
clink.prompt.value = string.gsub(clink.prompt.value, "{git}", color.." "..branchSymbol.." "..branch..closingcolor) | |
return false | |
end | |
end | |
-- No git present or not in git file | |
clink.prompt.value = string.gsub(clink.prompt.value, "{git}", "\x1b[34;40m"..arrowSymbol) | |
return false | |
end | |
-- override the built-in filters | |
clink.prompt.register_filter(lambda_prompt_filter, 55) | |
clink.prompt.register_filter(colorful_hg_prompt_filter, 60) | |
clink.prompt.register_filter(colorful_git_prompt_filter, 60) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment