commit ef9bbdab6ae03bd3109ab26f633e68cd5729dc27 Author: Samuel Vasko Date: Tue Jul 9 09:43:50 2013 +0200 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8a2b62c --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ + +## Those files should be taken from their repositary + +lib/* +!lib/*.md +!lib/*.bat \ No newline at end of file diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..0e5503c --- /dev/null +++ b/Readme.md @@ -0,0 +1,30 @@ +# Cmder + +Cmder is a package created out of pure frustration over obsence 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://code.google.com/p/clink/) and custom prompt layout. + +## Why use it + +The main advantage of Cmder is portablibity. It is designed to be totaly self-container. With no external dependencies. That makes is great for **USB Sticks** or **Dropbox**. So you can carry your console, aliases and binaries (like wget, curl and git) with you anywhere. + +## Keyboard shortcuts + +### Tab manipulation + +* `Ctrl + t` : new tab dialog (maybe you want to open cmd as admin?) +* `Ctrl + w` : close tab +* `Ctrl + alt + number` : fast new tab: `1` - CMD, `2` - Powershell `*` - More to come +* `Alt + enter`: Fullscreen + +### Shell + +* `Shift + Up` : Traverse up in directory structure (lovely feature!) +* `End, Home, ctrl` : Traversing text wih as ususal 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) + + +## Todo + +1. Write a Todo list diff --git a/bin/alias.bat b/bin/alias.bat new file mode 100644 index 0000000..88770c6 --- /dev/null +++ b/bin/alias.bat @@ -0,0 +1,2 @@ +@echo off +echo %* >> ../usr/aliases diff --git a/cmder.lnk b/cmder.lnk new file mode 100644 index 0000000..d6ab923 Binary files /dev/null and b/cmder.lnk differ diff --git a/lib/init.bat b/lib/init.bat new file mode 100644 index 0000000..4a93e37 --- /dev/null +++ b/lib/init.bat @@ -0,0 +1,20 @@ +@echo off + +:: Set prompt style +prompt $E[1;32;40m$P $_$E[1;30;40m$$ $E[0m + +:: Pick right version of clink +if "%PROCESSOR_ARCHITECTURE%"=="x86" ( + set architecture=86 +) else ( + set architecture=64 +) + +:: Run clink +lib\clink\clink_x%architecture%.exe inject --quiet --profile usr + +:: Enhance Path +PATH=%PATH%;%CD%\bin + +:: cd into users homedir +cd /d "%userprofile%" \ No newline at end of file diff --git a/usr/.history b/usr/.history new file mode 100644 index 0000000..e69de29 diff --git a/usr/ConEmu.xml b/usr/ConEmu.xml new file mode 100644 index 0000000..048c401 --- /dev/null +++ b/usr/ConEmu.xml @@ -0,0 +1,552 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/usr/aliases b/usr/aliases new file mode 100644 index 0000000..c40ef09 --- /dev/null +++ b/usr/aliases @@ -0,0 +1 @@ +e.=explorer . diff --git a/usr/settings b/usr/settings new file mode 100644 index 0000000..93de0be --- /dev/null +++ b/usr/settings @@ -0,0 +1,43 @@ +# name: Ctrl-D exits +# type: bool +# Ctrl-D exits the process when it is pressed on an empty line. +ctrld_exits = 1 + +# name: Ctrl-C raises exception +# type: bool +# When Ctrl-C is pressed Clink will pass it thourgh to the parent by raising the +# appropriate exception. +passthrough_ctrlc = 1 + +# name: Esc clears line +# type: bool +# Clink clears the current line when Esc is pressed (unless Readline's Vi mode +# is enabled). +esc_clears_line = 1 + +# name: Match display colour +# type: int +# Colour to use when displaying matches. A value less than 0 will be the +# opposite brightness of the default colour. +match_colour = -1 + +# name: Executable match style +# type: enum +# Changes how Clink will match executables when there is no path separator on +# the line. 0 = PATH only, 1 = PATH and CWD, 2 = PATH, CWD, and directories. In +# all cases both executables and directories are matched when there is a path +# separator present. +exec_match_style = -1 + +# name: Prompt colour +# type: int +# Surrounds the prompt in ANSI escape codes to set the prompt's colour. Disabled +# when the value is less than 0. +prompt_colour = -1 + +# name: Auto-answer terminate prompt +# type: enum +# Automatically answers cmd.exe's 'Terminate batch job (Y/N)?' prompts. 0 = +# disabled, 1 = answer 'Y', 2 = answer 'N'. +terminate_autoanswer = 0 +