My Private Spacemacs Config (as a layer)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines

  1. (use-package emms)
  2. (spacemacs/set-leader-keys "amb" 'emms-browser)
  3. (spacemacs/set-leader-keys "amr" 'emms-streams)
  4. (spacemacs/set-leader-keys "aqn" 'emms-cue-next)
  5. (spacemacs/set-leader-keys "aqp" 'emms-cue-previous)
  6. (spacemacs/set-leader-keys "avw" 'venv-workon)
  7. (spacemacs/set-leader-keys "avm" 'venv-mkvirtualenv)
  8. (spacemacs/set-leader-keys "avW" 'venv-mkvirtualenv-using)
  9. (spacemacs/set-leader-keys "avl" 'venv-lsvirtualenv)
  10. (spacemacs/set-leader-keys "avr" 'venv-rmvirtualenv)
  11. (spacemacs/set-leader-keys "avd" 'venv-deactivate)
  12. (spacemacs/set-leader-keys "aqc" 'quick-calc)
  13. (spacemacs/set-leader-keys "aqC" 'calendar)
  14. (evil-define-key nil evil-normal-state-map "U" 'undo-tree-redo)
  15. (global-unset-key (kbd "<down-mouse-3>"))
  16. (global-unset-key (kbd "<mouse-3>"))
  17. (global-set-key (kbd "<down-mouse-3>") 'evil-insert)
  18. (global-set-key (kbd "<S-down-mouse-3>") 'evil-append-line)
  19. (global-set-key (kbd "<mouse-3>") 'evil-force-normal-state)
  20. (exwm-input-set-key (kbd "s-n") 'exwm-workspace-add)
  21. (exwm-input-set-key (kbd "s-d") 'exwm-workspace-delete)
  22. (exwm-input-set-key (kbd "s-b") 'ivy-switch-buffer)
  23. (exwm-input-set-key (kbd "s-Q") (lambda () (interactive) (start-process "lock" (get-buffer-create "*tmp*") "/run/current-system/sw/bin/dm-tool" "lock")))
  24. (exwm-input-set-key (kbd "s-v") 'spacemacs/exwm-launch-split-right)
  25. (exwm-input-set-key (kbd "s-s") 'spacemacs/exwm-launch-split-below)
  26. (exwm-input-set-key (kbd "s-\\") (lambda () (interactive) (start-process "screenshot" (get-buffer-create "*Scrot*") "scrot")))