From ced0fe8f9ef7cd16ade900bb34393c627f6d0c69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 22 Jan 2019 15:45:41 -0500 Subject: Change directory lisp/ to modules/ FS #2 --- lisp/init-python.el | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 lisp/init-python.el (limited to 'lisp/init-python.el') diff --git a/lisp/init-python.el b/lisp/init-python.el deleted file mode 100644 index fd2845a..0000000 --- a/lisp/init-python.el +++ /dev/null @@ -1,32 +0,0 @@ -;;---------------------------------------------------------------------------- -;; Python Mode -;;---------------------------------------------------------------------------- -(add-hook 'python-mode-hook - (lambda () - (setq indent-tabs-mode nil) - (setq python-indent-guess-indent-offset nil) - (setq python-indent-offset 4))) - - -;;---------------------------------------------------------------------------- -;; Jedi - Python auto-completion for Emacs -;;---------------------------------------------------------------------------- -(use-package jedi) -(setq auto-mode-alist - (append '(("SConstruct\\'" . python-mode) - ("SConscript\\'" . python-mode)) - auto-mode-alist)) - -(use-package pip-requirements) -(defun my/python-mode-stuff () - ;; Jedi makes everything a lot easier for everybody! - (jedi:setup) - (define-key python-mode-map (kbd "C-]") 'jedi:goto-definition) ;goto define - (local-set-key (kbd "") 'jedi:show-doc) - (setq jedi:complete-on-dot t) ; optional - ) -;; Added Jedi-mode to python-mode -(add-hook 'python-mode-hook 'my/python-mode-stuff) -;; M-x jedi:install-server - -(provide 'init-python) -- cgit v1.2.3