Add a python shell keybinding
This commit is contained in:
parent
1e5341684b
commit
17c3db149d
@ -962,7 +962,8 @@ Elpy is a python IDE package:
|
||||
(use-package elpy
|
||||
:config
|
||||
(elpy-enable)
|
||||
(pyvenv-mode))
|
||||
(pyvenv-mode)
|
||||
(leader-def-key "sp" #'elpy-shell-switch-to-shell))
|
||||
|
||||
(defun eshell/workon (name)
|
||||
(pyvenv-workon name))
|
||||
@ -2384,5 +2385,5 @@ The Emacs Multi-Media System. For libtag to work, libtag must be installed on th
|
||||
* SQL
|
||||
Emacs has excellent built-in SQL support.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(leader-def-key "sp" #'sql-postgres)
|
||||
(leader-def-key "sg" #'sql-postgres)
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user