summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2025-03-26 10:37:22 -0700
committerThomas Ulmer <thomasmulmer02@gmail.com>2025-03-26 10:37:22 -0700
commitdade583159e78a0ba6a40acf8ae888ce6df1b32f (patch)
treeb9c90896c211070b1c2797088480aef0ffc14233 /emacs
parentc69522dbb64264c7271ea272dba1bf7147a1ad44 (diff)
pyenv and other
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el8
-rwxr-xr-xemacs/site-lisp/coding-config.el3
-rw-r--r--emacs/site-lisp/exwm-pref.el43
3 files changed, 29 insertions, 25 deletions
diff --git a/emacs/init.el b/emacs/init.el
index e0975a3..832c35f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -159,10 +159,10 @@
markdown-preview-mode minions nginx-mode oauth2
orderless pass password-store
persp-mode-projectile-bridge popwin pyim-basedict
- pyim-cangjiedict racket-mode rainbow-delimiters rustic
- sdcv sideline-flycheck sideline-flymake sideline-lsp
- simple-httpd spell-fu telephone-line tempel
- tree-sitter-langs treemacs treemacs-evil
+ pyim-cangjiedict pyvenv racket-mode rainbow-delimiters
+ rustic sdcv sideline-flycheck sideline-flymake
+ sideline-lsp simple-httpd spell-fu telephone-line
+ tempel tree-sitter-langs treemacs treemacs-evil
vertico-prescient vimgolf visible-mark volume which-key
winum workgroups yaml-mode))
'(pyim-assistant-scheme 'cangjie)
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.