[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/crux 16eb56d 011/112: Kill crux-setup-default-keybindings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/crux 16eb56d 011/112: Kill crux-setup-default-keybindings |
Date: |
Wed, 11 Aug 2021 09:57:44 -0400 (EDT) |
branch: elpa/crux
commit 16eb56d04a6496a6f140c6e64bb877e03e9d7237
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>
Kill crux-setup-default-keybindings
As requested by @purcell.
---
crux.el | 31 -------------------------------
1 file changed, 31 deletions(-)
diff --git a/crux.el b/crux.el
index 67d450d..57a015a 100644
--- a/crux.el
+++ b/crux.el
@@ -348,36 +348,5 @@ Doesn't mess with special buffers."
(t (error "Unknown shell")))))
(find-file-other-window (expand-file-name shell-init-file (getenv
"HOME")))))
-;;;###autoload
-(defun crux-setup-default-keybindings ()
- "Set the recommended global keybindings for crux's commands."
- (interactive)
- (global-set-key [remap move-beginning-of-line] #'crux-move-beginning-of-line)
- (global-set-key (kbd "C-c o") #'crux-open-with)
- ;; mimic popular IDEs binding, note that it doesn't work in a terminal
session
- (global-set-key [(shift return)] #'crux-smart-open-line)
- (global-set-key (kbd "M-o") #'crux-smart-open-line)
- (global-set-key [(control shift return)] #'crux-smart-open-line-above)
- (global-set-key (kbd "C-c n") #'crux-cleanup-buffer-or-region)
- (global-set-key (kbd "C-c f") #'crux-recentf-ido-find-file)
- (global-set-key (kbd "C-M-z") #'crux-indent-defun)
- (global-set-key (kbd "C-c u") #'crux-view-url)
- (global-set-key (kbd "C-c e") #'crux-eval-and-replace)
- (global-set-key (kbd "C-c s") #'crux-swap-windows)
- (global-set-key (kbd "C-c D") #'crux-delete-file-and-buffer)
- (global-set-key (kbd "C-c r") #'crux-rename-buffer-and-file)
- (global-set-key (kbd "C-c t") #'crux-visit-term-buffer)
- (global-set-key (kbd "C-c k") #'crux-kill-other-buffers)
- (global-set-key (kbd "C-c TAB") #'crux-indent-rigidly-and-copy-to-clipboard)
- (global-set-key (kbd "C-c I") #'crux-find-user-init-file)
- (global-set-key (kbd "C-c S") #'crux-find-shell-init-file)
- (global-set-key (kbd "s-r") #'crux-recentf-ido-find-file)
- (global-set-key (kbd "s-j") #'crux-top-join-line)
- (global-set-key (kbd "C-^") #'crux-top-join-line)
- (global-set-key (kbd "s-k") #'crux-kill-whole-line)
- (global-set-key (kbd "C-<backspace>" #'crux-kill-line-backwards))
- (global-set-key (kbd "s-o") #'crux-smart-open-line-above)
- (global-set-key [remap kill-whole-line] #'crux-kill-whole-line))
-
(provide 'crux)
;;; crux.el ends here
- [nongnu] elpa/crux 66f4292 006/112: Code style, (continued)
- [nongnu] elpa/crux 66f4292 006/112: Code style, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux aafcf48 009/112: Introduce some customization options, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux c174247 014/112: Change crux-kill-like-backward to crux-kill-line-backward, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 0f04d98 015/112: Fix unbound var reference, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 3009713 018/112: Update the copyright, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 86cabce 027/112: Merge pull request #10 from waymondo/file-and-buffer-naming-conventions, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 5ee7dc9 032/112: Require tramp for `tramp-tramp-file-p`, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux b07b31a 005/112: Move a function around, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux b5eac2a 008/112: Code style, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 3088be2 012/112: Add a way to make commands operate on either a region or a buffer, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 16eb56d 011/112: Kill crux-setup-default-keybindings,
ELPA Syncer <=
- [nongnu] elpa/crux d2643ae 019/112: Add crux-ispell-word-then-abbrev, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 382834e 020/112: Fix contributors link, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e6e3221 025/112: Fix crux-*-file-and-buffer commands inconsistencies and alias the inverse, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 4c90762 026/112: Add complementary `with-region-or-line` & `with-region-or-point-to-eol`, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e4c539b 028/112: Merge pull request #9 from waymondo/with-region-or-line, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux dc1606b 034/112: Add crux-transpose-windows for swapping the buffers between two windows, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 2be95ea 040/112: Use read-from-minibuffer for the new file name, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux e2124c8 023/112: Merge pull request #6 from verdammelt/patch-1, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 3c14b4a 024/112: Merge pull request #13 from jiegec/master, ELPA Syncer, 2021/08/11
- [nongnu] elpa/crux 79e500e 030/112: Add multiple choice with completion for shell init files., ELPA Syncer, 2021/08/11