View Sidebar

Software stuff

...and more!
Get rid of windows console and embrace cmder

Get rid of windows console and embrace cmder

Have you ever dream having a console with the power and feeling like the one in Ubuntu?

cmder is the answer. Period.

Worth to mention that cmder is what it’s thanks to the great open-source projects conemu and clink.

I won’t duplicate what is already said in cmder home page. Take a look. Really. Go!

However, I want to give you two tips:

Changing Font Size using Ctrl + Mouse Wheel

I submitted a pull request. You can grab the patch from there.  The change is straightforward using ConEmu Macros:

Edit your  \cmder\config\ConEmu.xml settings file:

<value name="KeyMacro03" type="dword" data="000011d0"/>
<value name="KeyMacro03.Text" type="string" data="FontSetSize(1,2)"/>
<value name="KeyMacro04" type="dword" data="000011d1"/>
<value name="KeyMacro04.Text" type="string" data="FontSetSize(1,-2)"/>

There you go. Now you can use the hotkey Ctrl + Mouse Wheel to change the font size.

Increase response-time when navigating thru folders

I noticed that the git facilities that comes with cmder are pretty nice, but it introduces an undesirable tiny-lag when navigating thru folders.

The thing is that cmder have its own lua plugin for ConEmu in order to detect each time you navigate to a folder if you are in a git repository and hence applying nice prompt styling (for example showing in which branch you are working on.)

If you are like me, you will prefer increasing the response time. So, the simplest solution is to delete that lua plugin. Find it in \cmder\git.lua

You’ll also have to edit the file \cmder\vendor\init.bat in order to avoid showing the string {git}:

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

That’s all!

January 28, 201413 commentsRead More