Commit: fb3e36fdc35ae7400b58fa0d163dcb9f7657b843
Parent: f27967c462ae5d08a387eca21064a667eb3bab40
Author: 0x766F6964
Date: Sat, 28 Sep 2019 10:01:22 -0600
update .emacs.d/config.org
added: which-key package
code to make buffers more usable
Diffstat:
3 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore
@@ -1,4 +1,4 @@
-auto-save-list
+auto-save-list/
config.el
elpa/
-
+transient/
diff --git a/.emacs.d/config.org b/.emacs.d/config.org
@@ -1,8 +1,10 @@
* Aethetics
** Theme
#+BEGIN_SRC emacs-lisp
-(require 'nofrils-acme-theme)
-(load-theme 'nofrils-acme t)
+ (use-package nofrils-acme-theme
+ :ensure t)
+ (require 'nofrils-acme-theme)
+ (load-theme 'nofrils-acme t)
#+END_SRC
** Remove graphics bars
@@ -13,6 +15,27 @@
#+END_SRC
* Keybinds
+** Buffers
+*** Kill Current Buffer
+#+BEGIN_SRC emacs-lisp
+ (defun kill-current-buffer ()
+ "kills focused buffer"
+ (interactive)
+ (kill-buffer (current-buffer)))
+ (global-set-key (kbd "C-x k") 'kill-current-buffer)
+#+END_SRC
+
+*** ibuffer
+#+BEGIN_SRC emacs-lisp
+ (global-set-key (kbd "C-x b") 'ibuffer)
+#+END_SRC
+
+** which-key
+#+BEGIN_SRC emacs-lisp
+ (use-package which-key
+ :ensure t
+ :config (which-key-mode))
+#+END_SRC
** Live Config Reload
#+BEGIN_SRC emacs-lisp
(defun config-reload ()
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
@@ -21,7 +21,7 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- '(package-selected-packages (quote (magit org-bullets use-package))))
+ '(package-selected-packages (quote (which-key magit org-bullets use-package))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.