21e989ba6f
Add some new features to the cd command: * `cd`: go to %HOME% or %USERPROFILE% * `cd -`: go to previous directory * `h`: show 10 lines of history * `cd [0-9]`: go to the history lines passed in parameter * `p`: pop the last line in the history, and go there (sort of undo cd) Also, no need to pass the `/d` parameter anymore, cd will change the drive automatically. |
||
---|---|---|
bin | ||
config | ||
icons | ||
launcher | ||
scripts | ||
vendor | ||
.gitattributes | ||
.gitignore | ||
Cmder.bat | ||
Cmder.exe | ||
msvcp120.dll | ||
msvcr120.dll | ||
packignore | ||
Readme.md |
Cmder
Latest release is v1.1.4.1
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. Monokai color scheme, amazing clink and 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 Dropbox. 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 files into
bin
folder, it will be injected into your PATH. - Run cmder
(There will be a version with installer)
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
*
In a file explorer window right click in or on a directory to see "Cmder Here" in the context menu.
*If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.
Keyboard shortcuts
Tab manipulation
Ctrl + t
: new tab dialog (maybe you want to open cmd as admin?)Ctrl + w
: close tabCtrl + d
: close tab (if pressed on empty command)Shift + alt + number
: fast new tab:1
- CMD,2
- Powershell*
- More to comeAlt + enter
: Fullscreen
Shell
Shift + Up
: Traverse up in directory structure (lovely feature!)End, Home, Ctrl
: Traversing text with as usual on WindowsCtrl + r
: History searchShift + 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 agent
, which is in the bin
folder.
If you want to run SSH agent on startup, uncomment the line in /vendor/init.bat
so it says @call "%CMDER_ROOT%/bin/agent.cmd"
.
cd new feature
The cd
command has some new usefull features:
cd
: go to%HOME%
or%USERPROFILE%
cd -
: go to previous directoryh
: show 10 lines of historycd [0-9]
: go to the history lines passed in parameter (only if the directory does not exist)p
: pop the last line in the history, and go there (sort of undo cd)
Also, no need to pass the /d
parameter anymore, cd
will change the
drive automatically.
Todo
- Complete PowerShell compatibility.
- Workaround git.exe overload after msysgit download (Granted this is an upstream issue).
- Redo Build/Pack scripts or remove them altogether.
- Git Bash
- Check for clink and git before injecting them
License
All software included is bundled with own license
The MIT License (MIT)
Copyright (c) 2013 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.