summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Ulmer <thomas.ulmer@redflagai.co>2026-01-25 18:35:51 -0800
committerThomas Ulmer <thomas.ulmer@redflagai.co>2026-01-25 18:35:51 -0800
commit0f3f52ec6022d81584ec3bb70188b343ec2f42b9 (patch)
treeb2950a7f9108c43df437669a33bb125661d02be4
parentbdc4dd6b2dae2c652c642c9a69d055200a4710be (diff)
emacs no format python, revert vertico, pager on eshell
-rw-r--r--emacs/eshell/profile2
-rw-r--r--emacs/init.el48
2 files changed, 26 insertions, 24 deletions
diff --git a/emacs/eshell/profile b/emacs/eshell/profile
index 9427d8b..8b13789 100644
--- a/emacs/eshell/profile
+++ b/emacs/eshell/profile
@@ -1 +1 @@
-export PAGER=cat
+
diff --git a/emacs/init.el b/emacs/init.el
index 17d365b..ffcbd00 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -63,6 +63,7 @@
'(makefile-gmake-mode makefile-mode makefile-imake-mode
makefile-makepp-mode makefile-bsdmake-mode
makefile-automake-mode
+ python-mode
fundamental-mode)
"Major modes for which \"my/clean-prog-file\" should not be run before save.")
@@ -294,7 +295,6 @@ With ARG, open a Dired buffer instead."
"Swap between the two saved window configurations.
With ARG, don't save the current layout."
(interactive "p")
- (messaghe "%s" arg)
(let ((left (car my/layout-pair))
(right (cdr my/layout-pair))
(cwc (current-window-configuration)))
@@ -621,29 +621,31 @@ With ARG, don't save the current layout."
:custom
(vertico-cycle t)
:config
- ;; (vertico-flat-mode)
- (vertico-mode 1))
+ (vertico-mode 1)
+ (vertico-flat-mode)
+ :bind (:map minibuffer-local-map
+ ("M-v" . 'vertico-flat-mode)))
-(use-package posframe ; child frames inside normal frames
- )
-(use-package vertico-posframe ; use posframes to display minibuffer
- :after vertico
- :demand t
- :custom
- (vertico-posframe-poshandler
- #'posframe-poshandler-frame-bottom-center)
- (vertico-posframe-size-function
- (lambda (buffer)
- (let ((w (frame-width)))
- (list
- :height (buffer-local-value 'vertico-posframe-height buffer)
- :min-height (or (buffer-local-value 'vertico-posframe-min-height buffer)
- (let ((height (+ vertico-count 1)))
- (min height (or (buffer-local-value 'vertico-posframe-height buffer) height))))
- :width w
- :min-width w))))
- :config
- (vertico-posframe-mode 1))
+;; (use-package posframe ; child frames inside normal frames
+;; )
+;; (use-package vertico-posframe ; use posframes to display minibuffer
+;; :after vertico
+;; :demand t
+;; :custom
+;; (vertico-posframe-poshandler
+;; #'posframe-poshandler-frame-bottom-center)
+;; (vertico-posframe-size-function
+;; (lambda (buffer)
+;; (let ((w (frame-width)))
+;; (list
+;; :height (buffer-local-value 'vertico-posframe-height buffer)
+;; :min-height (or (buffer-local-value 'vertico-posframe-min-height buffer)
+;; (let ((height (+ vertico-count 1)))
+;; (min height (or (buffer-local-value 'vertico-posframe-height buffer) height))))
+;; :width w
+;; :min-width w))))
+;; :config
+;; (vertico-posframe-mode 1))
(use-package marginalia ; more info in minibuffer menus
:demand t