summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el2
-rw-r--r--emacs/site-lisp/exwm-pref.el15
-rw-r--r--emacs/site-lisp/my-binds.el3
3 files changed, 12 insertions, 8 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 832c35f..1c47a39 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -281,7 +281,7 @@
:init
(corfu-terminal-mode 1)
:custom
- (corfu-terminal-disable-on-gui t))
+ (corfu-terminal-disable-on-gui nil))
(use-package cape
;; extend completion frameworks
diff --git a/emacs/site-lisp/exwm-pref.el b/emacs/site-lisp/exwm-pref.el
index 75bf5a9..f03711c 100644
--- a/emacs/site-lisp/exwm-pref.el
+++ b/emacs/site-lisp/exwm-pref.el
@@ -8,8 +8,8 @@
(require 'exwm-systemtray)
(require 'exwm-manage)
-;; (setq exwm-workspace-number 2)
-;; (setq exwm-randr-workspace-monitor-plist '(0 "DP-0" 1 "HDMI-0"))
+(setq exwm-workspace-number 2)
+(setq exwm-randr-workspace-monitor-plist '(0 "DP-0" 1 "HDMI-0"))
(setq exwm-workspace-show-all-buffers t)
(setq exwm-layout-show-all-buffers t)
@@ -34,6 +34,10 @@
(setq-local exwm-title (replace-regexp-in-string
(concat (regexp-quote url) " - ")
""
+ exwm-title))
+ (setq-local exwm-title (replace-regexp-in-string
+ " - Mozilla Firefox"
+ ""
exwm-title))))
(setq-local exwm-title
@@ -180,12 +184,9 @@
([?\s-d] . (lambda (command)
(interactive (list (read-shell-command "$ ")))
(start-process-shell-command command nil command)))
- ([?\M-d] . (lambda (command)
- (interactive (list (read-shell-command "$ ")))
- (start-process-shell-command command nil command)))
;; ([?\M-d] . (lambda (command)
- ;; (interactive (list (read-shell-command "$ ")))
- ;; (start-process-shell-command command nil command)))
+ ;; (interactive (list (read-shell-command "$ ")))
+ ;; (start-process-shell-command command nil command)))
;; browser
([?\s-e] . (lambda ()
(interactive)
diff --git a/emacs/site-lisp/my-binds.el b/emacs/site-lisp/my-binds.el
index 0b85e66..bb80e62 100644
--- a/emacs/site-lisp/my-binds.el
+++ b/emacs/site-lisp/my-binds.el
@@ -17,3 +17,6 @@
(keymap-set dired-mode-map "C-o" 'dired-display-file)
(keymap-set dired-mode-map "F" 'dired-do-find-marked-files)
+;; searching
+(global-set-key (kbd "M-s g") 'rgrep)
+(global-set-key (kbd "M-s r") 'counsel-rg)