remove some unicode for terminal compatibility
fully deactivating might be (set-terminal-coding-system 'iso-latin-1)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
;;; Code:
|
||||
(use-package python
|
||||
:delight (python-mode "🅟") ;; "Py "
|
||||
:delight (python-mode "Py") ;; "Py " "\u1F15F"
|
||||
:commands (python-mode)
|
||||
:bind (:map python-mode-map
|
||||
;; swap C-u C-c C-c with C-c C-c, so C-c C-c sends __main__
|
||||
@@ -100,7 +100,7 @@ process."
|
||||
(use-package anaconda-mode ;; works with company-mode via company-anaconda
|
||||
:load-path (lambda() (concat config-dir "lisp/anaconda-mode"))
|
||||
:after python
|
||||
:delight (anaconda-mode "Ⓐ") ;; Ⓐ a
|
||||
:delight (anaconda-mode "A") ;; \u24B6 a
|
||||
:bind (([remap anaconda-mode-show-doc] . my-anaconda-mode-show-doc)) ;; M-?
|
||||
:hook (python-mode
|
||||
(python-mode . anaconda-eldoc-mode)) ;; if cursor is between function's parenthesis show parameter in echo area
|
||||
@@ -137,7 +137,7 @@ process."
|
||||
;; https://github.com/naiquevin/sphinx-doc.el
|
||||
;; enable the sphinx-doc-mode and bind the interactive function sphinx-doc to C-c M-d.
|
||||
(use-package sphinx-doc
|
||||
:delight (sphinx-doc-mode "Ⓢ") ;; Ⓢ s
|
||||
:delight (sphinx-doc-mode "Sph") ;; \u24C8 s
|
||||
:hook (python-mode . sphinx-doc-mode))
|
||||
|
||||
(provide 'python-settings)
|
||||
|
||||
Reference in New Issue
Block a user