-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set keybindings #15963
Comments
What do you mean by cannot set key bindings? What do you see You should not change leader key to |
The description states: |
Basically you can set keybindings in your dotfile, you just need to hit the right keymap and you have to make sure that you don't create any issues by accessing resources which are not yet existing, if this happens your code is only partially executed and you will see no results, check your message buffer for exceptions if this happens. Here is a small example how you would set keybindings: (defun dotspacemacs/user-config ()
"Configuration for user code:
This function is called at the very end of Spacemacs startup, after layer
configuration.
Put your configuration code here, except for variables that should be set
before packages are loaded."
(define-key global-map (kbd "C-c C-l") 'org-insert-link)
(define-key evil-emacs-state-map (kbd "C-c C-l") 'org-insert-link)
(global-set-key (kbd "C-c C-l") 'org-insert-link) |
Unable to set custom keybindings using emacs mode, tried using the following:
Also unable to change leader key to C-c
The text was updated successfully, but these errors were encountered: