summaryrefslogtreecommitdiff
path: root/usr.bin/mg/keymap.c
AgeCommit message (Collapse)Author
2006-08-18Move backward-paragraph, forward-paragraph to M-{, M-} respectively.Kjell Wooding
(not M-[, M-]). This is where emacs has it.
2006-07-27unused functionTheo de Raadt
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-07Move most of the dired hooks into dired.c. While here, enable someKjell Wooding
dired functions that were written, but not bound to keys. No other functional change. Tested by Han Boetes.
2005-10-13spacingTheo de Raadt
2005-10-13add the (emacs) toggle-readonly keybinding (C-x C-q).Kjell Wooding
Also, remove a silly non-emacsism.
2005-10-13Fix dired mode. Make deletions work, and keystrokes match emacs.Kjell Wooding
* dired-other-window should default to current buffer's path. * Remove redundant code (from Han Boetes) * Move initialization (and since we're here, fix mail-mode initialization too) * Remove redundant keymap in dired.c, and replace it with the better one that was being ignored in keymap.c.
2005-10-11Enable the 'next-error' (C-x `) keybinding by default.Kjell Wooding
Niklas, this one is for you. ok deraadt@, cloder@
2005-10-06Add find-file-read-only keybinding (c-X c-R), as in emacs.Kjell Wooding
closes PR4523. Enjoy, jason!
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
ok millert@, deraadt@
2005-05-30add find-alternate-file command and binding for ^X^V; ok cloderJason Wright
(you're welcome kjell)
2005-04-03This is a no binary change which does:David Berghoff
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification ok henning@
2005-03-09fix mg's behaviour with regards to files on which we do not haveJean-Francois Brousseau
write access. diff originally from vincent@ and forgotten for a while. ok rohee@, "toss it in, i'll bitch if it doesn't work" henning@
2002-12-09bind ^Xg to gotoline by defaultTheo de Raadt
2002-09-28use rescan, not NULL, since ^X-t is not a prefixTheo de Raadt
2002-09-26activate the two key sequences for undo again; ok art henningTheo de Raadt
2002-06-27seems c-x c-q is for the vc- mode. remove it.Vincent Labrecque
2002-06-27 bind C-x C-q to toggle-read-only, just like emacs.Vincent Labrecque
ok deraadt@
2002-05-29 zap the ctrl-x ctrl-v keybinding for find-file-read-only. looks likeVincent Labrecque
i need more studying of emacs' keybindings :-) ok art@ (i guess that's what "vincent, zap out the keybinding" meant)
2002-05-29 add a function to visit a file read-only mapped to C-x C-vVincent Labrecque
ok art@
2002-03-11 * Move to ANSI function definitions.Vincent Labrecque
* Add a whole lot of consts where I thought it made sense no ok, but no objections either...
2002-03-01disable undo until it is fixed to be (1) correct and (2) not crash like it ↵Theo de Raadt
does now
2002-02-21^Xu is also an undo charTheo de Raadt
2002-02-20bind C-_ to undo.Artur Grabowski
2002-02-08more gosmacsTheo de Raadt
2001-05-24No need for those extra maps now.Artur Grabowski
2001-05-24Make the keymap/mode table growable in runtime.Artur Grabowski
2001-05-24Break out function -> name mappings to an own file.Artur Grabowski
Add a possibility to dynamically extend the function table.
2001-05-23functnames can be const, some spacesMichael Shalayeff
2001-05-23Get rid of unnecessary casts of NULL.Artur Grabowski
2001-05-23export "fundamental_map" that points to the fundamental keymapArtur Grabowski
2001-05-23No need to export nfunct and functnames now that help doesn't use themArtur Grabowski
anymore. nfunct isn't used anywhere.
2001-05-23kill complete_function. Not used anymore.Artur Grabowski
2001-05-23Get rid of 'prefix' and use NULL instead.Artur Grabowski
2001-01-29$OpenBSD$Niklas Hallqvist
2000-09-01More -Wall anmd KNF, from op2@tomahawk.SQUiSH.orgTodd C. Miller
2000-04-13The start of KNF + -Wall. The code has been run through indent butTodd C. Miller
needs hand fixup. I stopped at keymap.c...
2000-03-03Reverse rutgers change (attachtoparent vs. spawncli)Todd C. Miller
New ttreinit function that enters application mode, enables the keypad and resets the tty size. New spawn module that calls tttidy() to exit application mode (and cleanup) then calls ttreinit() after resume to get back into application mode. Assumes we have job control. This takes advantage of the xterm 'alternate screen'.
2000-02-25initial import of mg2aTheo de Raadt