From e613f2f23622528955539ea3956291ee6f3c0952 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Thu, 9 Aug 2018 08:25:07 +0300 Subject: [PATCH] Improve the mode menu a bit --- core/prelude-mode.el | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/core/prelude-mode.el b/core/prelude-mode.el index 56dfe74024..89f445d3b8 100644 --- a/core/prelude-mode.el +++ b/core/prelude-mode.el @@ -89,19 +89,28 @@ '("Prelude" ("Files" ["Open with..." crux-open-with] + ["Re-open as root" crux-reopen-as-root] ["Delete file and buffer" crux-delete-file-and-buffer] - ["Rename buffer and file" crux-rename-buffer-and-file]) + ["Rename buffer and file" crux-rename-buffer-and-file] + ["Find init file" crux-find-user-init-file] + ["Find custom file" crux-find-user-custom-file] + ["Find shell config file" crux-find-shell-init-file]) ("Buffers" ["Clean up buffer or region" crux-cleanup-buffer-or-region] ["Kill other buffers" crux-kill-other-buffers]) ("Editing" - ["Insert empty line" prelude-insert-empty-line] - ["Move line up" prelude-move-line-up] - ["Move line down" prelude-move-line-down] - ["Duplicate line or region" prelude-duplicate-current-line-or-region] + ["Go to beginning of line" crux-move-beginning-of-line] + ["Kill line" crux-smart-kill-line] + ["Kill whole line" crux-kill-whole-line] + ["Insert empty line below" crux-smart-open-line] + ["insert empty line above" crux-smart-open-line-above] + ["Move up" move-text-up] + ["Move down" move-text-down] + ["Duplicate line or region" crux-duplicate-current-line-or-region] ["Indent rigidly and copy to clipboard" crux-indent-rigidly-and-copy-to-clipboard] + ["Indent defun" crux-indent-defun] ["Insert date" crux-insert-date] ["Eval and replace" crux-eval-and-replace] )