]> git.eshelyaron.com Git - dotfiles.git/commitdiff
Move esy/push-button from "M-o" to "M-s b"
authorEshel Yaron <eshel@areionsec.com>
Mon, 16 May 2022 07:59:22 +0000 (10:59 +0300)
committerEshel Yaron <eshel@areionsec.com>
Mon, 16 May 2022 07:59:22 +0000 (10:59 +0300)
.emacs.d/esy.org

index 974b6932b39780242e48b45ab24de9100f997cd6..fb745b4dd104991462dc2023d609daa5af318caf 100644 (file)
@@ -796,12 +796,11 @@ refiling directly into deeper headings as well.
     (global-set-key [remap ns-print-buffer] #'move-dup-duplicate-up)
     (global-set-key (kbd "M-p") #'move-dup-move-lines-up)
     (global-set-key (kbd "M-n") #'move-dup-move-lines-down)
-    (global-set-key (kbd "M-o") #'esy/push-button)
     (global-set-key (kbd "C-,") #'backward-delete-char)
     (global-set-key (kbd "C-.") #'embark-act)
     (global-set-key (kbd "C-;") #'avy-goto-char-timer)
     (global-set-key (kbd "C-s-f") #'toggle-frame-fullscreen)
-    (global-set-key [remap just-one-space] 'cycle-spacing))
+    (global-set-key [remap just-one-space] #'cycle-spacing))
 
   (add-hook 'after-init-hook #'esy/customize-global-keymap)
 #+end_src
@@ -813,7 +812,7 @@ refiling directly into deeper headings as well.
 
 #+begin_src emacs-lisp
   (defun esy/customize-ctl-x-map ()
-    "Configure the `C-x' keymap."
+    "Configure the `ctrl-x-map' keymap."
     (keymap-set ctl-x-map "b" #'consult-buffer)
     (keymap-set ctl-x-4-map "b" #'consult-buffer-other-window)
     (keymap-set ctl-x-map "!" #'consult-flymake)
@@ -826,6 +825,20 @@ refiling directly into deeper headings as well.
   (add-hook 'after-init-hook #'esy/customize-ctl-x-map)
 #+end_src
 
+** =M-s= keybindings
+:PROPERTIES:
+:CUSTOM_ID: search-map-keybindings
+:END:
+
+#+begin_src emacs-lisp
+  (defun esy/customize-search-map ()
+    "Configure the `search-map' keymap."
+    (keymap-set search-map "b" #'esy/push-button))
+
+  (add-hook 'after-init-hook #'esy/customize-search-map)
+#+end_src
+
+
 ** =ace-window= homerow keys
 :PROPERTIES:
 :CUSTOM_ID: ace-window