Andrew Borodin
7e33c12685
Show actual shortcuts in editor menu.
...
Key emulation in editor was removed. Default key emulation
is stored in misc/mc.keymap.default file. Emacs key emulation
is stored in misc/mc.keymap.emacs.
Editor options dialog was redesigned.
Shortcut parser was fixed.
Fixes after rebase to recent master.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:32 +03:00
Andrew Borodin
729d4f08a9
Implemented default actual shortcuts for main menu.
...
Some functions and commands are renamed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:31 +03:00
Andrew Borodin
b3b332083c
Use commands instead of callbacks to execute menu items.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-10-26 16:15:31 +03:00
Ilia Maslakov
4cd93228d4
Ticket #1683
...
add command EditToggleSyntax for toggle syntax highlight
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-10-10 15:50:58 +00:00
Ilia Maslakov
e5abe33fc6
Ticket #1669 (autoindent not working)
...
* remove unused code;
* autoindent fixed, mcedit distinguishes CK_Enter and CK_Return commands, but terminal not.
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-06 13:56:17 +00:00
Slava Zanko
9fa3347fc1
Added keymaps for some sort types.
...
* PanelSortOrderByName
* PanelSortOrderByExt
* PanelSortOrderBySize
* PanelSortOrderByMTime
Also added 'PanelReverseSort' keymap.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Slava Zanko
7896ea84f6
Added handlers for panel sort keybind actions.
...
* PanelSelectSortOrder - show 'Sort order' dialog
* PanelToggleSortOrderPrev - toggle next sort type (or reverse sort order)
* PanelToggleSortOrderNext - toggle previous sort type (or cancel reverse)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-06 10:18:54 +03:00
Stan. S. Krupoderov
35ededec26
Ticket #1390 : Key binding ctrl+t and marking files
...
mc.keymap: remap select charset to M-e, and C-t to mark file
editmenu.c, main.c: change menu items to be consistent
Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-10-05 16:02:04 +04:00
Slava Zanko
d033eb6ea0
Ticket #1655 : Unable to call 'direct' viewer (by shift+f3) key.
...
Test case:
Try to press shift+F3.
* Old behavior: call viewer in raw mode.
* New behavior: do nothing.
Fix issue:
For 'PanelViewSimple' event changed hotkey from 'shift-F3' to 'F13'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-10-03 00:45:04 +03:00
Ilia Maslakov
e68cc4b0b0
Ticket #212
...
add keybind for SelectCodepage into [editor] section
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-10-01 07:39:08 +00:00
Ilia Maslakov
53b0f8546d
Ticket #212
...
fixed completion in command line
add: EditToggleTabTWS,EditFindDefinition, EditLoadPrevFile, EditLoadNextFile actions into bindings list
add string bindings for f21..f24
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-30 12:04:17 +00:00
Ilia Maslakov
87102cc7e8
fix: main.c keys handler
...
add more keys into mc.keymap
fix: CK_SingleDirsizeCmd event
add default keys (alt-'.', alt-'+') mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@google.com>
Added alt-shift-h hotkey
Add some documentation about keymap file.
Replace some symbols into names '.' to 'dot', '?' to question, etc.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:40 +00:00
Ilia Maslakov
19bb1938f3
add alt+arrows action and descriptions into mc.keymap
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Ilia Maslakov
c893dcf1dd
fix: movement in Lynx navigation mode
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:39 +00:00
Slava Zanko
4b48da136d
Add some default hotkeys
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko
d1856a2268
Add some forgotten hotkeys.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:37 +00:00
Slava Zanko
3f95f87f5e
Rename Widget* events into Input* events.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:36 +00:00
Slava Zanko
df59561ab0
Show hotkeys as 'alt-s' instread of 'alt s'.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
dbdc3254c1
add more commands into mc.keymap
...
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
592ddbf39e
refactoring editor keybindings
...
add more keys into mc.keymap
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-09-29 17:42:35 +00:00
Ilia Maslakov
5a397a6b9a
* add new commands into cmddef.h
...
* add user keybind in widgets
* add widget keybindings
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:34 +00:00
Ilia Maslakov
71b1a8bf99
Ticket #212 (User defined hotkeys)
...
created structs:
struct name_key_map_t
struct key_config_t
global_key_map_t
add lookup_action
replace editor key map struct to global_key_map_t
add main_map screen_map
replace command CK_* to src/cmddef.h
add mc.keymap
fix misc/Makefile.am
add x_keymap
add more commands
Signed-off-by: Ilia Maslakov <il.smind@google.com>
2009-09-29 17:42:32 +00:00