Cmder: Difference between revisions

From wikinotes
No edit summary
 
No edit summary
Line 40: Line 40:
source: https://github.com/cmderdev/cmder/issues/447
source: https://github.com/cmderdev/cmder/issues/447
</blockquote><!-- configuration -->
</blockquote><!-- configuration -->
= Usage =
<blockquote>
Open Admin CMDer
<syntaxhighlight lang="yaml">
Shift + Click executable:
  Run as Administrator
</syntaxhighlight>
</blockquote><!-- Usage -->

Revision as of 15:48, 27 August 2023

cmder is the closest that I have come to using tmux natively on windows, and that makes me very happy.

  • tmux-style panes
  • unix-style tab completion
  • tabs
  • colours
  • colourschemes

Locations

cmd rcfile C:\Tools\cmder\config\user-profile.cmd

Configuration

set environment vars

C:\Tools\cmder\config\user-profile.cmd

set VAR=blah

disable git prompt

C:/tools/cmder/vender/clink.lua

# remove {git}{hg} from local cmder_prompt
local cmder_prompt = "\x1b[1;32;40m{cwd}\n\x1b[1;30;40m{lamb} \x1b[0m"

# comment out the clink hooks
--clink.prompt.register_filter(hg_prompt_filter, 50)
--clink.prompt.register_filter(git_prompt_filter, 50)

source: https://github.com/cmderdev/cmder/issues/447

Usage

Open Admin CMDer

Shift + Click executable:
  Run as Administrator