From a785a970241636116b14837a23aab62552d211fb Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 22 Sep 2023 21:15:05 +0300 Subject: devtools.el: update keybindings & tramp support --- .emacs.d/modules/thanos-devtools.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.emacs.d/modules/thanos-devtools.el') diff --git a/.emacs.d/modules/thanos-devtools.el b/.emacs.d/modules/thanos-devtools.el index 74ac05e..136404e 100644 --- a/.emacs.d/modules/thanos-devtools.el +++ b/.emacs.d/modules/thanos-devtools.el @@ -32,6 +32,9 @@ (require 'orderless) (require 'dabbrev) +;; Tramp +(setf tramp-default-method "ssh") + ;; Completions (setf dabbrev-ignored-buffer-regexps '("\\.\\(?:pdf\\|jpe?g\\|png\\)\\'")) @@ -61,7 +64,9 @@ (define-key global-map (kbd "C-x r C-r") 'bookmark-rename) (define-key global-map (kbd "C-x r .") 'consult-register) (define-key global-map (kbd "C-x r s") 'consult-register-store) -(define-key corfu-map (kbd "RET") nil) ;; Leave my enter alone +(define-key global-map (kbd "C-c f") 'consult-grep) +(define-key global-map (kbd "M-y") 'consult-yank-from-kill-ring) + (setf register-preview-delay 0.5 register-preview-function #'consult-register-format) -- cgit v1.2.3