Compare commits

...

258 Commits
temp ... master

Author SHA1 Message Date
Adam Goldsmith 1ea372e645 Fix typo in apheleia python hook 2024-04-27 20:13:12 -04:00
Adam Goldsmith 4093e5e516 Bind C-z to `org-beamer-export-to-pdf` in org ox-beamer-mode 2024-04-20 16:08:28 -04:00
Adam Goldsmith 81afb079ea Update notmuch-fcc-dirs to place sent mail into adamgoldsmith.name
for mujmap
2024-04-18 00:04:12 -04:00
Adam Goldsmith 989b833058 Switch from muchsync to mujmap for notmuch remote update 2024-04-17 22:44:01 -04:00
Adam Goldsmith adec49b7da Add/configure marginalia package 2024-03-08 01:20:18 -05:00
Adam Goldsmith 9e60bde41c Use M-TAB instead of TAB for yasnippet to avoid accidental expansion 2024-02-07 23:39:46 -05:00
Adam Goldsmith 760e779db5 Enable new `tramp-show-ad-hoc-proxies` from Emacs 29.2 2024-01-24 16:04:04 -05:00
Adam Goldsmith a3813e1290 Don't try to use package-vc-install on Emacs <29 2024-01-20 01:36:40 -05:00
Adam Goldsmith 51b81ab100 Use pet for detecting python environment 2024-01-18 13:34:48 -05:00
Adam Goldsmith 7d573dc56e Enable indent-bars in yaml-ts-mode 2024-01-18 13:34:48 -05:00
Adam Goldsmith 8b7e0bcdf9 Use ruff/ruff-isort formatter in apheleia when detected 2024-01-18 13:34:48 -05:00
Adam Goldsmith 140a490ad9 Replace quelpa with `vc-use-package` 2024-01-12 00:21:01 -05:00
Adam Goldsmith d63c58b12e Replace "highlight-indent-guides" with "indent-bars" 2024-01-10 01:53:08 -05:00
Adam Goldsmith d97622ed2a Use setsid to spawn thunar/alacritty as non-child 2023-09-29 23:08:03 -04:00
Adam Goldsmith 1e0976215c Configure auth-source-pass 2023-08-16 14:10:49 -04:00
Adam Goldsmith 3d75bee174 Add `smali-mode` package 2023-06-02 15:16:51 -04:00
Adam Goldsmith 12d52690d4 apheleia: Check prettier config for all prettier variants 2023-05-04 20:37:02 -04:00
Adam Goldsmith ac4cd5a3f0 Check if file is ignored by prettier in apheleia 2023-05-04 20:12:56 -04:00
Adam Goldsmith 5f3d421593 Enable mypy and ruff pylsp plugins 2023-05-04 00:26:13 -04:00
Adam Goldsmith 9e09f7e05f Replace prettier-js and blacken with apheleia 2023-05-04 00:24:50 -04:00
Adam Goldsmith 387df0553e Remove config for lsp-python-ms 2023-05-02 12:54:15 -04:00
Adam Goldsmith 67f752d714 Enable xterm mouse mode (for tmux compatibility) 2023-04-07 23:57:32 -04:00
Adam Goldsmith 9a0c0d6244 Enable refining hunks in active magit diff 2023-03-27 20:01:49 -04:00
Adam Goldsmith e79f011813 Add org-tempo to org-modules instead of requiring it
I think requiring it broke at some point? This new method seems more
correct anyway
2023-01-02 00:08:03 -05:00
Adam Goldsmith 41a27fcd15 Disable company-box mode 2023-01-01 22:11:52 -05:00
Adam Goldsmith e5400737cc Hide rustic format error buffers 2023-01-01 22:10:24 -05:00
Adam Goldsmith 1b959ae319 Remove gnus-alias config; it didn't seem to be helping 2023-01-01 22:07:57 -05:00
Adam Goldsmith 2e668a314b Disable git-gutter on remote files 2023-01-01 22:04:30 -05:00
Adam Goldsmith 28c842bf00 Bind `outline-cycle` directly in outline mode, using `<backtab>` 2023-01-01 21:57:17 -05:00
Adam Goldsmith 9ed6f4bac3 Remove old `tramp-remote-path` from WPI 2023-01-01 21:56:26 -05:00
Adam Goldsmith 131737c318 Quote filenames correctly in scad-compile 2022-10-07 14:55:45 -04:00
Adam Goldsmith 88fa55e297 Add utility function/binding to evaluate math in place 2022-08-07 22:45:08 -04:00
Adam Goldsmith 8e089fef9b Update git gutter periodically, instead of just on save 2022-03-14 01:31:35 -04:00
Adam Goldsmith ef363257a0 Dump all undo tree history files in one directory 2022-03-14 01:31:05 -04:00
Adam Goldsmith cf1edbc049 Remove .msmtprc 2022-02-21 12:00:29 -05:00
Adam Goldsmith fdc90c4a6c Add config for git-gutter and git-gutter-fringe 2022-02-18 01:28:59 -05:00
Adam Goldsmith be5ef48f3a Add config for rustic (improved rust-mode) 2022-02-12 10:48:31 -05:00
Adam Goldsmith bb85c106fe Use rust-analyzer when it is installed 2022-02-12 10:43:51 -05:00
Adam Goldsmith 2ba8c41462 Add a bunch more misc cache directories to .gitignore 2022-02-11 11:04:29 -05:00
Adam Goldsmith d5a642072b Replace company-{quickhelp,posframe,lsp} by company-box 2022-02-11 10:49:55 -05:00
Adam Goldsmith 39652658de Enable LSP in rust-mode 2022-02-01 00:05:14 -05:00
Adam Goldsmith 6c38b1bf0c Use django engine for `.dj.html` extension to in web mode 2022-02-01 00:01:13 -05:00
Adam Goldsmith 2698021728 Add magit-todos config 2022-01-31 23:43:40 -05:00
Adam Goldsmith 255b0a2675 Replace org ELPA repo with nongnu ELPA 2021-12-09 03:07:06 -05:00
Adam Goldsmith 393bfce935 Maybe apply prettier to json-mode buffers 2021-12-01 15:00:01 -05:00
Adam Goldsmith 243f1145f8 Fix return value comparison in `prettier-js-mode-maybe` 2021-12-01 14:59:39 -05:00
Adam Goldsmith b8d80f0d77 msmtp: Make CMS-Admin account inherit from CMS account 2021-11-01 12:22:25 -04:00
Adam Goldsmith 09329f26a0 msmtp: Fix host for mail.adamgoldsmith.name, remove tls_fingerprint 2021-11-01 12:21:27 -04:00
Adam Goldsmith 75aac65f07 Set `gnutls-algorithm-priority` to work around some ssl issues with melpa 2021-10-22 16:12:30 -04:00
Adam Goldsmith 5fed93e61b Fix `(lambda)` quoting 2021-09-13 19:58:44 -04:00
Adam Goldsmith 3b210ad829 Ignore "Dotfiles and Lockfiles" by default in counsel-find-file 2021-07-22 17:23:53 -04:00
Adam Goldsmith 84fa4fe9fa Update adamgoldsmith.name smtp certificate hash 2021-06-17 22:19:47 -04:00
Adam Goldsmith dffd96df80 Add func/binding to compile in lsp project root 2021-06-17 22:19:23 -04:00
Adam Goldsmith 0385b3ff35 Use flake8 instead of py{code,doc}style in pylsp 2021-06-17 22:18:18 -04:00
Adam Goldsmith 4a4fe4e62a Delete old packages when updating with auto-package-update 2021-06-15 16:57:31 -04:00
Adam Goldsmith 674e7dc5aa Try to place lsp-ui-doc popups in less annoying places 2021-05-26 01:24:05 -04:00
Adam Goldsmith 7224ec283b Don't try to restore window configuration when exiting magit buffers 2021-05-26 01:24:05 -04:00
Adam Goldsmith b610aa3be6 Load tango-dark before fred theme, as a fallback 2021-05-26 01:24:05 -04:00
Adam Goldsmith eaad8ce86a Add a function/keybind to delete invisible frames
Workaround for annoying "Attempt to delete a surrogate minibuffer
frame" issues when closing frames
2021-05-26 01:24:05 -04:00
Adam Goldsmith a8cced9d29 Fix prettier-js-mode-maybe to check for 0 exit code
instead of checking for empty string
2021-05-26 01:24:05 -04:00
Adam Goldsmith 5f8e0480e5 Don't require `org-plus-contrib`, I'll it manually where needed 2021-05-07 18:33:55 -04:00
Adam Goldsmith e89e969dc1 Only load `org-lookup-dnd` if the index is present 2021-05-07 18:28:39 -04:00
Adam Goldsmith d368502524 Don't load `nm` if notmuch isn't installed 2021-05-07 18:09:33 -04:00
Adam Goldsmith 37a9f6c754 Don't `:ensure` lsp-mode; it's not helpful on servers 2021-05-07 18:08:47 -04:00
Adam Goldsmith f1e539139e Add function to remove non-existant files from file-name-history 2021-01-04 13:29:09 -05:00
Adam Goldsmith 0c123b0c74 Use web-mode in Django templates 2021-01-04 13:26:15 -05:00
Adam Goldsmith 5f2a02c628 Use counsel-dash instead of helm-dash 2021-01-04 13:25:28 -05:00
Adam Goldsmith 6d2f831304 pkgbuild-mode: Generate .SRCINFO when saving file/updating checksums 2021-01-04 13:22:01 -05:00
Adam Goldsmith 2554afa44a Set column-enforce-mode column count to 100 2021-01-04 13:21:14 -05:00
Adam Goldsmith ab3907d9fa Make split-window-below-i3 behave nicer in a terminal or missing i3 2021-01-04 13:18:38 -05:00
Adam Goldsmith 6b97d19487 msmtp: Pin new cert fingerprint for adamgoldsmith.name 2020-11-05 00:19:26 -05:00
Adam Goldsmith 1f0b33804c Switch to emacsmirror for dired+, as emacswiki is very unreliable 2020-09-09 01:27:47 -04:00
Adam Goldsmith a1819b9655 Remove lsp-clients package, as it has been deprecated 2020-09-03 17:51:33 -04:00
Adam Goldsmith ea0a117c45 Bind M-RET to comment-continuation functions in web-mode and typescript-mode 2020-08-27 01:41:23 -04:00
Adam Goldsmith 109fd2dd60 Enable web mode comment-annotation 2020-08-27 01:41:23 -04:00
Adam Goldsmith 45409de2a4 Enable `TeX-narrow-to-group` and `LaTeX-narrow-to-environment` 2020-08-27 01:41:23 -04:00
Adam Goldsmith b558842152 Add config for company-ansible 2020-08-27 01:41:23 -04:00
Adam Goldsmith 98f05814c2 Autoload `prettier-js` to allow formatting buffers before loading the mode 2020-08-27 01:41:23 -04:00
Adam Goldsmith 946a6c74a4 Add `yas-minor-mode` as yasnippet `:commands` to allow for autoload 2020-08-27 01:41:23 -04:00
Adam Goldsmith 0d23ab5c48 Move company-auctex into company block 2020-08-27 01:41:23 -04:00
Adam Goldsmith d8f31d7e7d Move auto-package-update into required external section 2020-08-27 01:41:23 -04:00
Adam Goldsmith 4e6edf9535 Make fasd actually load if installed 2020-08-27 01:41:23 -04:00
Adam Goldsmith abf78614b2 Don't `:demand` lsp-java if it isn't installed 2020-08-07 14:11:31 -04:00
Adam Goldsmith 99390edb5c Fix `magit-status-no-new-window` failing to open repos by symlink
`let`s `default-directory` instead of using the `directory` argument
of `magit-status`. This allows it to use it's normal directory
handling.
2020-08-04 20:57:31 -04:00
Adam Goldsmith 25eecc532f Prevent focus stealing (raising a window) on MacOS 2020-08-04 11:52:52 -04:00
Adam Goldsmith 07f68dc9f1 Enable `blacken-mode` when a python project uses it 2020-07-23 21:11:58 -04:00
Adam Goldsmith 1b49c700c8 Allow launching `magit-status-no-new-window` as initial command
..or just before magit. If it's in the `:config`, the command won't
exist until magit is loaded.
2020-07-12 17:04:03 -04:00
Adam Goldsmith faf8bb7e9f Enable counsel-preselect-current-file 2020-07-12 17:04:03 -04:00
Adam Goldsmith b5a0f14951 Switch to my branch of org-lookup-dnd, add org-mode binding 2020-07-12 17:04:03 -04:00
Adam Goldsmith 1bf011d356 Add cms (adam@claremontmakerspace.org) to gnu identity list 2020-07-12 17:03:58 -04:00
Adam Goldsmith f598052d04 msmtp: Drop TLS fingerprints from CMS as they change too frequently 2020-06-08 19:36:49 -04:00
Adam Goldsmith c77c08250b Add function to start magit in current window
primarily for command line alias usage
2020-06-01 00:20:01 -04:00
Adam Goldsmith 120093f3ed Remove hacky counsel-find-file workaround, as a fix was merged upstream 2020-05-23 15:39:01 -04:00
Adam Goldsmith baad94b312 Add hacky fix for annoying extra history entries from ivy/swiper 2020-05-17 21:41:55 -04:00
Adam Goldsmith 81e7ec3df0 Add config for auto-package-update with cli output wrapper function 2020-04-19 01:17:55 -04:00
Adam Goldsmith 8944a4d47f Revert "Only set "Hack" font as default if it is availible"
This reverts commit 4d1e1cc4f7.
2020-04-14 22:01:39 -04:00
Adam Goldsmith 57c0232b89 Add org-lookup-dnd config 2020-04-14 21:37:48 -04:00
Adam Goldsmith 9b8a96cbb3 Add org handler for 'pdf:' link 2020-04-14 03:22:29 -04:00
Adam Goldsmith df8011a034 Disable auto indentation in web-mode 2020-04-14 03:20:34 -04:00
Adam Goldsmith 4d1e1cc4f7 Only set "Hack" font as default if it is availible 2020-04-12 15:37:59 -04:00
Adam Goldsmith 0955beffec Only demand which-key if it is installed 2020-04-12 15:19:48 -04:00
Adam Goldsmith 18762c553b Demote show-marks to optional 2020-04-12 15:19:29 -04:00
Adam Goldsmith 65c9e10f7f Disable raising and focusing of X frames
because wow is that annoying
2020-04-07 12:11:30 -04:00
Adam Goldsmith 35815b5e0f Enable show-trailing-whitespace in yaml mode 2020-04-02 15:33:53 -04:00
Adam Goldsmith a376094126 Add bindings for counsel-shell-history in comint mode 2020-04-02 15:33:18 -04:00
Adam Goldsmith 8b7598f5a0 Add grip-mode binding 2020-03-25 01:47:37 -04:00
Adam Goldsmith 527128f756 Disable script and style block padding in web-mode 2020-03-25 01:43:11 -04:00
Adam Goldsmith 3071cdc59d Use Microsoft Python language server 2020-03-25 01:42:37 -04:00
Adam Goldsmith 0603a9cc86 Add org-shift{left,right} bindings for arrow-less operation 2020-02-29 15:43:58 -05:00
Adam Goldsmith e93bb15974 nm: Forward mail inline, with Fwd: subject prefix 2020-02-25 00:10:42 -05:00
Adam Goldsmith a57ade869f Add CMS-Admin msmtp stanza 2020-02-09 22:16:08 -05:00
Adam Goldsmith 899df55e60 Add msmtp account for adam@claremontmakerspace.org 2020-02-05 03:31:31 -05:00
Adam Goldsmith 5189bfd181 Add a check for fortune-cookie required program 2019-11-24 10:01:10 -05:00
Adam Goldsmith 78f69bd0ed Add typescript to lsp mode list 2019-11-24 10:00:15 -05:00
Adam Goldsmith e47c2cd2f5 Add a fast remote update function to nm 2019-11-24 10:00:01 -05:00
Adam Goldsmith 63be82b791 Demand gnus-alias 2019-11-24 09:58:05 -05:00
Adam Goldsmith 2827cfa465 Update TSRC email address rule 2019-09-24 14:52:34 -04:00
Adam Goldsmith a55e02d043 Use prettier to check for the presence of its config file 2019-09-12 08:53:34 -04:00
Adam Goldsmith fc32bfa4bf Automatically enable prettier when .prettierrc is present at git root 2019-09-09 11:15:54 -04:00
Adam Goldsmith dd118646d1 Demand editorconfig-mode 2019-09-09 11:06:20 -04:00
Adam Goldsmith ce69b4473f Don't error when custom.el doesn't exist 2019-08-15 18:28:38 -04:00
Adam Goldsmith 9dc46d9faf Demand which-key-posframe 2019-08-15 18:26:04 -04:00
Adam Goldsmith f0564908f4 Add config for gnus-alias in notmuch 2019-08-13 15:42:47 -04:00
Adam Goldsmith 89b0cf958f Demand some packages that need to be loaded at start 2019-08-13 15:42:29 -04:00
Adam Goldsmith 75b82b1293 Use org-plus-contrib instead of elpa org 2019-08-03 19:44:50 -04:00
Adam Goldsmith 7cfdcd3946 Use use-package-{check-before-init,always-defer} to speed/quiet loading 2019-07-21 00:46:19 -04:00
Adam Goldsmith cb798a6b74 Add function/binding for updating SRCINFO to pkgbuild-mode 2019-07-17 22:10:09 -04:00
Adam Goldsmith bd21045064 Rename init-hydra.el to hydra-defs.el because the "init" prefix was annoying 2019-06-15 17:31:47 -04:00
Adam Goldsmith 27d6e7014c Fix starting lsp for java mode 2019-06-15 17:28:53 -04:00
Adam Goldsmith fd7ed0a897 Set which-key-posframe background color 2019-05-31 16:25:37 -04:00
Adam Goldsmith a3acf22829 Add company-posframe config 2019-05-31 16:25:10 -04:00
Adam Goldsmith be5abbd0e9 Add helpful config 2019-05-31 12:56:35 -04:00
Adam Goldsmith a8a38a27db Add docstring for latex-save-and-compile 2019-05-30 00:41:02 -04:00
Adam Goldsmith 06e8558848 Add config for company-auctex 2019-05-30 00:40:50 -04:00
Adam Goldsmith 92b8fa2a76 Add config for exec-path-from-shell for macOS 2019-05-30 00:40:05 -04:00
Adam Goldsmith 15b14408fe Actually call start-server on osx, fixes some wierd emacsclient stuff 2019-05-30 00:39:36 -04:00
Adam Goldsmith 6d0284bed3 Remove old comment on lsp-java, as jdtls is now auto-installed 2019-05-30 00:38:41 -04:00
Adam Goldsmith 356970944b Move various internal package config bits around, fix indent settings 2019-05-30 00:38:05 -04:00
Adam Goldsmith d5e83ded97 Fix and delight which-key config 2019-05-30 00:38:05 -04:00
Adam Goldsmith a6adcd7f71 Add which-key config 2019-05-19 19:24:54 -04:00
Adam Goldsmith d49d244dff Fix formatting in init-hyrdra.el 2019-05-19 19:24:06 -04:00
Adam Goldsmith ae3d062153 Switch MC hydra to auto columns, add mark count 2019-05-19 19:23:18 -04:00
Adam Goldsmith 8593dba2ef notmuch: Upload in background with muchsync 2019-04-15 09:50:54 -04:00
Adam Goldsmith 7ebc3514fc Fix function name in org-src-export-to-pdf (again) 2019-04-10 13:27:18 -04:00
Adam Goldsmith 60a002d9e4 Don't ensure org-tempo. That's dumb.
If it's exists, it should be loaded, but it's not an external package
2019-04-02 23:06:24 -04:00
Adam Goldsmith cd0537b678 Use org-tempo templates 2019-04-02 22:16:43 -04:00
Adam Goldsmith d969971732 Set default font size in theme 2019-03-28 15:01:03 -04:00
Adam Goldsmith 653a402eae Fix typo in docstring of split-window-right-i3 2019-03-28 15:01:03 -04:00
Adam Goldsmith 1cba415ebe Fix missing backslash in org hwhead snippet 2019-03-27 21:58:24 -04:00
Adam Goldsmith bb2cb7fe58 Add inlinejs and mintjs snippets 2019-03-02 13:50:54 -05:00
Adam Goldsmith e36aee62d7 Fix magit gitignore bindings 2019-03-02 13:50:34 -05:00
Adam Goldsmith ccd64db759 Add some major modes to atomic-chrome 2019-02-20 15:15:39 -05:00
Adam Goldsmith 6b19b032a6 Add missing :config in (use-package indent) 2019-02-19 02:02:55 -05:00
Adam Goldsmith 726224bfe0 Check if i3 exists when trying to do splits, else just spawn new frames 2019-02-19 01:58:16 -05:00
Adam Goldsmith 0be422e429 Use Command key as Hyper on macOS
stops emacs from interpreting window-manager stuff that it shouldn't
2019-02-19 01:57:10 -05:00
Adam Goldsmith fa66765d3b Enable lsp in js2 mode 2019-02-19 01:56:47 -05:00
Adam Goldsmith edf27ea51c More generically find msmtp executable 2019-02-19 01:56:28 -05:00
Adam Goldsmith 838e75afe7 Use flycheck in lsp-mode 2019-02-19 01:55:33 -05:00
Adam Goldsmith 3017cbeb17 Actually evaluate custom.el file
fixes safe-local-variable values stuff
2019-02-19 01:51:21 -05:00
Adam Goldsmith 3c13316b78 Add nm-sticky-tag-and-next function to set a tag, then tag things with it 2019-02-14 21:42:20 -05:00
Adam Goldsmith cee53bb0b8 Auto-start atomic chome server 2019-02-06 00:24:12 -05:00
Adam Goldsmith b45100cb7d Add vue-mode config 2019-02-06 00:24:06 -05:00
Adam Goldsmith 89fb36465c Add SMerge hydra 2019-02-06 00:20:57 -05:00
Adam Goldsmith e1b935d964 Add config for rainbow-{delimiters,identifiers} 2019-02-06 00:03:47 -05:00
Adam Goldsmith e05a22c2b4 Enable sgml-electric-pair mode in web-mode, sgml-mode, and nxml-mode 2019-01-20 02:28:38 -05:00
Adam Goldsmith ab7f633220 Move normal and sh indent config to correct use-package blocks 2019-01-20 02:28:12 -05:00
Adam Goldsmith 1010f25774 Hide editorconfig modeline 2019-01-15 22:13:55 -05:00
Adam Goldsmith 5044c9aae0 Always use editorconfig 2019-01-15 21:27:44 -05:00
Adam Goldsmith 07bd7ee2ca Make web-mode not lineup calls 2019-01-15 21:27:27 -05:00
Adam Goldsmith 51ade13af7 Move open-*-in-current-directory bindings after we have bind-key 2019-01-12 15:29:42 -05:00
Adam Goldsmith ce69a63f40 Bind magit-gitignore-{globally,locally} to {i,I} respectively
instead of the popup prompt
2019-01-10 23:08:45 -05:00
Adam Goldsmith 8f555ffd33 Add super bindings for open-{term,thunar}-in-current-directory 2019-01-10 13:15:17 -05:00
Adam Goldsmith ca69317359 Make undo-tree not use a separate frame
since it works poorly, causing jumping back and forth
2018-12-14 02:28:57 -05:00
Adam Goldsmith 6c9befccf4 Move .emacs.d/.gitignore to .gitignore, add a bunch more stuff 2018-12-13 12:39:29 -05:00
Adam Goldsmith f34ed1cfc3 Ensure installation of highlight-indent-guides 2018-12-12 20:39:44 -05:00
Adam Goldsmith d4717279a1 Actually install use-package if it isn't 2018-12-12 20:34:30 -05:00
Adam Goldsmith b621c3709a Update lsp-mode config for new version 2018-12-12 11:58:36 -05:00
Adam Goldsmith a7135a8baa Make LSP servers use current directory if no project detected
it's a but hacky, but oh well
2018-12-02 22:45:39 -05:00
Adam Goldsmith 739385b48b Use newline instead of paragraph break in Org LaTeX homework header 2018-12-02 22:44:30 -05:00
Adam Goldsmith d1b62fd202 Switch nevermore to use ad1217/master instead of fix-deleted 2018-12-02 22:44:02 -05:00
Adam Goldsmith 8670efd6f7 Make nm author and read use default face 2018-12-02 22:41:59 -05:00
Adam Goldsmith 2807c96dbf Defer LaTeX/AUCTeX loading 2018-11-30 13:47:13 -05:00
Adam Goldsmith b0267f7b62 Switch to delight from rich-minority 2018-11-30 13:46:23 -05:00
Adam Goldsmith 9003956ed4 Load quelpa from melpa, simplify config 2018-11-23 15:48:27 -05:00
Adam Goldsmith d7d64f6215 nm: underline unread mail 2018-11-20 12:08:50 -05:00
Adam Goldsmith 3c34201077 Add nm bindings for next/prev line with j/k 2018-11-20 11:59:08 -05:00
Adam Goldsmith 9719dd00de Add nm-spam and binding 2018-11-20 11:58:45 -05:00
Adam Goldsmith bcb8828b96 Add a bunch of stuff to mc-lists 2018-11-20 11:42:24 -05:00
Adam Goldsmith 7fdf3c25c4 Rearrange config for readability 2018-11-09 12:13:22 -05:00
Adam Goldsmith aaa66e4ee6 remove mmm-mode config, as I no longer use it 2018-11-09 11:34:06 -05:00
Adam Goldsmith 5a96096119 Change ivy-re-builders back to default 2018-11-09 11:25:57 -05:00
Adam Goldsmith eda68f0f9e Add config for ob-ipython 2018-11-06 12:50:41 -05:00
Adam Goldsmith d31d0e9050 Switch to lsp-typescript 2018-11-06 12:49:28 -05:00
Adam Goldsmith fa56fb6d85 Use dvisvgm instead of dvipng for org latex preview 2018-11-06 12:12:41 -05:00
Adam Goldsmith 9560dfeb33 Switch last 'define-key's to 'bind-key' 2018-11-06 12:10:47 -05:00
Adam Goldsmith ce2d2cf604 Add js2-refactor config 2018-11-06 12:05:25 -05:00
Adam Goldsmith 6b9b2d9750 Fix org-src-export-to-pdf function 2018-11-05 15:29:34 -05:00
Adam Goldsmith d6fed50288 Disable undo in region 2018-10-28 21:14:11 -04:00
Adam Goldsmith 4913ce8045 Cleanup/add lsp ui config 2018-10-04 15:02:11 -04:00
Adam Goldsmith d4c758d6dd Ensure that yas-minor mode is enabled in org-insert-homework-header 2018-10-04 14:56:55 -04:00
Adam Goldsmith 075a076dea More non-cursor-key bindings for org mode 2018-10-04 14:56:23 -04:00
Adam Goldsmith 0c3e1c872f Switch open-term-in-current-directory to use alacritty 2018-10-04 14:55:11 -04:00
Adam Goldsmith f1a441da24 Fix nevermore recipie to point to correct branch 2018-09-24 11:54:27 -04:00
Adam Goldsmith 86ff665990 Add dot2tex org config 2018-09-23 20:47:51 -04:00
Adam Goldsmith 6438188729 Fetch nevermore from my repo for deleted fix 2018-09-17 11:46:37 -04:00
Adam Goldsmith 488276e55a Fix indentation on .mc-lists.el 2018-09-13 22:21:20 -04:00
Adam Goldsmith 25e226ab01 Add function to open xfce4-terminal in current directory 2018-09-13 22:20:00 -04:00
Adam Goldsmith d02cf8abcc Make lsp-java suck a bit less 2018-09-13 22:19:27 -04:00
Adam Goldsmith 13ddf9e501 Use org-special-ctrl options 2018-09-13 22:17:32 -04:00
Adam Goldsmith ca5c7baf26 Remove projectile-mode auto enable 2018-09-02 19:29:00 -04:00
Adam Goldsmith d986b93cb4 Add darkroom config 2018-09-02 19:27:32 -04:00
Adam Goldsmith 8a10889d49 Add counsel-projectile and prefix binding for projectile 2018-09-02 19:23:36 -04:00
Adam Goldsmith deb3b2042a Add more org-mode bindings for UHK 2018-09-02 19:22:56 -04:00
Adam Goldsmith a1343cfd7b Add some org bindings for no cursor keys keyboard 2018-08-28 22:25:02 -04:00
Adam Goldsmith af0c7ca0cc Revert "Add org-mode package repo"
This reverts commit beb562b5da.
actually that was dumb, don't do that. we can just use gnu version
2018-08-28 22:22:54 -04:00
Adam Goldsmith beb562b5da Add org-mode package repo 2018-08-28 21:59:41 -04:00
Adam Goldsmith bbfdd67b71 Use web-mode in .vue files 2018-08-28 21:53:06 -04:00
Adam Goldsmith 51d39c5dc1 Move graphviz-dot-mode config to correct place 2018-08-28 21:50:03 -04:00
Adam Goldsmith 43f8d06f83 Remove cat-mode :( 2018-08-28 21:50:03 -04:00
Adam Goldsmith 434260729e Improve bindings, esp. for UHK 2018-08-28 21:50:03 -04:00
Adam Goldsmith 672017b3ff Add autoload for antlr mode 2018-08-28 21:50:03 -04:00
Adam Goldsmith 1fc2349b90 Set background color for company completions to make more readable 2018-07-31 02:31:12 +01:00
Adam Goldsmith 5559b31e36 Use Language Server Protocol completion where possible 2018-07-31 02:31:12 +01:00
Adam Goldsmith 4b600c1596 Set Hack as default font 2018-06-22 01:08:08 -04:00
Adam Goldsmith 0a73fa3329 Rearrange theme a bit 2018-06-22 01:08:08 -04:00
Adam Goldsmith 615ee99600 Manually get dired+ from emacswiki using quelpa 2018-06-22 00:49:03 -04:00
Adam Goldsmith 6968bd7d09 Add git-timemachine toggle binding 2018-05-11 00:58:25 -04:00
Adam Goldsmith 8115069712 Fix indentation 2018-05-11 00:58:25 -04:00
Adam Goldsmith a89a9fe37a Use when instead of if in electric-graphviz-dot-semi 2018-05-11 00:58:25 -04:00
Adam Goldsmith f1aed9c65e Use dtrt-indent globally 2018-05-11 00:58:25 -04:00
Adam Goldsmith 1ee3df018a Add config for company-qml 2018-05-11 00:58:25 -04:00
Adam Goldsmith e8db8ccf90 Move cc indentation config to cc-styles 2018-05-11 00:58:25 -04:00
Adam Goldsmith 165752b325 Make suspend-frame (C-x C-z) not try to suspend graphical emacs
It was hard to get out of and not helpful anyways
2018-04-01 21:26:58 -04:00
Adam Goldsmith 93d7f2b110 Disable menu bar 2018-03-23 01:25:46 -04:00
Adam Goldsmith a09994e3ab Fix c-mode semantic-mode hook 2018-03-23 01:25:11 -04:00
Adam Goldsmith 1ba60e99e3 Experimenting with frames-only-mode, disabled popwin 2018-03-15 01:18:38 -04:00
Adam Goldsmith 8be0ba84be Make message close buffers, set mail-host-address 2018-03-15 01:18:05 -04:00
Adam Goldsmith f2c88f5df8 Switch some hooks to using use-package's :hook feature 2018-03-15 01:17:48 -04:00
Adam Goldsmith b8f75be5fe Fix org-latex-export-to-pdf spamming kill ring with tex 2018-03-15 00:33:58 -04:00
Adam Goldsmith 2e5cc398b4 Add emacs.desktop that uses emacsclient 2018-03-10 22:45:26 -05:00
Adam Goldsmith 91517ce42e Add logging and timeout for msmtp 2018-03-09 15:27:55 -05:00
Adam Goldsmith b8419349f0 Switch .msmtprc from Unix email to Outlook 2018-02-28 16:56:47 -05:00
Adam Goldsmith c13828151a Add config for sending email with msmtprc 2018-02-20 15:48:51 -05:00
Adam Goldsmith 4f16cd824f Make nm-update-remote refresh nm, and do less on the remote side 2018-02-20 15:46:31 -05:00
Adam Goldsmith 0e3fa97736 Add config for fortune-cookie 2018-02-20 15:45:35 -05:00
Adam Goldsmith 936ef53c7f Use immortal scratch mode 2018-02-20 15:45:08 -05:00
Adam Goldsmith 7d8d1184b7 Make find-file-as-root reuse current buffer 2018-02-20 15:40:22 -05:00
Adam Goldsmith ca73965b2a Make ivy matches more readable 2018-02-20 15:39:55 -05:00
Adam Goldsmith 7ba6cf3580 Add tern config 2018-02-04 01:12:30 -05:00
Adam Goldsmith aee1ecab8a Add nm-update-remote function
pretty slow, probably need to change later
also, mbsync at end too? maybe async?
2018-01-28 03:15:15 -05:00
Adam Goldsmith df377702be Add nm-read function and binding 2018-01-25 12:17:41 -05:00
Adam Goldsmith 7f9a0938f4 Also load python in org babel 2018-01-20 16:40:37 -05:00
Adam Goldsmith f201538440 Use truncate-lines nil instead of visual-line mode for org 2018-01-20 16:39:44 -05:00
Adam Goldsmith 813f916341 Add function to open exported org pdf in evince 2018-01-20 16:38:07 -05:00
Adam Goldsmith e1509b0f3c Add function & binding to export pdf from org-src buffers 2018-01-20 16:37:40 -05:00
Adam Goldsmith 9008ef0138 Add a yasnippet for an org homework header 2018-01-16 20:47:07 -05:00
Adam Goldsmith d63fb671ab Make graphviz-dot not insert a newline every semicolon 2018-01-16 20:46:39 -05:00
Adam Goldsmith 529445c0b9 Don't try to disable tool-bar mode when it wouldn't exist 2018-01-15 20:01:13 -05:00
12 changed files with 1163 additions and 339 deletions

12
.emacs.d/.gitignore vendored
View File

@ -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

View File

@ -3,57 +3,185 @@
(setq mc/cmds-to-run-for-all
'(
LaTeX-babel-insert-hyphen
LaTeX-environment
LaTeX-insert-left-brace
TeX-insert-backslash
TeX-insert-dollar
TeX-insert-sub-or-superscript
c-electric-brace
c-electric-colon
c-electric-lt-gt
c-electric-paren
c-electric-semi&comma
c-electric-slash
c-indent-line-or-region
comment-dwim
electric-newline-and-maybe-indent
electric-verilog-colon
electric-verilog-semi
electric-verilog-tab
hydra-mc/mc/edit-lines
indent-for-tab-command
kill-region
markdown-exdent-or-delete
reindent-then-newline-and-indent
yas-expand
))
LaTeX-babel-insert-hyphen
LaTeX-environment
LaTeX-insert-left-brace
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-end-of-statement
c-indent-line-or-region
comment-dwim
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
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
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
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
))
(setq mc/cmds-to-run-once
'(
TeX-view
hydra--digit-argument
hydra-mc-manual/body
hydra-mc-manual/lambda-<return>
hydra-mc-manual/lambda-<return>-and-exit
hydra-mc-manual/lambda-SPC
hydra-mc/body
hydra-mc/mc/edit-ends-of-lines
hydra-mc/mc/edit-lines
hydra-mc/mc/edit-lines-and-exit
hydra-mc/mc/insert-numbers
hydra-mc/mc/mark-all-dwim
hydra-mc/mc/mark-all-symbols-like-this
hydra-mc/mc/mark-next-like-this
hydra-mc/mc/mark-previous-like-this
hydra-mc/mc/skip-to-next-like-this
hydra-mc/mc/skip-to-previous-like-this
hydra-mc/mc/sort-regions
hydra-mc/mc/unmark-next-like-this
hydra-mc/mc/unmark-previous-like-this
hydra-mc/nil
mouse-set-region
recompile
smex
switch-to-buffer
))
TeX-view
avy-goto-char
c-electric-star
counsel-M-x
counsel-find-file
handle-switch-frame
eval-print-last-sexp
hydra--digit-argument
hydra-mc-manual/body
hydra-mc-manual/lambda-<return>
hydra-mc-manual/lambda-<return>-and-exit
hydra-mc-manual/lambda-SPC
hydra-mc/body
hydra-mc/mc/edit-ends-of-lines
hydra-mc/mc/edit-lines
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
hydra-mc/mc/skip-to-next-like-this
hydra-mc/mc/skip-to-previous-like-this
hydra-mc/mc/sort-regions
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
))

View File

@ -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
View 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))

View File

@ -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))

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: inlinejs
# key: ijs
# --
\mintinline{js}{$0}

View 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}

View 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
View 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/

View 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
View File

@ -0,0 +1,8 @@
{
"libs": [
"browser"
],
"plugins": {
"node": {}
}
}