remove dead code

This commit is contained in:
ndwarshuis 2019-04-18 18:09:12 -04:00
parent 2aa2d360ca
commit 80471e301b
1 changed files with 0 additions and 56 deletions

View File

@ -3521,21 +3521,6 @@ They removed the underscore-inserts-arrow feature. Bring it back.
(define-key ess-r-mode-map "_" #'ess-insert-assign) (define-key ess-r-mode-map "_" #'ess-insert-assign)
(define-key inferior-ess-r-mode-map "_" #'ess-insert-assign) (define-key inferior-ess-r-mode-map "_" #'ess-insert-assign)
;; (defhydra hydra-ess-r-inferior (ess-r-mode-map "M-i" :exit t)
;; ("M-i" ess-eval-line)
;; ("I" ess-eval-line-and-step :exit nil)
;; ("C-i" ess-eval-line-and-go)
;; ("g" ess-eval-paragraph)
;; ("G" ess-eval-paragraph-and-step :exit nil)
;; ("C-G" ess-eval-paragraph-and-go)
;; ("b" ess-eval-buffer)
;; ("B" ess-eval-buffer-and-go)
;; ;; TODO add process kill commands
;; ("z" ess-switch-to-inferior-or-script-buffer))
(nd/hydra-standard-int ess-r-mode-map (nd/hydra-standard-int ess-r-mode-map
(:send-line ess-eval-line) (:send-line ess-eval-line)
(:send-line-step ess-eval-line-and-step) (:send-line-step ess-eval-line-and-step)
@ -3551,30 +3536,6 @@ They removed the underscore-inserts-arrow feature. Bring it back.
*** python *** python
The only thing I like about elpy is the interactive shell The only thing I like about elpy is the interactive shell
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; (define-key python-mode-map (kbd "C-c C-z") #'elpy-shell-switch-to-shell)
;; (define-key python-mode-map (kbd "C-M-x") #'elpy-shell-send-statement-and-step)
;; python inferior mode map
;; (defhydra hydra (python-mode-map "M-i" :exit t)
;; "python inferior commands"
;; ("M-i" elpy-shell-send-statement)
;; ("I" elpy-shell-send-statement-and-step :exit nil)
;; ("C-i" elpy-shell-send-statement-and-go)
;; ("g" elpy-shell-send-group)
;; ("G" elpy-shell-send-group-and-step :exit nil)
;; ("C-g" elpy-shell-send-group-and-go)
;; ("b" elpy-shell-send-region-or-buffer)
;; ("C-b" elpy-shell-send-region-or-buffer-and-go)
;; ("z" elpy-shell-switch-to-shell)
;; ("k" elpy-shell-kill)
;; ("K" elpy-shell-kill-all))
; TODO add hydras for docs, testing, search, etc
;;; Code:
(nd/hydra-standard-int python-mode-map (nd/hydra-standard-int python-mode-map
(:send-line elpy-shell-send-statement) (:send-line elpy-shell-send-statement)
(:send-line-step elpy-shell-send-statement-and-step) (:send-line-step elpy-shell-send-statement-and-step)
@ -3612,23 +3573,6 @@ The only thing I like about elpy is the interactive shell
(:send-buffer intero-repl-load) (:send-buffer intero-repl-load)
;; TODO add kill repl function ;; TODO add kill repl function
(:shell-start intero-repl)) (:shell-start intero-repl))
;; (defhydra hyd-haskell-int (intero-mode-map "M-i" :exit t)
;; "haskell inferior commands"
;; ("M-i" intero-repl-eval-region)
;; ;; need a go function here
;; ;; ("C-i" )
;; ;; need group functions
;; ;; ("g" elpy-shell-send-group)
;; ;; ("G" elpy-shell-send-group-and-step :exit nil)
;; ;; ("C-g" elpy-shell-send-group-and-go)
;; ("b" intero-repl-load)
;; ;; need a go function
;; ;; ("C-b" )
;; ("z" intero-repl))
;; ;; add kill functions
(defhydra hyd-haskell-nav (intero-mode-map "M-n" :exit t) (defhydra hyd-haskell-nav (intero-mode-map "M-n" :exit t)
"haskell query commands" "haskell query commands"