Compare commits
275 Commits
Author | SHA1 | Date | |
---|---|---|---|
40f8a94954 | |||
6c55b50071 | |||
86a4635a81 | |||
5eb67dc26e | |||
1d52664a07 | |||
fad4acb570 | |||
1c64cc5bb3 | |||
e05c2b407c | |||
12c7e19c20 | |||
8dfa1cf6be | |||
5593220049 | |||
82dce2ac5d | |||
bb2f4a9019 | |||
7dbd6b9c25 | |||
60b69554b3 | |||
8089cc8f1b | |||
3091331107 | |||
1ea372e645 | |||
4093e5e516 | |||
81afb079ea | |||
989b833058 | |||
adec49b7da | |||
9e60bde41c | |||
760e779db5 | |||
a3813e1290 | |||
51b81ab100 | |||
7d573dc56e | |||
8b7e0bcdf9 | |||
140a490ad9 | |||
d63c58b12e | |||
d97622ed2a | |||
1e0976215c | |||
3d75bee174 | |||
12d52690d4 | |||
ac4cd5a3f0 | |||
5f3d421593 | |||
9e09f7e05f | |||
387df0553e | |||
67f752d714 | |||
9a0c0d6244 | |||
e79f011813 | |||
41a27fcd15 | |||
e5400737cc | |||
1b959ae319 | |||
2e668a314b | |||
28c842bf00 | |||
9ed6f4bac3 | |||
131737c318 | |||
88fa55e297 | |||
8e089fef9b | |||
ef363257a0 | |||
cf1edbc049 | |||
fdc90c4a6c | |||
be5ef48f3a | |||
bb85c106fe | |||
2ba8c41462 | |||
d5a642072b | |||
39652658de | |||
6c38b1bf0c | |||
2698021728 | |||
255b0a2675 | |||
393bfce935 | |||
243f1145f8 | |||
b8d80f0d77 | |||
09329f26a0 | |||
75aac65f07 | |||
5fed93e61b | |||
3b210ad829 | |||
84fa4fe9fa | |||
dffd96df80 | |||
0385b3ff35 | |||
4a4fe4e62a | |||
674e7dc5aa | |||
7224ec283b | |||
b610aa3be6 | |||
eaad8ce86a | |||
a8cced9d29 | |||
5f8e0480e5 | |||
e89e969dc1 | |||
d368502524 | |||
37a9f6c754 | |||
f1e539139e | |||
0c123b0c74 | |||
5f2a02c628 | |||
6d2f831304 | |||
2554afa44a | |||
ab3907d9fa | |||
6b97d19487 | |||
1f0b33804c | |||
a1819b9655 | |||
ea0a117c45 | |||
109fd2dd60 | |||
45409de2a4 | |||
b558842152 | |||
98f05814c2 | |||
946a6c74a4 | |||
0d23ab5c48 | |||
d8f31d7e7d | |||
4e6edf9535 | |||
abf78614b2 | |||
99390edb5c | |||
25eecc532f | |||
07f68dc9f1 | |||
1b49c700c8 | |||
faf8bb7e9f | |||
b5a0f14951 | |||
1bf011d356 | |||
f598052d04 | |||
c77c08250b | |||
120093f3ed | |||
baad94b312 | |||
81e7ec3df0 | |||
8944a4d47f | |||
57c0232b89 | |||
9b8a96cbb3 | |||
df8011a034 | |||
4d1e1cc4f7 | |||
0955beffec | |||
18762c553b | |||
65c9e10f7f | |||
35815b5e0f | |||
a376094126 | |||
8b7598f5a0 | |||
527128f756 | |||
3071cdc59d | |||
0603a9cc86 | |||
e93bb15974 | |||
a57ade869f | |||
899df55e60 | |||
5189bfd181 | |||
78f69bd0ed | |||
e47c2cd2f5 | |||
63be82b791 | |||
2827cfa465 | |||
a55e02d043 | |||
fc32bfa4bf | |||
dd118646d1 | |||
ce69b4473f | |||
9dc46d9faf | |||
f0564908f4 | |||
89b0cf958f | |||
75b82b1293 | |||
7cfdcd3946 | |||
cb798a6b74 | |||
bd21045064 | |||
27d6e7014c | |||
fd7ed0a897 | |||
a3acf22829 | |||
be5abbd0e9 | |||
a8a38a27db | |||
06e8558848 | |||
92b8fa2a76 | |||
15b14408fe | |||
6d0284bed3 | |||
356970944b | |||
d5e83ded97 | |||
a6adcd7f71 | |||
d49d244dff | |||
ae3d062153 | |||
8593dba2ef | |||
7ebc3514fc | |||
60a002d9e4 | |||
cd0537b678 | |||
d969971732 | |||
653a402eae | |||
1cba415ebe | |||
bb2cb7fe58 | |||
e36aee62d7 | |||
ccd64db759 | |||
6b19b032a6 | |||
726224bfe0 | |||
0be422e429 | |||
fa66765d3b | |||
edf27ea51c | |||
838e75afe7 | |||
3017cbeb17 | |||
3c13316b78 | |||
cee53bb0b8 | |||
b45100cb7d | |||
89fb36465c | |||
e1b935d964 | |||
e05a22c2b4 | |||
ab7f633220 | |||
1010f25774 | |||
5044c9aae0 | |||
07bd7ee2ca | |||
51ade13af7 | |||
ce69a63f40 | |||
8f555ffd33 | |||
ca69317359 | |||
6c9befccf4 | |||
f34ed1cfc3 | |||
d4717279a1 | |||
b621c3709a | |||
a7135a8baa | |||
739385b48b | |||
d1b62fd202 | |||
8670efd6f7 | |||
2807c96dbf | |||
b0267f7b62 | |||
9003956ed4 | |||
d7d64f6215 | |||
3c34201077 | |||
9719dd00de | |||
bcb8828b96 | |||
7fdf3c25c4 | |||
aaa66e4ee6 | |||
5a96096119 | |||
eda68f0f9e | |||
d31d0e9050 | |||
fa56fb6d85 | |||
9560dfeb33 | |||
ce2d2cf604 | |||
6b9b2d9750 | |||
d6fed50288 | |||
4913ce8045 | |||
d4c758d6dd | |||
075a076dea | |||
0c3e1c872f | |||
f1a441da24 | |||
86ff665990 | |||
6438188729 | |||
488276e55a | |||
25e226ab01 | |||
d02cf8abcc | |||
13ddf9e501 | |||
ca5c7baf26 | |||
d986b93cb4 | |||
8a10889d49 | |||
deb3b2042a | |||
a1343cfd7b | |||
af0c7ca0cc | |||
beb562b5da | |||
bbfdd67b71 | |||
51d39c5dc1 | |||
43f8d06f83 | |||
434260729e | |||
672017b3ff | |||
1fc2349b90 | |||
5559b31e36 | |||
4b600c1596 | |||
0a73fa3329 | |||
615ee99600 | |||
6968bd7d09 | |||
8115069712 | |||
a89a9fe37a | |||
f1aed9c65e | |||
1ee3df018a | |||
e8db8ccf90 | |||
165752b325 | |||
93d7f2b110 | |||
a09994e3ab | |||
1ba60e99e3 | |||
8be0ba84be | |||
f2c88f5df8 | |||
b8f75be5fe | |||
2e5cc398b4 | |||
91517ce42e | |||
b8419349f0 | |||
c13828151a | |||
4f16cd824f | |||
0e3fa97736 | |||
936ef53c7f | |||
7d8d1184b7 | |||
ca73965b2a | |||
7ba6cf3580 | |||
aee1ecab8a | |||
df377702be | |||
7f9a0938f4 | |||
f201538440 | |||
813f916341 | |||
e1509b0f3c | |||
9008ef0138 | |||
d63fb671ab | |||
529445c0b9 |
12
.emacs.d/.gitignore
vendored
12
.emacs.d/.gitignore
vendored
@ -1,12 +0,0 @@
|
||||
/elpa
|
||||
/quelpa
|
||||
/auto-save-list
|
||||
/history
|
||||
/tramp
|
||||
/smex-items
|
||||
/url
|
||||
.yas-compiled-snippets.el
|
||||
/custom.el
|
||||
/semanticdb/
|
||||
/image-dired/
|
||||
/projectile-bookmarks.eld
|
@ -9,39 +9,131 @@
|
||||
TeX-insert-backslash
|
||||
TeX-insert-dollar
|
||||
TeX-insert-sub-or-superscript
|
||||
antlr-electric-character
|
||||
antlr-indent-command
|
||||
beginning-of-buffer
|
||||
c-electric-brace
|
||||
c-electric-colon
|
||||
c-electric-delete-forward
|
||||
c-electric-lt-gt
|
||||
c-electric-paren
|
||||
c-electric-semi&comma
|
||||
c-electric-slash
|
||||
c-electric-star
|
||||
c-end-of-statement
|
||||
c-indent-line-or-region
|
||||
comment-dwim
|
||||
counsel-yank-pop
|
||||
crux-move-beginning-of-line
|
||||
delete-indentation
|
||||
downcase-region
|
||||
electric-graphviz-dot-semi
|
||||
electric-newline-and-maybe-indent
|
||||
electric-verilog-colon
|
||||
electric-verilog-semi
|
||||
electric-verilog-tab
|
||||
ess-smart-comma
|
||||
forward-sexp
|
||||
end-of-buffer
|
||||
hydra--universal-argument
|
||||
hydra-mc/mc/edit-lines
|
||||
indent-for-tab-command
|
||||
kill-region
|
||||
handle-switch-frame
|
||||
lispy-braces
|
||||
lispy-brackets
|
||||
lispy-delete
|
||||
lispy-kill
|
||||
lispy-parens
|
||||
lispy-quotes
|
||||
markdown-exdent-or-delete
|
||||
markdown-outdent-or-delete
|
||||
message-beginning-of-line
|
||||
org-beginning-of-line
|
||||
org-cycle
|
||||
org-delete-char
|
||||
org-delete-indentation
|
||||
org-end-of-line
|
||||
org-force-self-insert
|
||||
org-kill-line
|
||||
org-return
|
||||
org-return-indent
|
||||
org-self-insert-command
|
||||
org-shiftcontrolup
|
||||
org-shiftright
|
||||
org-yank
|
||||
reindent-then-newline-and-indent
|
||||
sgml-slash
|
||||
markdown-outdent-or-delete
|
||||
sh-assignment
|
||||
special-digit-argument
|
||||
special-lh-knight/body
|
||||
special-lispy-ace-char
|
||||
special-lispy-ace-paren
|
||||
special-lispy-ace-subword
|
||||
special-lispy-ace-symbol
|
||||
special-lispy-ace-symbol-replace
|
||||
special-lispy-alt-multiline
|
||||
special-lispy-back
|
||||
special-lispy-barf
|
||||
special-lispy-beginning-of-defun
|
||||
special-lispy-clone
|
||||
special-lispy-convolute
|
||||
special-lispy-convolute-left
|
||||
special-lispy-different
|
||||
special-lispy-down
|
||||
special-lispy-down-slurp
|
||||
special-lispy-edebug-stop
|
||||
special-lispy-ediff-regions
|
||||
special-lispy-eval
|
||||
special-lispy-eval-and-insert
|
||||
special-lispy-eval-other-window
|
||||
special-lispy-flow
|
||||
special-lispy-follow
|
||||
special-lispy-goto
|
||||
special-lispy-goto-def-ace
|
||||
special-lispy-goto-def-down
|
||||
special-lispy-goto-elisp-commands
|
||||
special-lispy-goto-local
|
||||
special-lispy-goto-mode
|
||||
special-lispy-goto-projectile
|
||||
special-lispy-goto-recursive
|
||||
special-lispy-join
|
||||
special-lispy-left
|
||||
special-lispy-mark-list
|
||||
special-lispy-move-down
|
||||
special-lispy-move-left
|
||||
special-lispy-move-right
|
||||
special-lispy-move-up
|
||||
special-lispy-narrow
|
||||
special-lispy-new-copy
|
||||
special-lispy-occur
|
||||
special-lispy-oneline
|
||||
special-lispy-other-mode
|
||||
special-lispy-other-space
|
||||
special-lispy-outline-goto-child
|
||||
special-lispy-outline-next
|
||||
special-lispy-outline-prev
|
||||
special-lispy-paste
|
||||
special-lispy-quit
|
||||
special-lispy-raise
|
||||
special-lispy-raise-some
|
||||
special-lispy-repeat
|
||||
special-lispy-right
|
||||
special-lispy-shifttab
|
||||
special-lispy-slurp
|
||||
special-lispy-splice
|
||||
special-lispy-stringify
|
||||
special-lispy-tab
|
||||
special-lispy-teleport
|
||||
special-lispy-tilde
|
||||
special-lispy-underscore
|
||||
special-lispy-undo
|
||||
special-lispy-up
|
||||
special-lispy-up-slurp
|
||||
special-lispy-view
|
||||
special-lispy-visit
|
||||
special-lispy-widen
|
||||
special-lispy-x
|
||||
special-pop-tag-mark
|
||||
transpose-words
|
||||
upcase-region
|
||||
yaml-electric-backspace
|
||||
yaml-electric-dash-and-dot
|
||||
yas-expand
|
||||
))
|
||||
|
||||
@ -49,9 +141,11 @@
|
||||
'(
|
||||
TeX-view
|
||||
avy-goto-char
|
||||
c-electric-star
|
||||
counsel-M-x
|
||||
count-lines-page
|
||||
counsel-find-file
|
||||
handle-switch-frame
|
||||
eval-print-last-sexp
|
||||
hydra--digit-argument
|
||||
hydra-mc-manual/body
|
||||
hydra-mc-manual/lambda-<return>
|
||||
@ -63,6 +157,7 @@
|
||||
hydra-mc/mc/edit-lines-and-exit
|
||||
hydra-mc/mc/insert-numbers
|
||||
hydra-mc/mc/mark-all-dwim
|
||||
hydra-mc/mc/mark-all-in-region-regexp
|
||||
hydra-mc/mc/mark-all-symbols-like-this
|
||||
hydra-mc/mc/mark-next-like-this
|
||||
hydra-mc/mc/mark-previous-like-this
|
||||
@ -72,8 +167,21 @@
|
||||
hydra-mc/mc/unmark-next-like-this
|
||||
hydra-mc/mc/unmark-previous-like-this
|
||||
hydra-mc/nil
|
||||
iedit-switch-to-mc-mode
|
||||
lispy-cursor-down
|
||||
magit-status
|
||||
mouse-set-region
|
||||
nm-tag
|
||||
org-edit-src-save
|
||||
org-insert-heading-respect-content
|
||||
org-latex-export-to-pdf-no-kr
|
||||
org-src-export-to-pdf
|
||||
previous-buffer
|
||||
python-shell-send-buffer
|
||||
recompile
|
||||
show-marks
|
||||
smex
|
||||
swiper
|
||||
switch-to-buffer
|
||||
undo-tree-visualize
|
||||
))
|
||||
|
@ -9,6 +9,10 @@
|
||||
|
||||
(custom-theme-set-faces
|
||||
'fred
|
||||
'(default ((default (:foundry "SRC" :family "Hack" :height 110))
|
||||
(((class color) (min-colors 4096)) (:foreground "#eeeeec" :background "#151515"))
|
||||
(((class color) (min-colors 256)) (:foreground "#eeeeec" :background "#222"))
|
||||
(((class color) (min-colors 89)) (:foreground "#eeeeec" :background "black"))))
|
||||
'(highlight ((((class color) (min-colors 89)) (:foreground "#2e3436" :background "#edd400"))))
|
||||
'(mode-line ((((class color) (min-colors 89)) (:box (:line-width -1 :style released-button) :background "#285577" :foreground "#eeeeec"))
|
||||
(t (:background "#555"))))
|
||||
@ -26,6 +30,7 @@
|
||||
'(error ((((class color) (min-colors 89)) (:foreground "#ff4b4b"))))
|
||||
'(warning ((((class color) (min-colors 89)) (:foreground "#fcaf3e"))))
|
||||
'(success ((((class color) (min-colors 89)) (:foreground "#8ae234"))))
|
||||
|
||||
'(font-lock-builtin-face ((((class color) (min-colors 89)) (:foreground "#e090d7"))))
|
||||
'(font-lock-comment-face ((((class color) (min-colors 89)) (:foreground "#73d216"))))
|
||||
'(font-lock-constant-face ((((class color) (min-colors 89)) (:foreground "#e9b2e3"))))
|
||||
@ -34,19 +39,19 @@
|
||||
'(font-lock-string-face ((((class color) (min-colors 89)) (:foreground "#e9b96e"))))
|
||||
'(font-lock-type-face ((((class color) (min-colors 89)) (:foreground "#8cc4ff"))))
|
||||
'(font-lock-variable-name-face ((((class color) (min-colors 89)) (:foreground "#fcaf3e"))))
|
||||
|
||||
'(link ((((class color) (min-colors 89)) (:underline t :foreground "#729fcf"))
|
||||
(t (:foreground "yellow" :underline t))))
|
||||
'(link-visited ((((class color) (min-colors 89)) (:underline t :foreground "#3465a4"))))
|
||||
'(default ((((class color) (min-colors 4096)) (:foreground "#eeeeec" :background "#151515")) (((class color) (min-colors 256)) (:foreground "#eeeeec" :background "#222")) (((class color) (min-colors 89)) (:foreground "#eeeeec" :background "black"))))
|
||||
'(button ((t (:foreground "yellow"))))
|
||||
|
||||
'(company-tooltip ((t (:background "#0f0f0f"))))
|
||||
'(company-scrollbar-bg ((t (:background "#232323"))))
|
||||
'(company-scrollbar-fg ((t (:background "#161616"))))
|
||||
'(company-tooltip-selection ((t (:inherit font-lock-function-name-face))))
|
||||
'(company-tooltip-selection ((t (:background "#433323"))))
|
||||
'(company-tooltip-common ((t (:inherit font-lock-constant-face))))
|
||||
|
||||
'(ivy-current-match ((t (:background "#555" :foreground "light grey"))))
|
||||
'(ivy-current-match ((t (:foreground "#1BFFFF" :weight bold))))
|
||||
'(ivy-minibuffer-match-face-3 ((t (:background "#777ccc" :weight bold))))
|
||||
'(ivy-remote ((t (:foreground "deep sky blue"))))
|
||||
'(ivy-subdir ((t (:inherit dired-directory))))
|
||||
@ -58,7 +63,20 @@
|
||||
'(diredp-file-name ((t (:foreground "light grey"))))
|
||||
'(diredp-file-suffix ((t (:foreground "dark gray"))))
|
||||
|
||||
'(nm-authors-face ((t (:inherit default))))
|
||||
'(nm-read-face ((t (:inherit default))))
|
||||
|
||||
'(column-enforce-face ((((class mono)) :inverse-video t :weight bold :underline t)
|
||||
(t :background "gray20" :foreground "violet"))))
|
||||
(t :background "gray20" :foreground "violet")))
|
||||
|
||||
'(rainbow-delimiters-depth-1-face ((t (:inherit rainbow-delimiters-base-face :foreground "grey80"))))
|
||||
'(rainbow-delimiters-depth-2-face ((t (:inherit rainbow-delimiters-base-face :foreground "red"))))
|
||||
'(rainbow-delimiters-depth-3-face ((t (:inherit rainbow-delimiters-base-face :foreground "orange"))))
|
||||
'(rainbow-delimiters-depth-4-face ((t (:inherit rainbow-delimiters-base-face :foreground "yellow"))))
|
||||
'(rainbow-delimiters-depth-5-face ((t (:inherit rainbow-delimiters-base-face :foreground "green"))))
|
||||
'(rainbow-delimiters-depth-6-face ((t (:inherit rainbow-delimiters-base-face :foreground "#44444ff"))))
|
||||
'(rainbow-delimiters-depth-7-face ((t (:inherit rainbow-delimiters-base-face :foreground "#dd1299"))))
|
||||
'(rainbow-delimiters-depth-8-face ((t (:inherit rainbow-delimiters-base-face :foreground "violet"))))
|
||||
'(rainbow-delimiters-depth-9-face ((t (:inherit rainbow-delimiters-base-face :foreground "lime")))))
|
||||
|
||||
(provide-theme 'fred)
|
||||
|
115
.emacs.d/hydra-defs.el
Normal file
115
.emacs.d/hydra-defs.el
Normal file
@ -0,0 +1,115 @@
|
||||
(require 'hydra-examples)
|
||||
(defhydra hydra-window (:hint nil)
|
||||
"
|
||||
Split: _v_:vert _x_:horz
|
||||
Delete: _c_lose _o_nly
|
||||
Switch Window: _h_:left _j_:down _k_:up _l_:right
|
||||
Ace: _a_ce _s_:swap
|
||||
Buffers: _p_revious _n_ext _b_:select _f_ind-file
|
||||
Resize: _H_:splitter left _J_:splitter down _K_:splitter up _L_:splitter right"
|
||||
|
||||
("h" windmove-left)
|
||||
("j" windmove-down)
|
||||
("k" windmove-up)
|
||||
("l" windmove-right)
|
||||
|
||||
("p" previous-buffer)
|
||||
("n" next-buffer)
|
||||
("b" ido-switch-buffer)
|
||||
("f" ido-find-file)
|
||||
|
||||
("x" split-window-below)
|
||||
("v" split-window-right)
|
||||
|
||||
("a" ace-window)
|
||||
("s" ace-swap-window)
|
||||
|
||||
("c" delete-window)
|
||||
("o" delete-other-windows)
|
||||
|
||||
("H" hydra-move-splitter-left)
|
||||
("J" hydra-move-splitter-down)
|
||||
("K" hydra-move-splitter-up)
|
||||
("L" hydra-move-splitter-right)
|
||||
|
||||
("q" nil))
|
||||
|
||||
(defhydra hydra-shortcuts (:hint nil :color blue :columns 3)
|
||||
"Shortcuts"
|
||||
("d" insert-date "insert date")
|
||||
("t" todotxt-open-file "open todotxt")
|
||||
("q" nil))
|
||||
|
||||
(defhydra hydra-mc ()
|
||||
"Marks: %(mc/num-cursors)"
|
||||
("a" mc/mark-all-dwim "all" :column "Bulk")
|
||||
("s" mc/mark-all-symbols-like-this "symbols")
|
||||
("r" mc/mark-all-in-region-regexp "regex")
|
||||
|
||||
("l" mc/edit-lines "lines" :column "Edit")
|
||||
("e" mc/edit-ends-of-lines "ends")
|
||||
|
||||
("n" mc/insert-numbers "number" :column "Misc")
|
||||
("S" mc/sort-regions "sort" :column "Misc")
|
||||
|
||||
("<up>" mc/mark-previous-like-this "prev" :column "Manual")
|
||||
("<down>" mc/mark-next-like-this "next")
|
||||
("S-<up>" mc/unmark-next-like-this nil)
|
||||
("S-<down>" mc/unmark-previous-like-this nil)
|
||||
("<left>" mc/skip-to-previous-like-this "skip prev")
|
||||
("<right>" mc/skip-to-next-like-this "skip next")
|
||||
|
||||
("C-p" mc/mark-previous-like-this "prev" :column "Manual (Alt)")
|
||||
("C-n" mc/mark-next-like-this "next")
|
||||
("C-S-p" mc/unmark-next-like-this nil)
|
||||
("C-S-n" mc/unmark-previous-like-this nil)
|
||||
("M-p" mc/skip-to-previous-like-this "skip prev")
|
||||
("M-n" mc/skip-to-next-like-this "skip next")
|
||||
|
||||
("<return>" nil nil))
|
||||
|
||||
(defhydra hydra-mc-manual (:hint nil :foreign-keys run)
|
||||
"
|
||||
_SPC_: Add at point _C-g_: Abort _<return>_: Start"
|
||||
("SPC" (mc/create-fake-cursor-at-point))
|
||||
("C-g" (multiple-cursors-mode 0) :exit t)
|
||||
("<return>" (multiple-cursors-mode 1) :exit t))
|
||||
|
||||
(defhydra hydra-avy (:hint nil :color blue)
|
||||
"
|
||||
char: _c_: 1 char _C_: 2 char
|
||||
word: _w_: 1 char _W_: 0 char"
|
||||
|
||||
("c" avy-goto-char)
|
||||
("C" avy-goto-char-2)
|
||||
("w" avy-goto-word-1)
|
||||
("W" avy-goto-word-0)
|
||||
("q" nil))
|
||||
|
||||
(defhydra hydra-smerge (:hint nil :color pink :post (smerge-auto-leave))
|
||||
"
|
||||
^Move^ ^Keep^ ^Diff^ ^Other^
|
||||
^^-----------^^-------------------^^---------------------^^-------
|
||||
_n_ext _b_ase _<_: upper/base _C_ombine
|
||||
_p_rev _u_pper _=_: upper/lower _r_esolve
|
||||
^^ _l_ower _>_: base/lower _k_ill current
|
||||
^^ _a_ll _R_efine
|
||||
^^ _RET_: current _E_diff _q_: cancel
|
||||
"
|
||||
("n" smerge-next)
|
||||
("p" smerge-prev)
|
||||
("b" smerge-keep-base)
|
||||
("u" smerge-keep-upper)
|
||||
("l" smerge-keep-lower)
|
||||
("a" smerge-keep-all)
|
||||
("RET" smerge-keep-current)
|
||||
("\C-m" smerge-keep-current)
|
||||
("<" smerge-diff-base-upper)
|
||||
("=" smerge-diff-upper-lower)
|
||||
(">" smerge-diff-base-lower)
|
||||
("R" smerge-refine)
|
||||
("E" smerge-ediff)
|
||||
("C" smerge-combine-with-next)
|
||||
("r" smerge-resolve)
|
||||
("k" smerge-kill-current)
|
||||
("q" nil :color blue))
|
@ -1,84 +0,0 @@
|
||||
(require 'hydra-examples)
|
||||
(defhydra hydra-window (:hint nil)
|
||||
"
|
||||
Split: _v_:vert _x_:horz
|
||||
Delete: _c_lose _o_nly
|
||||
Switch Window: _h_:left _j_:down _k_:up _l_:right
|
||||
Ace: _a_ce _s_:swap
|
||||
Buffers: _p_revious _n_ext _b_:select _f_ind-file
|
||||
Resize: _H_:splitter left _J_:splitter down _K_:splitter up _L_:splitter right"
|
||||
|
||||
("h" windmove-left)
|
||||
("j" windmove-down)
|
||||
("k" windmove-up)
|
||||
("l" windmove-right)
|
||||
|
||||
("p" previous-buffer)
|
||||
("n" next-buffer)
|
||||
("b" ido-switch-buffer)
|
||||
("f" ido-find-file)
|
||||
|
||||
("x" split-window-below)
|
||||
("v" split-window-right)
|
||||
|
||||
("a" ace-window)
|
||||
("s" ace-swap-window)
|
||||
|
||||
("c" delete-window)
|
||||
("o" delete-other-windows)
|
||||
|
||||
("H" hydra-move-splitter-left)
|
||||
("J" hydra-move-splitter-down)
|
||||
("K" hydra-move-splitter-up)
|
||||
("L" hydra-move-splitter-right)
|
||||
|
||||
("q" nil))
|
||||
|
||||
(defhydra hydra-shortcuts (:hint nil :color blue :columns 3)
|
||||
"Shortcuts"
|
||||
("d" insert-date "insert date")
|
||||
("t" todotxt-open-file "open todotxt")
|
||||
("q" nil))
|
||||
|
||||
(defhydra hydra-mc (:hint nil)
|
||||
"
|
||||
Mark Bulk: _a_ll _s_ymbols _r_egex
|
||||
Edit: _l_ines _e_nds
|
||||
Misc: _n_umbers _S_ort
|
||||
Mark (+S=unmark): _<up>_:prev _<down>_:next _<left>_:skip prev _<right>_:skip next"
|
||||
("a" mc/mark-all-dwim)
|
||||
("s" mc/mark-all-symbols-like-this)
|
||||
("r" mc/mark-all-in-region-regexp)
|
||||
|
||||
("l" mc/edit-lines)
|
||||
("e" mc/edit-ends-of-lines)
|
||||
|
||||
("n" mc/insert-numbers)
|
||||
("S" mc/sort-regions)
|
||||
|
||||
("<down>" mc/mark-next-like-this)
|
||||
("<up>" mc/mark-previous-like-this)
|
||||
("S-<down>" mc/unmark-previous-like-this)
|
||||
("S-<up>" mc/unmark-next-like-this)
|
||||
("<right>" mc/skip-to-next-like-this)
|
||||
("<left>" mc/skip-to-previous-like-this)
|
||||
|
||||
("<return>" nil))
|
||||
|
||||
(defhydra hydra-mc-manual (:hint nil :foreign-keys run)
|
||||
"
|
||||
_SPC_: Add at point _C-g_: Abort _<return>_: Start"
|
||||
("SPC" (mc/create-fake-cursor-at-point))
|
||||
("C-g" (multiple-cursors-mode 0) :exit t)
|
||||
("<return>" (multiple-cursors-mode 1) :exit t))
|
||||
|
||||
(defhydra hydra-avy (:hint nil :color blue)
|
||||
"
|
||||
char: _c_: 1 char _C_: 2 char
|
||||
word: _w_: 1 char _W_: 0 char"
|
||||
|
||||
("c" avy-goto-char)
|
||||
("C" avy-goto-char-2)
|
||||
("w" avy-goto-word-1)
|
||||
("W" avy-goto-word-0)
|
||||
("q" nil))
|
1047
.emacs.d/init.el
1047
.emacs.d/init.el
File diff suppressed because it is too large
Load Diff
@ -1,11 +0,0 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: guards
|
||||
# key: gaurds
|
||||
# expand-env: (gaurd-name (upcase (replace-regexp-in-string "\\." "_" (file-name-nondirectory (buffer-file-name)))))
|
||||
# --
|
||||
#ifndef ${1:`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H}
|
||||
#define $1
|
||||
|
||||
$0
|
||||
|
||||
#endif /* $1 */
|
5
.emacs.d/snippets/latex-mode/inlinejs
Normal file
5
.emacs.d/snippets/latex-mode/inlinejs
Normal file
@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: inlinejs
|
||||
# key: ijs
|
||||
# --
|
||||
\mintinline{js}{$0}
|
10
.emacs.d/snippets/latex-mode/mintjs
Normal file
10
.emacs.d/snippets/latex-mode/mintjs
Normal file
@ -0,0 +1,10 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: mintjs
|
||||
# key: mintjs
|
||||
# --
|
||||
\begin{listing}[htbp]
|
||||
\begin{minted}{js}
|
||||
$0
|
||||
\end{minted}
|
||||
\caption{$1}\label{lst:$2}
|
||||
\end{listing}
|
17
.emacs.d/snippets/org-mode/hwhead
Normal file
17
.emacs.d/snippets/org-mode/hwhead
Normal file
@ -0,0 +1,17 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Homework Header
|
||||
# key: hwhead
|
||||
# --
|
||||
|
||||
#+Author: Adam Goldsmith
|
||||
#+Title: ${1:title}
|
||||
#+Date: `(format-time-string "%Y-%m-%d")`
|
||||
#+LaTeX_HEADER: \newcommand{\class}{${2:class}}
|
||||
|
||||
#+LATEX_CLASS_OPTIONS: [12pt]
|
||||
#+OPTIONS: toc:nil num:nil ^:{}
|
||||
#+LATEX_HEADER: \usepackage[margin=1in, nohead, nofoot]{geometry}
|
||||
#+LATEX_HEADER: \makeatletter \def\@maketitle{{\noindent\@title} {\hfill\@author\unskip\strut\\\\} {\noindent\class\unskip\strut} {\hfill\@date\par \vspace{\baselineskip}}\makeatother}
|
||||
#+LATEX_HEADER: \pagenumbering{gobble}
|
||||
|
||||
$0
|
34
.gitignore
vendored
Normal file
34
.gitignore
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
/.emacs.d/%backup%~
|
||||
/.emacs.d/abbrev_defs
|
||||
/.emacs.d/eclipse.jdt.ls/
|
||||
/.emacs.d/jdt-language-server-latest.tar.gz
|
||||
/.emacs.d/elpa
|
||||
/.emacs.d/quelpa
|
||||
/.emacs.d/auto-save-list
|
||||
/.emacs.d/history
|
||||
/.emacs.d/tramp
|
||||
/.emacs.d/smex-items
|
||||
/.emacs.d/url
|
||||
/.emacs.d/.yas-compiled-snippets.el
|
||||
/.emacs.d/custom.el
|
||||
/.emacs.d/semanticdb/
|
||||
/.emacs.d/image-dired/
|
||||
/.emacs.d/projectile-bookmarks.eld
|
||||
/.emacs.d/workspace/
|
||||
/.emacs.d/.lsp-session-v1
|
||||
/.emacs.d/.org-id-locations
|
||||
/.emacs.d/.python-environments/
|
||||
/.emacs.d/ede-projects.el
|
||||
/.emacs.d/jdee-server/
|
||||
/.emacs.d/persp-confs/
|
||||
/.emacs.d/.cache/
|
||||
/.emacs.d/.last-package-update-day
|
||||
/.emacs.d/.dap-breakpoints
|
||||
/.emacs.d/request/
|
||||
/.emacs.d/transient/
|
||||
/.emacs.d/lsp-cache/
|
||||
/.emacs.d/eln-cache/
|
||||
/.emacs.d/eshell/history
|
||||
/.emacs.d/eaf/
|
||||
/.emacs.d/recentf
|
||||
/.emacs.d/undo-tree-hist/
|
11
.local/share/applications/emacs.desktop
Executable file
11
.local/share/applications/emacs.desktop
Executable file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Name=Emacsclient
|
||||
GenericName=Text Editor
|
||||
Comment=Edit text
|
||||
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||
Exec=emacsclient -c -n -a "" %F
|
||||
Icon=emacs
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Categories=Development;TextEditor;
|
||||
#StartupWMClass=Emacs
|
8
.tern-config
Normal file
8
.tern-config
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"libs": [
|
||||
"browser"
|
||||
],
|
||||
"plugins": {
|
||||
"node": {}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user