-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuser-keys.jballanc.el
64 lines (59 loc) · 2 KB
/
user-keys.jballanc.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
;;; -*- no-byte-compile: t -*-
(bindings
(global
("C-s" "<esc>" evil-escape)
("C-u" "Scroll up" evil-scroll-up))
(normal
("l" "Open" :expand-or-open)
("h" "Close" :collapse-or-up)
("SPC" "Leader"
("b" "Buffers"
("p" "Previous buffer" previous-buffer)
("n" "Next buffer" next-buffer))
("i" "Jump next" evil-jump-forward)
("q"
("q" "Quit" save-buffers-kill-terminal))
("t" "Test"
("k" "Toggle Kaocha" +jballanc/toggle-kaocha)
("t" "Run tests" :run-tests))
("w" "Window"
("l" "Go to window on right" evil-window-right)
("h" "Go to window on left" evil-window-left)
("j" "Go to window below" evil-window-down)
("k" "Go to window above" evil-window-up)
("L" "Move window right" evil-window-move-far-right)
("s" "Split window horizontally" evil-window-split)
("v" "Split window vertically" evil-window-vsplit)
("u" "Undo" winner-undo)
("m" "Maximize"
("m" "Maximize window" delete-other-windows)))))
(normal|visual
("SPC" "Leader"
("g" "Git"
("B" "Git blame" magit-blame)
("g" "Magit" magit))
("k" "S-exp"
("j" "Join" sp-join-sexp)
("o" "Open" sp-split-sexp)
("b" "Barf" sp-forward-barf-sexp)
("B" "Barf backward" sp-backward-barf-sexp)
("r" "Raise S-exp" sp-raise-sexp)
("s" "Slurp" sp-forward-slurp-sexp)
("S" "Slurp backward" sp-backward-slurp-sexp)
("t" "Transpose" sp-transpose-sexp)
("w" "Wrap with ()" sp-wrap-round)
("[" "Wrap with []" sp-wrap-square)
("{" "Wrap with {}" sp-wrap-curly))
("o" "Open"
("p" "Open Neotree" neotree-toggle)
("u" "Open URL at point" browse-url-at-point)
("s" "Edit string at point" string-edit-at-point))
("s" "Search"
("p" "Search in project" projectile-ripgrep))))
(normal|visual|insert
("C-a" "Start of line" +jballanc/bol-or-bti)
("C-e" "End of line" end-of-line))
(insert
("C-o" "Newline below" open-line)
;; This is actually "ctrl-SPC", but for some reason Emacs interprets that sequence as 'C-@'
("C-@" +jballanc/space-after)))