cmder/README.md

101 lines
3.9 KiB
Markdown
Raw Normal View History

2013-07-09 15:43:50 +08:00
# Cmder
2015-02-12 18:31:44 +08:00
[![Join the chat at https://gitter.im/bliker/cmder](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bliker/cmder?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2015-05-18 06:44:51 +08:00
Latest release is **[v1.2](https://github.com/bliker/cmder/releases/tag/v1.2)**
2013-07-16 06:09:35 +08:00
Cmder is a **software package** created out of pure frustration over absence of usable console emulator on Windows. It is based on [ConEmu](https://code.google.com/p/conemu-maximus5/) with *major* config overhaul. Monokai color scheme, amazing [clink](https://github.com/mridgers/clink) and custom prompt layout.
2013-07-09 15:43:50 +08:00
2013-07-16 05:45:15 +08:00
![Cmder Screenshot](http://i.imgur.com/g1nNf0I.png)
2013-07-09 15:43:50 +08:00
## Why use it
2015-10-03 09:58:55 +08:00
The main advantage of Cmder is portability. It is designed to be totally self-contained with no external dependencies, which makes it great for **USB Sticks** or **Dropbox** - you can carry your console, aliases and binaries (like wget, curl and git) with you anywhere!
2013-07-09 15:43:50 +08:00
2013-07-16 06:22:30 +08:00
## Installation
1. Download the latest release
2015-05-18 06:44:51 +08:00
2. Extract
3. (optional) Place your own executable files into the `bin` folder to be injected into your PATH.
4. Run cmder
2013-07-16 06:22:30 +08:00
2013-07-16 06:24:32 +08:00
*(There will be a version with installer)*
2013-07-16 06:22:30 +08:00
## Integration
2015-10-03 09:58:55 +08:00
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
1. Open a terminal as an Administrator
2. Navigate to the directory you have placed Cmder
3. 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.
2013-07-09 15:43:50 +08:00
## 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)
2013-12-26 16:11:11 +08:00
* `Shift + alt + number` : fast new tab: `1` - CMD, `2` - Powershell `*` - More to come
2013-07-09 15:43:50 +08:00
* `Alt + enter`: Fullscreen
### Shell
* `Shift + Up` : Traverse up in directory structure (lovely feature!)
* `End, Home, Ctrl` : Traversing text with as usual on Windows
2013-07-09 15:43:50 +08:00
* `Ctrl + r` : History search
* `Shift + mouse` : Select and copy text from buffer
2015-10-03 09:58:55 +08:00
(Some shortcuts are not yet documented, thought they exist - please document them here)
2013-07-09 15:43:50 +08:00
2013-07-16 06:22:30 +08:00
## Features
### Aliases
2013-07-16 06:24:32 +08:00
You can define simple aliases with command `alias name=command`.
2013-07-16 06:26:07 +08:00
2013-07-16 06:24:32 +08:00
For example there is one defined for you `alias e.=explorer .`
2013-07-16 06:22:30 +08:00
All aliases will be saved in `/config/aliases` file
2013-07-09 15:43:50 +08:00
2014-12-18 02:15:54 +08:00
### 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"`.
2013-07-09 15:43:50 +08:00
## Todo
2015-05-18 06:44:51 +08:00
1. Git Bash
2. Check for clink and git before injecting them (Sort of done)
2013-07-16 06:14:34 +08:00
## License
All software included is bundled with own license
The MIT License (MIT)
Copyright (c) 2015 Samuel Vasko
2013-07-16 06:14:34 +08:00
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
2013-07-17 01:26:12 +08:00
THE SOFTWARE.