Cmder (ConEmu based terminal)

About

cmder is based on ConEmu (console emulator) (ie OS - Terminal (Emulator) (Term|tty)

Cmder comes with ConEmu as the console emulator.

Installation

Unzip

  • Download
  • Unzip below C
  • Create CMDER_ROOT
mkdir c:\cmder

Config

  • Start Cmder and gives the user config directory (in my case within dropbox)
cd C:\cmder 
Cmder.exe /C "C:\Users\gerard\Dropbox\config\Cmder2"
Generating clink initial settings in "C:\Users\gerard\Dropbox\config\Cmder2\config\settings"
Additional *.lua files in "C:\Users\gerard\Dropbox\config\Cmder2\config" are loaded on startup.\
Creating initial user_aliases store in "C:\Users\gerard\Dropbox\config\Cmder2\config\user_aliases.cmd"...
        1 file(s) copied.
Creating user startup file: "C:\Users\gerard\Dropbox\config\Cmder2\config\user_profile.cmd"
        1 file(s) copied.

Register a Windows Shell Menu shortcut.

Cmder.exe /REGISTER ALL

Add environment variable

    • Add the environment variable %CMDER_ROOT% (ie c:\cmder)
    • Add %CMDER_ROOT% to the %PATH%
    • Add the environment variable %ConEmuDir% (ie C:\cmder\vendor\conemu-maximus5)

test:

where cmder.exe
C:\cmder\Cmder.exe

Configuration

User config

Individual user Cmder root folder is set with

cmder.exe /C %user_root_path%
user_root_path\
             ├───bin
             └───config
             └───profile.d

same as ??

mklink /D "C:\cmder\config" "C:\Dropbox\config\Cmder"

The launcher copies the conEmu.xml file into cmder\vendor\conemu-maximus5\ConEmu.xml so it does not get overwritten. See cmderdev/cmder/issues/695

Cmder /REGISTER ALL

Bash

In order to get bash started in the current directory:

C:\cmder\vendor\git-for-windows\bin\bash.exe  -new_console:d:%CMDER_START%

_

Just for the record

Storage

ConEmu settings storage

conEmu -loadcfgfile “full-path-2-xml”

HotKey Split windows

SplitScreen Doc

  • Apps+alt+(arrow): Move split terminal around
  • Apps+arrow: Change terminal focus
  • Apps+shift+(arrow): Redimension windows of a split terminal

_

Directory tree

Root

# The root path
/
# is
C:/cmder/vendor/git-for-windows

tmp

echo %TEMP%
C:\Users\GERARD~1\AppData\Local\Temp

Support

Bash and slash

If a parameter has a /, it seems that it replace it with

Example: with the following parameter /mediawiki/page/title (an Xpath), I got in return C:/cmder/vendor/git-for-windows/mediawiki/page/title

One work around is to use two slashes //

See http://www.mingw.org/wiki/Posix_path_conversion


Powered by ComboStrap