[emacs] add java-mode to programming in Ibuffer, C-x {k,K} bindings
[~bandali/configs] / init.org
index 46c5d82..55874eb 100644 (file)
--- a/init.org
+++ b/init.org
@@ -762,7 +762,8 @@ Some bindings for functions from built-in GNU Emacs packages:
  ("C-S-h C" . describe-char)
  ("C-S-h F" . describe-face)
 
- ("C-x K"   . kill-this-buffer)
+ ("C-x k"   . kill-this-buffer)
+ ("C-x K"   . kill-buffer)
 
  ("s-p"     . beginning-of-buffer)
  ("s-n"     . end-of-buffer))
@@ -1169,6 +1170,7 @@ There's no way I could top that, so I won't attempt to.
         (mode . python-mode)
         (mode . c-mode)
         (mode . c++-mode)
+        (mode . java-mode)
         (mode . emacs-lisp-mode)
         (mode . scheme-mode)
         (mode . haskell-mode)