Re: Define a shortcut key for search
- From: Keith Roberts <keith karsites net>
- Cc: mc gnome org
- Subject: Re: Define a shortcut key for search
- Date: Thu, 26 Feb 2009 18:08:55 +0000 (GMT)
On Wed, 25 Feb 2009, Enrico Weigelt wrote:
To: mc gnome org
From: Enrico Weigelt <weigelt metux de>
Subject: Re: Define a shortcut key for search
* Caj Zell <caj zell swipnet se> wrote:
On Jan 29, 2009, Enrico Weigelt wrote:
* Mark Ryden <markryde gmail com> schrieb:
For now, hotkeys are hardcoded, so you'll have to change
the code. Is there an reasonable interest in
configurable key bindings ?
Yes, very much so. Changing sort order and toggling of
hidden files view would be very nice to have the
possibility of configuring your own, or at least to have
as shortcuts (in that case, preferably the ones Total
Commander have chosen).
I'm currently thinking of some tiny generic library for
this, which does like this:
a) commands have names (maybe even cmdline args ?)
b) hotkeys are mappings between keycodes and commands
c) menus/buttons map to command names
d) the mappings can be loaded from external files
But: using command names doesnt necessarily mean that
every time strings have to be passed and parsed, instead
an simple function could construct a direct pointer list
where the caller works on.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service - http://www.metux.de/
---------------------------------------------------------------------
Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
---------------------------------------------------------------------
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc
I'd also like to see user-defined shortcut keys for mc
please. So each user can tailor the shortcut keys for their
own implementation of mc. Maybe mc could start with a set of
default shorcuts that could then be customised?
Kind Regards,
Keith Roberts
-----------------------------------------------------------------
Websites:
http://www.php-debuggers.net
http://www.karsites.net
http://www.raised-from-the-dead.org.uk
All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]