Skip to content

Commit 32354c7

Browse files
hbinbbatsov
authored andcommitted
Fix the crux-like changes (#995)
1 parent 61dfff4 commit 32354c7

File tree

5 files changed

+18
-19
lines changed

5 files changed

+18
-19
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Keybinding | Description
265265
<kbd>C-+</kbd> | Increase font size(`text-scale-increase`).
266266
<kbd>C--</kbd> | Decrease font size(`text-scale-decrease`).
267267
<kbd>C-x O</kbd> | Go back to previous window (the inverse of `other-window` (`C-x o`)).
268-
<kbd>C-^</kbd> | Join two lines into one(`prelude-top-join-line`).
268+
<kbd>C-^</kbd> | Join two lines into one(`crux-top-join-line`).
269269
<kbd>C-x p</kbd> | Start `proced` (manage processes from Emacs; works only in Linux).
270270
<kbd>C-x m</kbd> | Start `eshell`.
271271
<kbd>C-x M-m</kbd> | Start your default shell.
@@ -432,7 +432,7 @@ Keybinding | Description
432432
<kbd>jj</kbd> | Jump to the beginning of a word(`avy-goto-word-1`)
433433
<kbd>jk</kbd> | Jump to a character(`avy-goto-char`)
434434
<kbd>jl</kbd> | Jump to the beginning of a line(`avy-goto-line`)
435-
<kbd>JJ</kbd> | Jump back to previous buffer(`prelude-switch-to-previous-buffer`)
435+
<kbd>JJ</kbd> | Jump back to previous buffer(`crux-switch-to-previous-buffer`)
436436
<kbd>uu</kbd> | View edits as a tree(`undo-tree-visualize`)
437437
<kbd>xx</kbd> | Executed extended command(`execute-extended-command`)
438438
<kbd>yy</kbd> | Browse the kill ring(`browse-kill-ring`)

Diff for: core/prelude-custom.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Will only occur if `prelude-whitespace' is also enabled."
7070
Prelude recommends you only put personal customizations in the
7171
personal folder. This variable allows you to specify a specific
7272
folder as the one that should be visited when running
73-
`prelude-find-user-init-file'. This can be easily set to the desired buffer
73+
`crux-find-user-init-file'. This can be easily set to the desired buffer
7474
in lisp by putting `(setq prelude-user-init-file load-file-name)'
7575
in the desired elisp file."
7676
:type 'string
@@ -99,7 +99,7 @@ Only modes that don't derive from `prog-mode' should be listed here."
9999
:group 'prelude)
100100

101101
(defcustom prelude-shell (getenv "SHELL")
102-
"The default shell to run with `prelude-visit-term-buffer'"
102+
"The default shell to run with `crux-visit-term-buffer'"
103103
:type 'string
104104
:group 'prelude)
105105

Diff for: core/prelude-global-keybindings.el

+2-3
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
(other-window -1))) ;; back one
4646

4747
;; Indentation help
48-
(global-set-key (kbd "C-^") 'prelude-top-join-line)
49-
48+
(global-set-key (kbd "C-^") 'crux-top-join-line)
5049
;; Start proced in a similar manner to dired
5150
(unless (eq system-type 'darwin)
5251
(global-set-key (kbd "C-x p") 'proced))
@@ -86,7 +85,7 @@
8685
(kill-line 0)
8786
(indent-according-to-mode)))
8887

89-
(global-set-key [remap kill-whole-line] 'prelude-kill-whole-line)
88+
(global-set-key [remap kill-whole-line] 'crux-kill-whole-line)
9089

9190
;; Activate occur easily inside isearch
9291
(define-key isearch-mode-map (kbd "C-o") 'isearch-occur)

Diff for: core/prelude-mode.el

+11-11
Original file line numberDiff line numberDiff line change
@@ -88,31 +88,31 @@
8888
(easy-menu-add-item nil '("Tools")
8989
'("Prelude"
9090
("Files"
91-
["Open with..." prelude-open-with]
92-
["Delete file and buffer" prelude-delete-file-and-buffer]
93-
["Rename buffer and file" prelude-rename-buffer-and-file])
91+
["Open with..." crux-open-with]
92+
["Delete file and buffer" crux-delete-file-and-buffer]
93+
["Rename buffer and file" crux-rename-buffer-and-file])
9494

9595
("Buffers"
96-
["Clean up buffer or region" prelude-cleanup-buffer-or-region]
97-
["Kill other buffers" prelude-kill-other-buffers])
96+
["Clean up buffer or region" crux-cleanup-buffer-or-region]
97+
["Kill other buffers" crux-kill-other-buffers])
9898

9999
("Editing"
100100
["Insert empty line" prelude-insert-empty-line]
101101
["Move line up" prelude-move-line-up]
102102
["Move line down" prelude-move-line-down]
103103
["Duplicate line or region" prelude-duplicate-current-line-or-region]
104-
["Indent rigidly and copy to clipboard" prelude-indent-rigidly-and-copy-to-clipboard]
105-
["Insert date" prelude-insert-date]
106-
["Eval and replace" prelude-eval-and-replace]
104+
["Indent rigidly and copy to clipboard" crux-indent-rigidly-and-copy-to-clipboard]
105+
["Insert date" crux-insert-date]
106+
["Eval and replace" crux-eval-and-replace]
107107
)
108108

109109
("Windows"
110-
["Swap windows" prelude-swap-windows])
110+
["Swap windows" crux-swap-windows])
111111

112112
("General"
113-
["Visit term buffer" prelude-visit-term-buffer]
113+
["Visit term buffer" crux-visit-term-buffer]
114114
["Search in Google" prelude-google]
115-
["View URL" prelude-view-url]))
115+
["View URL" crux-view-url]))
116116
"Search Files (Grep)...")
117117

118118
(easy-menu-add-item nil '("Tools") '("--") "Search Files (Grep)..."))

Diff for: modules/prelude-programming.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This functions should be added to the hooks of major modes for programming."
6060
;; smart curly braces
6161
(sp-pair "{" nil :post-handlers
6262
'(((lambda (&rest _ignored)
63-
(prelude-smart-open-line-above)) "RET")))
63+
(crux-smart-open-line-above)) "RET")))
6464

6565
;; enlist a more liberal guru
6666
(setq guru-warn-only t)

0 commit comments

Comments
 (0)