瀏覽代碼

Change company-complete keybind

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

+ 1
- 2
emacs.el 查看文件

@@ -1005,8 +1005,7 @@ found, otherwise returns nil."
(set-variable 'company-minimum-prefix-length 2)
(set-variable 'company-selection-wrap-around t)

(global-set-key (kbd "C-M-i") 'company-complete)
(define-key emacs-lisp-mode-map (kbd "C-M-i") 'company-complete)
(define-key ctl-x-map (kbd "C-i") 'company-complete) ; Originally `indent-rigidly'

(defvar company-active-map)
(define-key company-active-map (kbd "C-n") 'company-select-next)


Loading…
取消
儲存