diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/bd-default.el | 6 | ||||
-rw-r--r-- | .config/emacs/bd-development.el | 6 | ||||
-rw-r--r-- | .config/emacs/bd-shells.el | 4 | ||||
-rw-r--r-- | .config/emacs/bd-wm.el | 3 |
4 files changed, 14 insertions, 5 deletions
diff --git a/.config/emacs/bd-default.el b/.config/emacs/bd-default.el index a7335ba..e7c70d8 100644 --- a/.config/emacs/bd-default.el +++ b/.config/emacs/bd-default.el @@ -75,7 +75,6 @@ open URL at point." (setopt kill-whole-line t) - ;; recursive minibuffers (setopt enable-recursive-minibuffers t) (minibuffer-depth-indicate-mode 1) @@ -83,6 +82,11 @@ open URL at point." ;; allow one side window per side of frame (setopt window-sides-slots '(1 1 1 1)) +;; dictionary +(keymap-global-set "C-c i" 'dictionary-lookup-definition) +(setopt dictionary-server "localhost" + dictionary-use-single-buffer t) + ;; do not show async command buffers by default (add-to-list 'display-buffer-alist (cons "\\*Async Shell Command\\*.*" (cons #'display-buffer-no-window nil))) diff --git a/.config/emacs/bd-development.el b/.config/emacs/bd-development.el index 4958644..3e47ad6 100644 --- a/.config/emacs/bd-development.el +++ b/.config/emacs/bd-development.el @@ -42,6 +42,12 @@ Exempt major modes are defined in `display-line-numbers-exempt-modes'." :custom (vertico-cycle t)) +(use-package orderless + :init + (setq completion-styles '(orderless basic) + completion-category-defaults nil + completion-category-overrides '((file (styles partial-completion))))) + (use-package company :hook (prog-mode text-mode) :config diff --git a/.config/emacs/bd-shells.el b/.config/emacs/bd-shells.el index 9628c66..4574cc6 100644 --- a/.config/emacs/bd-shells.el +++ b/.config/emacs/bd-shells.el @@ -31,13 +31,13 @@ status, and path." (propertize "\n> " 'face `(:foreground "#c33027"))))) (use-package eshell - :init + :demand :bind (("C-z C-e" . 'eshell-open-buffer) :map eshell-mode-map ("C-q" . 'delete-window) ; mostly for side window ("<tab>" . completion-at-point)) :config - (eshell/addpath "~/Personal/scripts/") + ;; (eshell/addpath "~/Personal/scripts/") :custom (eshell-prompt-function 'bd/eshell-prompt) (eshell-prompt-regexp "^> ") diff --git a/.config/emacs/bd-wm.el b/.config/emacs/bd-wm.el index ee63985..9d7f60a 100644 --- a/.config/emacs/bd-wm.el +++ b/.config/emacs/bd-wm.el @@ -35,7 +35,7 @@ bookmark file. If an x window, place in kill-ring." "Uses completion-framework to allow user to select a line from a file." (let* ((choices (read-file-into-list file))) - (completing-read "Choose one: " choices))) + (completing-read "Recall: " choices))) (defun read-file-into-list (file) (with-current-buffer @@ -66,7 +66,6 @@ select a line from a file." ;; (start-process-shell-command "xrandr" nil "/home/bdunahu/.config/emacs/exwm_xrandr.sh") (start-process-shell-command "picom" nil "picom") (start-process-shell-command "bg" nil "set-bg") - (start-process-shell-command "xmodmap" nil "xmodmap ~/.config/xmodmap.config") (start-process-shell-command "xrate" nil "xset r rate 250 70") (dolist (k '(("s-L" "slock") |