Midnight Commander: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
'''mc''' or '''Midnight Commander''' is a powerful file manager working in a shell terminal. |
'''mc''' or '''Midnight Commander''' is a powerful file manager working in a shell terminal. |
||
== Links == |
|||
* [http://polishlinux.org/apps/cli/midnight-commander-in-action/ Cool review of mc in action] |
|||
⚫ | |||
⚫ | |||
== ini file == |
== ini file == |
||
* '''mc''' will only save the option ini file if there is a directory <tt>~/.mc</tt> in home directory: |
* '''mc''' will only save the option ini file if there is a directory <tt>~/.mc</tt> in home directory: |
||
Line 138: | Line 144: | ||
</table> |
</table> |
||
== Official repository == |
|||
External links: |
|||
Besides Ubuntu repository, the official one is [http://www.midnight-commander.org/wiki/Binaries here]. To add it: |
|||
<source lang="bash"> |
|||
⚫ | |||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F82FBD49 |
|||
⚫ | |||
</source> |
|||
Add file <tt>/etc/apt/sources.list.d</tt>: |
|||
deb http://ppa.launchpad.net/zyv/ppa/ubuntu lucid main |
|||
deb-src http://ppa.launchpad.net/zyv/ppa/ubuntu lucid main |
|||
Then upgrade if needed: |
|||
<source lang="bash"> |
|||
sudo apt-get update |
|||
sudo apt-get upgrade |
|||
</source> |
Revision as of 09:58, 15 September 2010
mc or Midnight Commander is a powerful file manager working in a shell terminal.
Links
- Cool review of mc in action
- The GNOME Commander, a X alternative of mc under Gnome
- Krusader, a X alternative of mc under KDE
ini file
- mc will only save the option ini file if there is a directory ~/.mc in home directory:
mkdir ~/.mc
- To use vi as standard editor/viewer
- First menu Options → Configuration... → uncheck use internal edIt and Use internal view.
- Next, at the end of file .mc/bindings:
default/*
Open=
View=view %f
Edit=%var{EDITOR:vi} %f
Keyboard shorcuts
- Gnome-Terminal — To solve the conflicts with Gnome Terminal, disable the Terminal menu shortcut key (to enable F10) and Menu Access Keys (to enable A-h...) in Gnome-Terminal.
- Auto-Complete — The usual shortcut for auto-complete Meta-Tab (i.e. Alt-Tab) doesn't work in graphical environment because it is used for switching between windows. As a replacement, one can use Esc-Tab, or can define a new shortcut with Options... → Learn Keys... (e.g. use Ctrl-N as in Vim).
- Frequently used keyboard shortcuts (custom shortcuts defined with Learn Keys... are underlined)
General:
Shell Command Line
|
Directory panels
|
Official repository
Besides Ubuntu repository, the official one is here. To add it:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F82FBD49
Add file /etc/apt/sources.list.d:
deb http://ppa.launchpad.net/zyv/ppa/ubuntu lucid main deb-src http://ppa.launchpad.net/zyv/ppa/ubuntu lucid main
Then upgrade if needed:
sudo apt-get update
sudo apt-get upgrade