summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Expand)Author
2019-06-17From Leonid Bobrov: add a condition to {beginning,end}-of-buffer toMark Lumsden
2019-06-14Note a segv with fprintf if a file with long lines is loaded withMark Lumsden
2019-06-12The output of line info in the line.log file now contains theMark Lumsden
2019-06-12A note about log.c.Mark Lumsden
2019-06-10Fix not checking correct fprintf return value.Mark Lumsden
2019-06-10Add 'undo' logging (same output as undo-list command). Also, addMark Lumsden
2019-06-10Allow mg to log its internal status to a file. At the moment it onlyMark Lumsden
2019-06-07Amend showcpos() to show more information about how mg is operating.Mark Lumsden
2019-06-06tweak previous;Jason McIntyre
2019-06-03This diff gives the commands beginning-of-buffer and end-of-buffer theMark Lumsden
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2018-12-26revert "kill a region if 'delete' or 'backspace' is pressed"Peter Hessler
2018-12-18use Sq for single chars, and escape ";" properly;Jason McIntyre
2018-12-18Make mg kill a region if the 'delete' or 'backspace' keys are pressedMark Lumsden
2018-12-13Allow all non-ephemeral buffers to be toggled writable or read-onlyMark Lumsden
2018-11-18small clean up of dired sectionMark Lumsden
2018-11-17fix undo in transpose-paragraph.Mark Lumsden
2018-08-29Add set-case-replaced to toggle case-preserving replace on or off.Reyk Floeter
2018-07-12Use (mostly) the same capitalisation in the replacement string as inFlorian Obser
2018-07-11When in incremental search handle ^M (a.k.a. <cr>) like ^[ (a.k.a.Kenneth R Westerback
2018-05-28Mention column-number-mode in the tutorial to clear up a potentiallyBrian Callahan
2018-04-13mg tries to write backups to the wrong directory when run under aFlorian Obser
2018-01-09Extract compile_mode command status with WEXITSTATUS.cheloha
2017-12-17Let the Insert key toggle overwrite mode. This matches GNU Emacs behavior.Brian Callahan
2017-12-11fix the description of delete-non-matching-lines;Jason McIntyre
2017-10-12Replace fgetln(3) with getline(3) which is portable and less error prone.Florian Obser
2017-09-09When inserting a newline, only increment dotline for windows that areFlorian Obser
2017-08-06Present the default choice before the colon in prompts. Matches GNU EmacsBrian Callahan
2017-07-06Fix display of overlong lines containing non-ASCII bytes.Ingo Schwarze
2017-05-30The is open-file command is actually called find-file. Typo pointed outTheo Buehler
2017-05-30fix -Wshadow warnings.Florian Obser
2017-03-13When aborting switch-to-buffer keep current buffer instead ofFlorian Obser
2016-10-24remove double semicolonJasper Lievisse Adriaanse
2016-10-07Switch a SLIST_FOREACH loop containing SLIST_REMOVE to SLIST_FOREACH_SAFE.Jonathan Gray
2016-09-16like the sparc port, ancient wisdom is ancient. consign to the archives.Ted Unangst
2016-09-12If we can't get the CWD, use relative paths. Fixes editing filesTodd C. Miller
2016-09-11Install mg tutorial with correct permissions. ok deraadtMartin Natano
2016-09-09Source Joachim Nilsson:Mark Lumsden
2016-09-08Source Joachim Nilsson:Mark Lumsden
2016-09-07Source Joachim Nilsson:Mark Lumsden
2016-09-06If you have a paragraph:Mark Lumsden
2016-09-05Initialize stack variables to zero before memmove().Mark Lumsden
2016-09-01Fix file descriptor leakMark Lumsden
2016-09-01Fix possible NULL pointer dereference.Sunil Nimmagadda
2016-08-31Fix a bug reported by Han Boetes. Easily reproducible via:Mark Lumsden
2016-08-16All that complexity stopped us from getting flying cars by today.Ted Unangst
2016-07-28strncmp is a more reasonable way to check the beginning of a string.Ted Unangst
2016-07-28these programs probably do not need to use TMPDIR. ok florianTed Unangst
2016-07-14make several program to use "chown" promise.Sebastien Marie
2016-07-04Use fstatat() instead of crafting a filename to use with stat()Philip Guenther