瀏覽代碼

Define some swoop-map keys

master
10sr 5 年之前
父節點
當前提交
e62e9bf884
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. +5
    -0
      emacs.el

+ 5
- 0
emacs.el 查看文件

@@ -2392,6 +2392,11 @@ Any output will be written to current buffer."
(global-set-key (kbd "C-s") 'swoop)
(global-set-key (kbd "C-r") 'swoop)
(define-key esc-map (kbd "C-s") 'swoop-multi)
(with-eval-after-load 'swoop-lib
(defvar swoop-map)
(define-key swoop-map (kbd "C-s") 'swoop-action-goto-line-next)
(define-key swoop-map (kbd "C-r") 'swoop-action-goto-line-prev)
)
)

(when (fboundp 'dired-k)


Loading…
取消
儲存