Fix the crux-like changes (#995)
This commit is contained in:
parent
61dfff4b9e
commit
32354c79c5
5 changed files with 18 additions and 19 deletions
|
@ -70,7 +70,7 @@ Will only occur if `prelude-whitespace' is also enabled."
|
|||
Prelude recommends you only put personal customizations in the
|
||||
personal folder. This variable allows you to specify a specific
|
||||
folder as the one that should be visited when running
|
||||
`prelude-find-user-init-file'. This can be easily set to the desired buffer
|
||||
`crux-find-user-init-file'. This can be easily set to the desired buffer
|
||||
in lisp by putting `(setq prelude-user-init-file load-file-name)'
|
||||
in the desired elisp file."
|
||||
:type 'string
|
||||
|
@ -99,7 +99,7 @@ Only modes that don't derive from `prog-mode' should be listed here."
|
|||
:group 'prelude)
|
||||
|
||||
(defcustom prelude-shell (getenv "SHELL")
|
||||
"The default shell to run with `prelude-visit-term-buffer'"
|
||||
"The default shell to run with `crux-visit-term-buffer'"
|
||||
:type 'string
|
||||
:group 'prelude)
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@
|
|||
(other-window -1))) ;; back one
|
||||
|
||||
;; Indentation help
|
||||
(global-set-key (kbd "C-^") 'prelude-top-join-line)
|
||||
|
||||
(global-set-key (kbd "C-^") 'crux-top-join-line)
|
||||
;; Start proced in a similar manner to dired
|
||||
(unless (eq system-type 'darwin)
|
||||
(global-set-key (kbd "C-x p") 'proced))
|
||||
|
@ -86,7 +85,7 @@
|
|||
(kill-line 0)
|
||||
(indent-according-to-mode)))
|
||||
|
||||
(global-set-key [remap kill-whole-line] 'prelude-kill-whole-line)
|
||||
(global-set-key [remap kill-whole-line] 'crux-kill-whole-line)
|
||||
|
||||
;; Activate occur easily inside isearch
|
||||
(define-key isearch-mode-map (kbd "C-o") 'isearch-occur)
|
||||
|
|
|
@ -88,31 +88,31 @@
|
|||
(easy-menu-add-item nil '("Tools")
|
||||
'("Prelude"
|
||||
("Files"
|
||||
["Open with..." prelude-open-with]
|
||||
["Delete file and buffer" prelude-delete-file-and-buffer]
|
||||
["Rename buffer and file" prelude-rename-buffer-and-file])
|
||||
["Open with..." crux-open-with]
|
||||
["Delete file and buffer" crux-delete-file-and-buffer]
|
||||
["Rename buffer and file" crux-rename-buffer-and-file])
|
||||
|
||||
("Buffers"
|
||||
["Clean up buffer or region" prelude-cleanup-buffer-or-region]
|
||||
["Kill other buffers" prelude-kill-other-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]
|
||||
["Indent rigidly and copy to clipboard" prelude-indent-rigidly-and-copy-to-clipboard]
|
||||
["Insert date" prelude-insert-date]
|
||||
["Eval and replace" prelude-eval-and-replace]
|
||||
["Indent rigidly and copy to clipboard" crux-indent-rigidly-and-copy-to-clipboard]
|
||||
["Insert date" crux-insert-date]
|
||||
["Eval and replace" crux-eval-and-replace]
|
||||
)
|
||||
|
||||
("Windows"
|
||||
["Swap windows" prelude-swap-windows])
|
||||
["Swap windows" crux-swap-windows])
|
||||
|
||||
("General"
|
||||
["Visit term buffer" prelude-visit-term-buffer]
|
||||
["Visit term buffer" crux-visit-term-buffer]
|
||||
["Search in Google" prelude-google]
|
||||
["View URL" prelude-view-url]))
|
||||
["View URL" crux-view-url]))
|
||||
"Search Files (Grep)...")
|
||||
|
||||
(easy-menu-add-item nil '("Tools") '("--") "Search Files (Grep)..."))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue