MG(1) General Commands Manual MG(1) (NAME) mg - (emacs) (SYNOPSIS) mg [-nR] [-b file] [-f mode] [-u file] [+number] [file ...] (DESCRIPTION) mg ( ) emacs vi(1) . emacs emacs vi(1) . : +number ( `+' ). +-1 +-2 . -b file (batch mode) mg file . -f mode mode scratch . -n . -R . -u file file ~/.mg. (WINDOWS AND BUFFERS) mg . . . . mg mg (y) (n) (r). . (POINT AND MARK) mg (point) ( dot) . (mark) . (region) ( ) . . : emacs mg . (BACKUP FILES) `~' . make-backup-files . ~/.mg.d . backup-to-home-directory . /tmp leave-tmpdir-backups . (TAGS) mg ctags(1) . emacs etags ctags. (CSCOPE) mg cscope . mg cscope cscope-indexer PATH . (DEFAULT KEY BINDINGS) GNU Emacs . C-x Control-x M-x Meta-x Meta ALT ESC X . C-SPC set-mark-command C-a beginning-of-line C-b backward-char C-c s c cscope-find-functions-calling-this-function C-c s d cscope-find-global-definition C-c s e cscope-find-egrep-pattern C-c s f cscope-find-this-file C-c s i cscope-find-files-including-file C-c s n cscope-next-symbol C-c s p cscope-prev-symbol C-c s s cscope-find-this-symbol C-c s t cscope-find-this-text-string C-d delete-char C-e end-of-line C-f forward-char C-g keyboard-quit C-h C-h help-help C-h a apropos C-h b describe-bindings C-h c describe-key-briefly C-j newline-and-indent C-k kill-line C-l recenter RET newline C-n next-line C-o open-line C-p previous-line C-q quoted-insert C-r isearch-backward C-s isearch-forward C-t transpose-chars C-u universal-argument C-v scroll-up C-w kill-region C-x C-b list-buffers C-x C-c save-buffers-kill-emacs C-x C-f find-file C-x C-j dired-jump C-x C-g keyboard-quit C-x C-l downcase-region C-x C-o delete-blank-lines C-x C-q toggle-read-only C-x C-r find-file-read-only C-x C-s save-buffer C-x C-u upcase-region C-x C-v find-alternate-file C-x C-w write-file C-x C-x exchange-point-and-mark C-x ( start-kbd-macro C-x ) end-kbd-macro C-x 0 delete-window C-x 1 delete-other-windows C-x 2 split-window-vertically C-x 4 C-f find-file-other-window C-x 4 C-g keyboard-quit C-x 4 b switch-to-buffer-other-window C-x 4 f find-file-other-window C-x = what-cursor-position C-x ^ enlarge-window C-x ` next-error C-x b switch-to-buffer C-x d dired C-x e call-last-kbd-macro C-x f set-fill-column C-x g goto-line C-x h mark-whole-buffer C-x i insert-file C-x k kill-buffer C-x n other-window C-x o other-window C-x p previous-window C-x s save-some-buffers C-x u undo C-y yank C-z suspend-emacs M-C-v scroll-other-window M-SPC just-one-space M-! shell-command M-. find-tag M-* pop-tag-mark M-% query-replace M-< beginning-of-buffer M-> end-of-buffer M-\ delete-horizontal-space M-^ join-line M-b backward-word M-c capitalize-word M-d kill-word M-f forward-word M-h mark-paragraph M-l downcase-word M-m back-to-indentation M-q fill-paragraph M-r search-backward M-s search-forward M-t transpose-words M-u upcase-word M-v scroll-down M-w copy-region-as-kill M-x execute-extended-command M-z zap-to-char M-{ backward-paragraph M-| shell-command-on-region M-} forward-paragraph M-~ not-modified M-DEL backward-kill-word C-_ undo ) blink-and-insert DEL delete-backward-char MG (MG COMMANDS) . "M-x describe-bindings" . MG (MG COMMANDS) "M-x" . n . M- ( n ) (universal argument) C-u . M-x . ( make-backup-files). . . apropos (Apropos). *help* mg . audible-bell . auto-execute ( ) . auto-fill-mode ( mail-mode ) . set-default-mode . auto-indent-mode . set-default-mode . back-to-indentation . backup-to-home-directory ~/.mg.d . make-backup-files . backward-char . backward-kill-word n . backward-paragraph n . . backward-word . beginning-of-buffer . (mark) . n n/10 . beginning-of-line . blink-and-insert . . global-set-key . bsmap-mode bsmap DEL C-h . c-mode KNF C. call-last-kbd-macro . capitalize-word n . cd . global-wd-mode . column-number-mode . copy-region-as-kill . kill-region yank . count-matches . count-non-matches . cscope-find-this-symbol . cscope-find-global-definition . cscope-find-called-functions . cscope-find-functions-calling-this-function . cscope-find-this-text-string . cscope-find-egrep-pattern . cscope-find-this-file . cscope-find-files-including-file #include . cscope-next-symbol . cscope-prev-symbol . cscope-next-file . cscope-prev-file . cscope-create-list-of-files-to-index cscope . define-key () mg . delete-backward-char n . delete-char (kill) . delete-blank-lines . . delete-char n . . delete-horizontal-space . delete-leading-space . delete-trailing-space . delete-matching-lines . delete-non-matching-lines . delete-other-windows . delete-window . describe-bindings *help*. describe-key-briefly . . diff-buffer-with-file . digit-argument . dired-jump dired . downcase-region . downcase-word n . emacs-version mg. end-kbd-macro . end-of-buffer . . n n/10 . end-of-line . enlarge-window . eval-current-buffer mg. mg . eval-expression . mg . exchange-point-and-mark <<>> <<>> . . execute-extended-command M-x. . . . fill-paragraph . find-file . . . find-file-read-only find-file . find-alternate-file . find-file (kill) . . find-file-other-window . . find-tag . forward-char ( n ) n . . forward-paragraph n . . forward-word . global-set-key (). global-unset-key () 'rescan'. global-wd-mode . mg ( compile grep) . . goto-line . . help-help (a)propos (b)indings des(c)ribe key briefly . insert . insert-buffer . insert-file . insert-with-wrap (word wrap). . isearch-backward ( ). . search-backward . isearch-forward ( ). . search-forward . join-line . . just-one-space . keyboard-quit . kill-buffer . . kill-line (kill) . . 0 . . abs(n) . kill-paragraph n . kill-region . kill-word n . leave-tmpdir-backups backup-to-home-directory . /tmp ~/.mg.d . line-number-mode . list-buffers . '>' . . . . load . local-set-key ( ). local-unset-key ( ). make-backup-files . . make-directory . mark-paragraph n . mark-whole-buffer . meta-key-mode meta (8 ) . meta . negative-argument . newline . newline-and-indent no-tab-mode . next-line n . no-tab-mode notab. . set-default-mode . not-modified . open-line . n . other-window ( ) . . overwrite-mode . set-default-mode . prefix-region . set-prefix-string . previous-line n . previous-window ( ) . . pop-tag-mark find-tag . push-shell mg . pwd () . query-replace (Query Replace). . replace-regexp . replace-string . query-replace-regexp . . quoted-insert () . re-search-again . re-search-backward . . [ ] . re-search-forward . . . . . recenter . . (n) n . n . redraw-display . . revert-buffer . save-buffer . save-buffers-kill-emacs mg. save-some-buffers . ( *scratch* *grep* *compile*) . scroll-down n . . . scroll-one-line-down n . scroll-one-line-up n . scroll-other-window n . scroll-up . . . search-again . search-backward ( ). . ( ) . search-forward . . . self-insert-command . sentence-end-double-space . . fill-paragraph . set-case-fold-search . . set-case-replace . . set-default-mode . fill indent notab overwrite . set-fill-column (fill column) . auto-fill-mode . set-mark-command . set-prefix-string prefix-region . set-tab-width . shell-command . (universal argument) . shell-command-on-region . . shrink-window . . . space-to-tabstop (tab-stop) . 8 . split-window-vertically . 3 . start-kbd-macro . end-kbd-macro . suspend-emacs mg . switch-to-buffer . switch-to-buffer-other-window . toggle-read-only . toggle-read-only-all (non-ephemeral). . transpose-chars . . transpose-paragraphs . n . transpose-words . undo (Undo) . . undo-boundary (undo boundary). . undo-boundary-toggle . . undo-enable . undo-list . universal-argument 4 . C-u . C-u C-u C-f 16 . upcase-region . . upcase-word . . visible-bell . . visit-tags-table find-tag. what-cursor-position . ( ) ( ) . . write-file . . yank (yank) kill-buffer. emacs mg . zap-to-char . zap-up-to-char zap-to-char . DIRED MG (MG DIRED KEY BINDINGS) dired . DEL dired-unmark-backward RET, e, f and C-m dired-find-file SPC, n dired-next-line ! dired-shell-command + dired-create-directory ^ dired-up-directory a dired-find-alternate-file c dired-do-copy d and C-d dired-flag-file-deletion g dired-revert j dired-goto-file o dired-find-file-other-window p dired-previous-line q quit-window r dired-do-rename u dired-unmark x dired-do-flagged-delete C-v dired-scroll-down M-v dired-scroll-up DIRED MG (MG DIRED COMMANDS) dired : dired-create-directory . dired-do-copy dired. dired-do-flagged-delete . dired-do-rename dired. dired-find-alternate-file dired dired . dired-find-file dired. dired . dired-flag-file-deletion . D . dired-do-flagged-delete . dired-find-file-other-window dired . dired-goto-file dired. dired-next-line . dired-other-window dired dired . dired-previous-line . dired-revert dired . dired-scroll-down dired. dired-scroll-up dired. dired-shell-command (pipe) . dired-unmark . dired-unmark-backward dired . dired-up-directory dired . quit-window dired . (CONFIGURATION FILES) : .mg .mg-TERM. TERM "vt100" mg .mg-vt100 . . ( ) . : global-set-key ")" self-insert-command global-set-key "\^x\^f" find-file global-set-key "\e[Z" backward-char set-default-mode fill set-fill-column 72 auto-execute *.c c-mode `;' `#' (comment) . (FILES) ~/.mg ~/.mg-TERM ~/.mg.d /usr/share/doc/mg/tutorial (SEE ALSO) ctags(1), vi(1) (CAVEATS) C . ( ) Meta meta-key-mode . UTF-8 . Linux 6.12.111+deb13-amd64 July 10, 2024 Linux 6.12.111+deb13-amd64