浏览代码

Add keybind

master
10sr 5 年前
父节点
当前提交
c05aabc8a1
签署人:: 10sr GPG 密钥 ID: 7BEC428194130EB2
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. +4
    -1
      emacs.el
  2. +1
    -0
      gitignore

+ 4
- 1
emacs.el 查看文件

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

(define-key ctl-x-map (kbd "C-i") 'company-complete) ; Originally `indent-rigidly'
(defvar company-mode-map)
;; TODO: It seems this indent is a bit different from original C-i command
(define-key company-mode-map (kbd "C-i") 'company-indent-or-complete-common)
;; (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)


+ 1
- 0
gitignore 查看文件

@@ -4,6 +4,7 @@

# gnu global
GPATH

GRTAGS
GSYMS
GTAGS

正在加载...
取消
保存