From c1e06df09e1713e7d2528e992e905298a130860c Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Sat, 11 Jan 2020 16:25:07 -0800 Subject: [PATCH] Some emacs binds to make life easier --- dotfiles/emacs.d/init.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 6e8b09c..77b0252 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -181,8 +181,27 @@ There are two things you can do about this warning: ;; Keybinds ;;-------------------------------------------------------------------------------------- +;; is a mode bind for compile/eval based on language +(global-unset-key (kbd "")) + +(global-unset-key (kbd "")) + +;; Load up swiper search with C-s (global-set-key "\C-s" 'swiper) +;; Switch windows with M-o +(global-set-key (kbd "M-o") 'other-window) + +;; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lisp Binds ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +;; Note: SLIME bindings require slime to be running. + +;; Press in lisp mode to evaluate the buffer in SLIME +(define-key lisp-mode-map (kbd "") 'slime-eval-buffer) + +;; Press in lisp mode to evaluate the current defun in SLIME. +(define-key lisp-mode-map (kbd "") 'slime-eval-defun) + ;;-------------------------------------------------------------------------------------- ;; Install and load Packages ;;--------------------------------------------------------------------------------------