mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Manual autocompletion
This commit is contained in:
@ -3,9 +3,13 @@
|
||||
(if (not (file-directory-p "~/.emacs.d/.python-environments/default/"))
|
||||
(jedi:install-server))
|
||||
|
||||
(add-hook 'python-mode-hook 'jedi:setup)
|
||||
;; (setq jedi:complete-on-dot nil)
|
||||
|
||||
(add-hook 'python-mode-hook 'jedi:ac-setup)
|
||||
(add-hook 'python-mode-hook
|
||||
(lambda ( )
|
||||
;; (evil-define-key 'insert ac-mode-map (kbd "C-SPC") 'jedi:complete)
|
||||
|
||||
;; Don't remap backspace. Leave it to autopair, please.
|
||||
(define-key python-mode-map [backspace] nil)
|
||||
(evil-define-key 'normal python-mode-map (kbd "s-r")
|
||||
|
Reference in New Issue
Block a user