Refactor initfiles
This commit is contained in:
parent
f66f741804
commit
8c9c7f3bde
13 changed files with 72 additions and 59 deletions
|
@ -1,7 +1,6 @@
|
|||
(require-packages
|
||||
'(auto-complete ; self-explanity
|
||||
auto-complete-config ; its default config
|
||||
;; fuzzy ; fuzzy search engine for auto-complete
|
||||
))
|
||||
|
||||
;; (setq ac-auto-show-menu nil ; Suggestions box must be invoked manually (see core-keymaps.el)
|
||||
|
@ -17,9 +16,12 @@
|
|||
(ac-flyspell-workaround) ; Compatibility with flyspell/make
|
||||
(diminish 'auto-complete-mode) ; Hide mode-line entry
|
||||
|
||||
(add-to-list 'ac-dictionary-files "~/.emacs.d/ac-dict/global")
|
||||
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
|
||||
|
||||
;; Use more vim-like keymappings
|
||||
(evil-define-key 'insert ac-mode-map (kbd "C-SPC") 'auto-complete)
|
||||
(evil-define-key 'insert ac-mode-map (kbd "C-S-SPC") 'auto-fuzzy-complete)
|
||||
(evil-define-key 'insert ac-mode-map (kbd "C-S-SPC") 'ac-fuzzy-complete)
|
||||
(define-key ac-completing-map (kbd "<tab>") 'ac-next)
|
||||
(define-key ac-completing-map (kbd "S-<tab>") 'ac-previous)
|
||||
(define-key ac-completing-map (kbd "<F1>") 'ac-quick-help)
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
(require-package 'yasnippet)
|
||||
|
||||
;;;#yasnippet
|
||||
;; (yas-global-mode t)
|
||||
(associate-mode 'snippet-mode '("emacs.+/snippets/") t)
|
||||
(add-hook 'prog-mode-hook
|
||||
'(lambda ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue