From 80471e301bf30bfc1efa36d913ae0ac3812bcfe7 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Thu, 18 Apr 2019 18:09:12 -0400 Subject: [PATCH] remove dead code --- conf.org | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) diff --git a/conf.org b/conf.org index 6ba654d..e0972e3 100644 --- a/conf.org +++ b/conf.org @@ -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 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 (:send-line ess-eval-line) (:send-line-step ess-eval-line-and-step) @@ -3551,30 +3536,6 @@ They removed the underscore-inserts-arrow feature. Bring it back. *** python The only thing I like about elpy is the interactive shell #+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 (:send-line elpy-shell-send-statement) (: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) ;; TODO add kill repl function (: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) "haskell query commands"