add new keybind to avy-goto-char and avy-goto-word
This commit is contained in:
parent
68de344731
commit
bcaa2a1ae1
39
init.el
39
init.el
@ -185,6 +185,8 @@
|
||||
(fg-line-number-active "#ffdd33")
|
||||
(bg-line-number-active "#181818")
|
||||
(bg-line-number-inactive "#181818")
|
||||
(border-mode-line-active unspecified)
|
||||
(border-mode-line-inactive unspecified)
|
||||
;; SRC-block
|
||||
(bg-prose-block-delimiter bg-inactive)
|
||||
;; Region bg and fg
|
||||
@ -214,25 +216,6 @@
|
||||
(define-key global-map (kbd "C-c n f") #'consult-denote-find)
|
||||
(define-key global-map (kbd "C-c n g") #'consult-denote-grep))
|
||||
|
||||
;; Org-roam. ------
|
||||
;; (use-package org-roam
|
||||
;; :ensure t
|
||||
;; :custom
|
||||
;; (org-roam-directory (file-truename "/Users/norets/Library/Mobile Documents/iCloud~com~logseq~logseq/Documents/Org-roam/pages"))
|
||||
;; :bind (("C-c n l" . org-roam-buffer-toggle)
|
||||
;; ("C-c n f" . org-roam-node-find)
|
||||
;; ("C-c n g" . org-roam-graph)
|
||||
;; ("C-c n i" . org-roam-node-insert)
|
||||
;; ("C-c n c" . org-roam-capture)
|
||||
;; ;; Dailies
|
||||
;; ("C-c n j" . org-roam-dailies-capture-today))
|
||||
;; :config
|
||||
;; ;; If you're using a vertical completion framework, you might want a more informative completion interface
|
||||
;; (setq org-roam-node-display-template (concat "${title:*} " (propertize "${tags:10}" 'face 'org-tag)))
|
||||
;; (org-roam-db-autosync-mode)
|
||||
;; ;; If using org-roam-protocol
|
||||
;; (require 'org-roam-protocol))
|
||||
|
||||
(use-package vertico
|
||||
:ensure t
|
||||
:init
|
||||
@ -352,8 +335,9 @@
|
||||
))
|
||||
(display-buffer-reuse-mode-window display-buffer-pop-up-window)
|
||||
(body-function . my-select-window)
|
||||
(dedicated . t)
|
||||
(preserve-size . (t . t)))))
|
||||
;; (dedicated . t)
|
||||
;; (preserve-size . (t . t))
|
||||
)))
|
||||
|
||||
;; Marginalia. -----
|
||||
(use-package marginalia
|
||||
@ -406,13 +390,6 @@
|
||||
:init
|
||||
(global-corfu-mode))
|
||||
|
||||
(use-package corfu-terminal
|
||||
:ensure t
|
||||
:defer 3
|
||||
:init
|
||||
(unless (display-graphic-p)
|
||||
(corfu-terminal-mode +1)))
|
||||
|
||||
;; Add extensions
|
||||
(use-package cape
|
||||
:ensure t
|
||||
@ -551,8 +528,10 @@
|
||||
(global-set-key (kbd "C-z") 'move-text-down)
|
||||
(global-set-key (kbd "C-q") 'move-text-up)
|
||||
|
||||
(global-set-key (kbd "C-c t c") 'avy-goto-char)
|
||||
(global-set-key (kbd "C-c t w") 'avy-goto-word-0)
|
||||
;; (global-set-key (kbd "C-c t c") 'avy-goto-char)
|
||||
(global-set-key (kbd "C-'") 'avy-goto-char)
|
||||
;; (global-set-key (kbd "C-c t w") 'avy-goto-word-0)
|
||||
(global-set-key (kbd "C-,") 'avy-goto-word-0)
|
||||
|
||||
|
||||
;;; Functions. -----
|
||||
|
||||
Loading…
Reference in New Issue
Block a user