瀏覽代碼

Update server edit keymap

master
10sr 3 年之前
父節點
當前提交
ff7d5f3e6d
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      emacs.el

+ 6
- 0
emacs.el 查看文件

@@ -291,6 +291,12 @@ Otherwize hook it."
'darwin))
(set-variable 'server-use-tcp t))

(add-hook 'server-visit-hook
(lambda ()
(use-local-map (copy-keymap (current-local-map)))
(local-set-key (kbd "C-c C-c") 'server-edit)
(message "server-visit-hook %S" buffer-file-name)))

;; MSYS2 fix

(when (eq system-type


Loading…
取消
儲存