emacs-elpa-diffs
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]