summaryrefslogtreecommitdiff
path: root/emacs/site-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/site-lisp')
-rwxr-xr-xemacs/site-lisp/coding-config.el3
-rw-r--r--emacs/site-lisp/exwm-pref.el43
2 files changed, 25 insertions, 21 deletions
diff --git a/emacs/site-lisp/coding-config.el b/emacs/site-lisp/coding-config.el
index a8f34a9..25dd372 100755
--- a/emacs/site-lisp/coding-config.el
+++ b/emacs/site-lisp/coding-config.el
@@ -24,6 +24,8 @@
(use-package lsp-haskell)
+(use-package pyvenv)
+
(use-package sideline
:init
(setq sideline-backends-right '()))
@@ -51,6 +53,7 @@
(global-set-key (kbd "M-I") 'xref-find-definitions)
(setq imenu-auto-rescan t)
+(setq imenu-flatten t)
;; make shells and whatnot slightly better
(require 'comint)
diff --git a/emacs/site-lisp/exwm-pref.el b/emacs/site-lisp/exwm-pref.el
index a5b8875..75bf5a9 100644
--- a/emacs/site-lisp/exwm-pref.el
+++ b/emacs/site-lisp/exwm-pref.el
@@ -99,6 +99,7 @@
;;(exwm-config-default)
(exwm-systemtray-mode)
(push ?\C-\\ exwm-input-prefix-keys) ;;C-\ to switch input method
+(push ?\C-u exwm-input-prefix-keys) ;; send C-u to all windows too
;; All buffers created in EXWM mode are named "*EXWM*". You may want to
;; change it in `exwm-update-class-hook' and `exwm-update-title-hook', which
@@ -256,27 +257,27 @@
;; list of cons cells (SRC . DEST), where SRC is the key sequence you press
;; and DEST is what EXWM actually sends to application. Note that both SRC
;; and DEST should be key sequences (vector or string).
-;; (setq exwm-input-simulation-keys
-;; '(
-;; ;; movement
-;; ([?\C-b] . [left])
-;; ([?\M-b] . [C-left])
-;; ([?\C-f] . [right])
-;; ([?\M-f] . [C-right])
-;; ([?\C-p] . [up])
-;; ([?\C-n] . [down])
-;; ([?\C-a] . [home])
-;; ([?\C-e] . [end])
-;; ([?\M-v] . [prior])
-;; ([?\C-v] . [next])
-;; ([?\C-d] . [delete])
-;; ([?\C-k] . [S-end delete])
-;; ;; cut/paste.
-;; ;; ([?\C-w] . [?\C-x])
-;; ;; ([?\M-w] . [?\C-c])
-;; ;; ([?\C-y] . [?\C-v])
-;; ;; search
-;; ([?\C-s] . [?\C-f])))
+(setq exwm-input-simulation-keys
+ '(
+ ;; movement
+ ([?\C-b] . [left])
+ ([?\M-b] . [C-left])
+ ([?\C-f] . [right])
+ ([?\M-f] . [C-right])
+ ([?\C-p] . [up])
+ ([?\C-n] . [down])
+ ([?\C-a] . [home])
+ ([?\C-e] . [end])
+ ([?\M-v] . [prior])
+ ([?\C-v] . [next])
+ ([?\C-d] . [delete])
+ ([?\C-k] . [S-end delete])
+ ;; cut/paste.
+ ;; ([?\C-w] . [?\C-x])
+ ([?\M-w] . [?\C-c])
+ ([?\C-y] . [?\C-v])
+ ;; search
+ ([?\C-s] . [?\C-f])))
;; You can hide the minibuffer and echo area when they're not used, by
;; uncommenting the following line.