From 1f53cd2efb84565cd249a1d9502da228cc2f3466 Mon Sep 17 00:00:00 2001 From: Amneesh Singh Date: Sat, 18 Oct 2025 22:41:28 +0530 Subject: [PATCH] home: emacs: delete unused conf Signed-off-by: Amneesh Singh --- home/natto/config/emacs/config.org | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/home/natto/config/emacs/config.org b/home/natto/config/emacs/config.org index dafde42..7749c60 100644 --- a/home/natto/config/emacs/config.org +++ b/home/natto/config/emacs/config.org @@ -514,24 +514,6 @@ Stolen from [[https://www.reddit.com/r/emacs/comments/ft84xy/run_shell_command_i (vterm-send-return))) #+end_src -Compilation shortcuts for standalone files -#+begin_src emacs-lisp -(defun candrun () - (let ((full buffer-file-name) - (file (file-name-sans-extension buffer-file-name))) - (pcase (file-name-extension full) - ("c" (concat "gcc " full " -lm -pthread -o " file " && " file " && rm " file)) - ("java" (concat "java " full)) - ("py" (concat "python " full)) - ("cpp" (concat "g++ " full " -o " file " && " file " && rm " file)) - ("cc" (concat "g++ " full " -o " file " && " file " && rm " file)) - ("hs" (concat "runhaskell " full)) - ("sh" (concat "sh " full)) - ("js" (concat "node " full)) - ("ts" (concat "tsc " full " && node " file ".js && rm " file ".js" )) - ("rs" (concat "rustc " full " -o " file " && " file " && rm " file))))) -#+end_src - * LLMs ** gptel #+begin_src emacs-lisp @@ -562,8 +544,7 @@ Compilation shortcuts for standalone files * Keybinds -** General -*** Colemak translations +** Colemak translations not using this anymore #+begin_src emacs-lisp :tangle no (use-package evil-colemak-basics @@ -573,6 +554,7 @@ not using this anymore (global-evil-colemak-basics-mode)) #+end_src +** General *** Misc binds #+begin_src emacs-lisp (use-package general @@ -621,8 +603,7 @@ not using this anymore "" (lambda () (interactive) (vterm t)) "C-S-t" 'vterm-toggle-cd "C-t" 'vterm-toggle - "" 'vterm-toggle - "" (lambda () (interactive) (run-in-vterm (candrun)))) + "" 'vterm-toggle) (general-define-key :keymaps 'vterm-mode-map "" 'vterm-toggle-forward