Removed unused shortcuts

This commit is contained in:
Lucien Cartier-Tilet 2020-07-11 18:31:52 +02:00
parent e04333b237
commit bd5922e7d7
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -3056,17 +3056,10 @@
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: User_Configuration-Shortcuts-aef3f7a7 :CUSTOM_ID: User_Configuration-Shortcuts-aef3f7a7
:END: :END:
As you will see, I defined a LOT of custom shortcuts. Most of them are As you will see, I defined a LOT of custom shortcuts. All of them are
Spacemacs shortcuts, defined in a way they can be used seamlessly with Evil. Spacemacs shortcuts, defined in a way they can be used seamlessly with Evil.
Only two shortcuts are defined the vanilla way for Emacs: They all begin with ~o~, which is a prefix reserved for user-defined
#+BEGIN_SRC emacs-lisp shortcuts so they wont conflict with any package. Lets declare it like so.
(global-set-key (kbd "M-»") 'end-of-buffer)
(global-set-key (kbd "M-«") 'beginning-of-buffer)
#+END_SRC
Spacemacs shortcuts all begin with ~o~, which is a prefix reserved for
user-defined shortcuts so they wont conflict with any package. Lets declare
it like so.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(spacemacs/declare-prefix "o" "custom") (spacemacs/declare-prefix "o" "custom")
#+END_SRC #+END_SRC