summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
AgeCommit message (Expand)Author
2008-09-15Expose the undo commands as proper mg functions.Kjell Wooding
2008-09-15Enable dirty buffer detection in mg.Kjell Wooding
2008-06-14Add compile (c-C c-P) to the c-mode keymap (export from grep.c)Kjell Wooding
2008-06-14unf*ck undo.Kjell Wooding
2008-06-13phessler noted that c-mode ignored blinking braces.Kjell Wooding
2008-06-12Introduce a basic c-mode to mg.Kjell Wooding
2008-06-11Add delete-leading-space, delete-trailing-space,Kjell Wooding
2008-06-10Add a clear-mark function.Kjell Wooding
2007-05-28Add a global-wd-mode command, which toggles between the currentKjell Wooding
2007-02-21Fix a reference to WFHARD in a comment; it was renamed WFFULL monthsDeanna Phillips
2006-11-19spacingTheo de Raadt
2006-11-17Fix a needless inversion of flag names; i.e. change them from theKjell Wooding
2006-08-01* move sys/queue.h inclusion to sysdef.h (it's system specific)Jason Wright
2006-07-25Add bfirstlp(), blastlp() macros, returning the first and last linesKjell Wooding
2006-07-25Rename the header line of a buffer to b_headp, from the remarkablyKjell Wooding
2006-07-08Introduce a 'MODIFIED' boundary type for undo records.Kjell Wooding
2006-06-01Display line number in the mg statusbar. Yes, it seems like a fuglyKjell Wooding
2006-06-01make // /~ path rewriting optional in adjustname() and use it everywhereJason Wright
2006-05-29Another mnemonic rename, missed the first time.Kjell Wooding
2006-05-28Make Window Flags more mnemonic (and less dumb); i.e.Kjell Wooding
2006-05-27Move mg "line to c-string" functionality to a function.Kjell Wooding
2006-05-08spacingKjell Wooding
2006-05-02Make buffers store their own working directory. This makes things likeKjell Wooding
2006-04-06Fix a bug whereby a written buffer (^X^W) would not have the correctKjell Wooding
2006-04-03fixed "text in message line would get stuck there" issue.Kjell Wooding
2006-02-25Fix a coredump occurring when the terminal is resized while mg isOtto Moerbeek
2005-12-20Clean up the ugly casted frees. In one case, this meant eliminating a nastyKjell Wooding
2005-12-13Last round of easy delinting.Kjell Wooding
2005-12-13More name-clash delintingKjell Wooding
2005-12-13If you're going to pass a length parameter, you should use it.Kjell Wooding
2005-11-22Move kill-related commands to their own file.Kjell Wooding
2005-11-20toast NO_DIRED #ifdef; ok kjellTheo de Raadt
2005-11-18Split kill buffer code into a separate function.Kjell Wooding
2005-11-18clean up some comments after theo's cleanupKjell Wooding
2005-11-18greedy use of typedef struct was making code harder to read; ok kjell cloderTheo de Raadt
2005-11-18Casefold on replace was killed ages ago (it was wrong). Remove aKjell Wooding
2005-11-07Move most of the dired hooks into dired.c. While here, enable someKjell Wooding
2005-10-14move the dired routines into dired.c where they belong.Kjell Wooding
2005-10-13Make dired buffer read-only by default.Kjell Wooding
2005-10-13Use dired mode automatically if file specified for loading isKjell Wooding
2005-10-13Make mg's grep and compile more path-aware, by defaulting toKjell Wooding
2005-10-11A while back, undo records were moved from the BUFFER struct to MGWIN.Kjell Wooding
2005-10-11Enable the 'next-error' (C-x `) keybinding by default.Kjell Wooding
2005-10-06Make mg undo much more emacs like (and correct).Kjell Wooding
2005-06-14Add explicit public domain notices to all public domain files.Kjell Wooding
2005-05-31fix broken minibuffer defaults introduced in echo.c:1.33Kjell Wooding
2005-05-30add find-alternate-file command and binding for ^X^V; ok cloderJason Wright
2005-05-27Add emacs-style replace-string function that does not prompt youChad Loder
2005-04-03This is a no binary change which does:David Berghoff
2005-03-12spacingTheo de Raadt