zilongshanren / spacemacs-private

My Spacemacs config
486 stars 196 forks source link

遇到个问题:Python-mode 中main()程序无法运行 #187

Closed zhangsanfeng99 closed 5 years ago

zhangsanfeng99 commented 5 years ago

这样解决的。。。

;; Make C-c C-c behave like C-u C-c C-c in Python mode (require 'python) (define-key python-mode-map (kbd "C-c C-c") (lambda () (interactive) (python-shell-send-buffer t)))

zilongshanren commented 5 years ago

:+1: