-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85100a0
commit 32e4fb9
Showing
9 changed files
with
17 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ tutorial/ | |
url/ | ||
srecode-map.el | ||
projectile-bookmarks.eld | ||
**/*.~undo-tree~ | ||
*.~undo-tree~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
;; (require 'my-lsp) | ||
(require 'my-tree-sitter) | ||
(require 'my-lsp) | ||
|
||
(require 'my-c) | ||
(require 'my-clojure) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,8 @@ | ||
(use-package company | ||
:ensure company | ||
(use-package ivy | ||
:ensure ivy | ||
:init | ||
(progn | ||
;; (global-company-mode) | ||
) | ||
(progn) | ||
:config | ||
(progn | ||
(defun my-company-pass-key (arg) | ||
"Pass a key out of company-mode" | ||
(interactive "P") | ||
(company-abort) | ||
(kbd arg) | ||
) | ||
;; C-hjkl in company-mode | ||
(define-key company-active-map (kbd "C-h") 'company-show-doc-buffer) | ||
(define-key company-active-map (kbd "C-l") 'company-show-location) | ||
(define-key company-active-map (kbd "C-j") 'company-select-next) | ||
(define-key company-active-map (kbd "C-k") 'company-select-previous) | ||
(define-key company-active-map (kbd "<down>") 'company-select-next-or-abort) | ||
(define-key company-active-map (kbd "<up>") 'company-select-previous-or-abort) | ||
(define-key company-active-map [down-mouse-1] 'ignore) | ||
(define-key company-active-map [down-mouse-3] 'ignore) | ||
(define-key company-active-map [mouse-1] 'ignore) | ||
(define-key company-active-map [mouse-3] 'ignore) | ||
(define-key company-active-map [up-mouse-1] 'ignore) | ||
(define-key company-active-map [up-mouse-3] 'ignore) | ||
(define-key company-active-map [return] 'company-abort) | ||
(define-key company-active-map (kbd "SPC") 'my-company-pass-key) | ||
(define-key company-active-map "\e\e\e" 'company-abort) | ||
(define-key company-active-map "\C-g" 'company-abort) | ||
(define-key company-active-map [tab] 'company-complete-selection) | ||
(define-key company-active-map (kbd "S-TAB") 'company-complete-common) | ||
(define-key company-active-map (kbd "<f1>") 'company-show-doc-buffer) | ||
(define-key company-active-map "\C-w" 'company-show-location) | ||
(define-key company-active-map "\C-s" 'company-search-candidates) | ||
(define-key company-active-map "\C-\M-s" 'company-filter-candidates) | ||
) | ||
) | ||
(progn)) | ||
|
||
(provide 'my-autocomplete) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters