add emacs everywhere

This commit is contained in:
Marco Thomas
2021-07-14 08:45:27 +02:00
parent d62299862d
commit 0c346dbaab
2 changed files with 23 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ workspace_layout stacking
bindsym $mod+Return exec alacritty bindsym $mod+Return exec alacritty
bindsym $mod+d exec --no-startup-id dmenu_run bindsym $mod+d exec --no-startup-id dmenu_run
bindsym $mod+Ctrl+e exec "emacsclient -c" bindsym $mod+Ctrl+e exec "emacsclient -c"
bindsym $mod+e exec "emacsclient --eval '(emacs-everywhere)'"
bindsym $mod+Shift+s exec "flameshot gui" bindsym $mod+Shift+s exec "flameshot gui"
### keybinds for moving windows ### keybinds for moving windows

View File

@@ -523,7 +523,29 @@
:config :config
(setq graphviz-dot-indent-width 4)) (setq graphviz-dot-indent-width 4))
;; use my beauty everywhere
(use-package emacs-everywhere
:ensure t
:hook
(emacs-everywhere-mode . (lambda () (set-input-method "math")))
:config
(setq emacs-everywhere-markdown-apps nil)
(setq emacs-everywhere-markdown-windows nil))
;; load local file ;; load local file
(when (file-exists-p "~/.emacs.d/local.el") (when (file-exists-p "~/.emacs.d/local.el")
(message "Loading ~/.emacs.d/local.el") (message "Loading ~/.emacs.d/local.el")
(load-file "~/.emacs.d/local.el")) (load-file "~/.emacs.d/local.el"))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
'(emacs-everywhere yasnippet-snippets which-key treemacs-projectile treemacs-magit treemacs-evil rust-mode rainbow-mode quelpa-use-package org-fragtog org-bullets nyan-mode math-symbol-lists lsp-ui lsp-java lsp-ivy lsp-haskell graphviz-dot-mode general flycheck fill-column-indicator exec-path-from-shell evil-collection dtrt-indent doom-themes doom-modeline counsel-projectile company-box auctex)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)