4.2 KiB
Cmder
Cmder is a software package created out of pure frustration over absence of usable console emulator on Windows. It is based on ConEmu with major config overhaul, comes with a Monokai color scheme, amazing clink (further enhanced by clink-completions) and a custom prompt layout.
Why use it
The main advantage of Cmder is portability. It is designed to be totally self-contained with no external dependencies, that is makes it great for USB Sticks or cloud storage. So you can carry your console, aliases and binaries (like wget, curl and git) with you anywhere.
Installation
- Download the latest release
- Extract
- (optional) Place your own executable files into the
bin
folder to be injected into your PATH. - Run Cmder
Integration
So you've experimented with Cmder a little and want to give it a shot in a more permanent home;
Shortcut to open Cmder in a chosen folder
- Open a terminal as an Administrator
- Navigate to the directory you have placed Cmder
- Execute
.\cmder.exe /REGISTER ALL
If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.
In a file explorer window right click in or on a directory to see "Cmder Here" in the context menu.
Keyboard shortcuts
Tab manipulation
- Ctrl + T : New tab dialog (maybe you want to open cmd as admin?)
- Ctrl + W : Close tab
- Ctrl + D : Close tab (if pressed on empty command)
- Shift + Alt + #Number : Fast new tab: 1 - CMD, 2 - PowerShell
- Alt + Enter: Fullscreen
Shell
- Shift + Up : Traverse up in directory structure (lovely feature!)
- End, Home, Ctrl : Traversing text with as usual on Windows
- Ctrl + R : History search
- Shift + Mouse : Select and copy text from buffer
(Some shortcuts are not yet documented, thought they exist, please add them here)
Features
Aliases
You can define simple aliases with command alias name=command
.
For example there is one defined for you alias e.=explorer .
All aliases will be saved in /config/aliases
file
SSH Agent
To start SSH agent simply call start-ssh-agent
, which is in the vendor/git-for-windows/cmd
folder.
If you want to run SSH agent on startup, include the line @call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd"
in /config/user-startup.bat
(usually just uncomment it).
Todo
- Git Bash
- Check for clink and git before injecting them (Sort of done)
License
All software included is bundled with own license
The MIT License (MIT)
Copyright (c) 2015 Samuel Vasko
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.