"Turn" cmder--windows command line tool

Source: Internet
Author: User

Original link: https://www.cnblogs.com/zqzjs/archive/2016/12/19/6188605.html

Cmder

Cmder is an enhanced command-line tool that can not only use all the commands under Windows, but also the commands that can be used by Linux, shell commands.

Install package

Installation package Links

After downloading, the direct decompression is ready to use.

Modify the command prompt λ to $

Enter the extracted Cmder directory, enter vendor, open the Init.bat file.
Modify the code for line 15th

@prompt $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m{lamb}$S$E[0m

Switch

@prompt $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m $$ $S$E[0m

Before and after modifications:

Add to environment variable

Cmder.exe the directory that is stored is added to the system environment variable path. Add success enough, you can use Win+r input cmder, you can find Cmder.

Add to right-click menu

Enter the root directory of the Cmder to perform the registration to the right-click menu.

C:\Windows\system32>d:D:\>cd cmderD:\cmder>Cmder.exe /REGISTER ALL

Effect:

Multi-window

Right-cmder Bottom Border bar, select New Console

You can set the position of the newly opened command line in Cmder, where I choose to be right, and the percentage can set the width of the new window.

Effect:

Newly opened Shell window

The steps are the same as above, just choose the shell when choosing.

Add commands such as LL

In Cmder->config->aliases, open aliases.

and will:

l=ls --show-control-chars la=ls -aF --show-control-chars ll=ls -alF --show-control-chars ls=ls --show-control-chars -F

Add to the end of the file to enhance the command and add color sensitivity.

Common shortcut keys

Double tab, for completion

Ctrl+t, creating a new page

Ctrl+w, closing tabs

Ctrl+tab, Toggle tab page

ALT+F4, close all tabs

ctrl+1, switch to the first tab, ctrl+2 the same

ALT + ENTER to switch to full-screen state

"Go" cmder--windows command-line tool

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.