summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/lisp/kj-bindings.el
blob: 144ed435a25258685cece9577b3f1f5845df7594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; -*- lexical-binding: t; -*-

(use-package emacs
  :bind
  (("C-w" . kj/kill-word-or-region)
   ("C-c s" . kj/shell-here)
   ("C-c t" . eshell)
   ("C-c m" . smerge-ediff)
   ("C-c b r" . revert-buffer)
   ("C-c r l" . consult-flymake)
   ("C-c r f" . eglot-format)
   ("C-c r g" . recompile)
   ("C-c r a" . eglot-code-actions)
   ("C-c r r" . eglot-rename)
   ("C-c c i" . insert-char)
   ("C-c w u" . winner-undo)
   ("C-c w U" . winner-redo)
   ("C-<tab>" . completion-at-point)))

(provide 'kj-bindings)