Experimenting
This commit is contained in:
parent
65f4b29304
commit
83398cc80e
2 changed files with 35 additions and 0 deletions
28
init.el
28
init.el
|
@ -269,6 +269,8 @@
|
||||||
"Open a new instance of vterm"
|
"Open a new instance of vterm"
|
||||||
(interactive)
|
(interactive)
|
||||||
(vterm 'N))
|
(vterm 'N))
|
||||||
|
(:hook esh-autosuggest-mode)
|
||||||
|
(eshell-syntax-highlighting-global-mode +1)
|
||||||
(:global "C-c o e" ccr/eshell-new
|
(:global "C-c o e" ccr/eshell-new
|
||||||
"C-c o t" ccr/vterm-new))
|
"C-c o t" ccr/vterm-new))
|
||||||
|
|
||||||
|
@ -429,5 +431,31 @@
|
||||||
dired-listing-switches "-l --almost-all --human-readable --group-directories-first --no-group")
|
dired-listing-switches "-l --almost-all --human-readable --group-directories-first --no-group")
|
||||||
(:with-mode dirvish-directory-view-mode (:hook diredfl-mode)))
|
(:with-mode dirvish-directory-view-mode (:hook diredfl-mode)))
|
||||||
|
|
||||||
|
;; TODO play with skacle/sway.el
|
||||||
|
|
||||||
|
;; (setq shackle-default-rule '(:frame t)
|
||||||
|
;; shackle-display-buffer-frame-function 'sway-shackle-display-buffer-frame)
|
||||||
|
|
||||||
|
;; (sway-socket-tracker-mode)
|
||||||
|
;; (sway-undertaker-mode) ;; If you want to use :dedicate, read below.
|
||||||
|
;; (sway-x-focus-through-sway-mode) ;; Temporary workaround for Sway bug 6216
|
||||||
|
|
||||||
|
;; ;; To use with pgtk Emacs, you *must* ensure that frame names are
|
||||||
|
;; ;; unique. This is a way to achieve this:
|
||||||
|
;; (setq frame-title-format '("%b — GNU Emacs [" (:eval (frame-parameter (selected-frame) 'window-id)) "]"))
|
||||||
|
;; ;; You may want to make this nicer, feel free to improve. The only
|
||||||
|
;; ;; requirement is that each frame must have a strictly unique name on
|
||||||
|
;; ;; that Emacs instance (name collisions with other programs, including
|
||||||
|
;; ;; other Emacs processes, are not an issue )
|
||||||
|
|
||||||
|
;; (setq shackle-rules
|
||||||
|
;; `(("*Help*" :select t :frame t :dedicate t))
|
||||||
|
|
||||||
|
;; shackle-default-rule '(:frame t)
|
||||||
|
;; shackle-default-size 0.4
|
||||||
|
;; shackle-inhibit-window-quit-on-same-windows t
|
||||||
|
;; shackle-display-buffer-frame-function 'sway-shackle-display-buffer-frame)
|
||||||
|
|
||||||
|
|
||||||
(provide 'init)
|
(provide 'init)
|
||||||
;;; init.el ends here
|
;;; init.el ends here
|
||||||
|
|
|
@ -43,4 +43,11 @@ with epkgs; [
|
||||||
diredfl
|
diredfl
|
||||||
pdf-tools
|
pdf-tools
|
||||||
ligature
|
ligature
|
||||||
|
|
||||||
|
esh-autosuggest
|
||||||
|
eshell-syntax-highlighting
|
||||||
|
|
||||||
|
# TODO playing with these
|
||||||
|
sway
|
||||||
|
shackle
|
||||||
]
|
]
|
||||||
|
|
Reference in a new issue