From 8300912bb63fc3918385f9e6d2a9777f62f164a2 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Wed, 12 Mar 2025 10:18:42 -0700 Subject: firefox files and new emacs stuff --- emacs/site-lisp/my-binds.el | 5 ----- 1 file changed, 5 deletions(-) (limited to 'emacs/site-lisp/my-binds.el') diff --git a/emacs/site-lisp/my-binds.el b/emacs/site-lisp/my-binds.el index d3455e4..0b85e66 100644 --- a/emacs/site-lisp/my-binds.el +++ b/emacs/site-lisp/my-binds.el @@ -17,8 +17,3 @@ (keymap-set dired-mode-map "C-o" 'dired-display-file) (keymap-set dired-mode-map "F" 'dired-do-find-marked-files) - -(global-set-key (kbd "M-l") 'forward-char) -(global-set-key (kbd "M-j") 'next-line) -(global-set-key (kbd "M-k") 'previous-line) -(global-set-key (kbd "M-h") 'backward-char) -- cgit v1.2.3 From f2e7dfcf2e9c606e47511701a8cff37c913b8b96 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Sat, 29 Mar 2025 17:12:10 -0700 Subject: new binds and stuff --- emacs/init.el | 2 +- emacs/site-lisp/exwm-pref.el | 15 ++++++++------- emacs/site-lisp/my-binds.el | 3 +++ 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'emacs/site-lisp/my-binds.el') 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) -- cgit v1.2.3