Last active
October 24, 2019 16:18
-
-
Save kevinjamescasey/bbb861c59c3edb35cccfe3234c27f073 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun dotspacemacs/user-config () | |
"Configuration function for user code. | |
This function is called at the very end of Spacemacs initialization after | |
layers configuration. | |
This is the place where most of your configurations should be done. Unless it is | |
explicitly specified that a variable should be set before a package is loaded, | |
you should place your code here." | |
(global-set-key (kbd "C-x C-b") 'ibuffer-list-buffers) | |
(global-set-key (kbd "M-z") 'zap-up-to-char) | |
(global-set-key [remap move-beginning-of-line] #'crux-move-beginning-of-line) | |
(global-set-key (kbd "M-o") 'ace-window) | |
(global-set-key (kbd "C-x g") 'magit-status) | |
(global-set-key (kbd "M-,") 'beginning-of-buffer) | |
(global-set-key (kbd "M-.") 'end-of-buffer) | |
(global-set-key (kbd "C-;") 'er/expand-region) | |
(define-key (current-global-map) "\C-c!" 'shell-here) | |
(add-hook 'yaml-mode-hook | |
(lambda () | |
(load-file "~/emacs_configs/yaml-path.el"))) ;https://github.com/craig-ludington/yaml-path/blob/master/yaml-path.el | |
(setf epa-pinentry-mode 'loopback); make gpg prompt for passphrase | |
(global-company-mode) | |
(delete-selection-mode 1);overwrite selected region | |
(global-unset-key (kbd "s-m")) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To apply the modifications made in ~/.spacemacs press SPC f e R. It will re-execute the Spacemacs initialization process.