Commit Graph

448 Commits

Author SHA1 Message Date
564cc3b229 Emacs: Set fill-column to 80 for ebuilds. 2020-05-19 04:07:48 +02:00
93332104db Emacs: Add and bind my/toggle-truncate-lines(). 2020-05-18 16:09:26 +02:00
79f61ba47b Emacs: Make M-<delete> synonym to C-<delete>. 2020-05-17 19:46:40 +02:00
da3eb9202a Emacs: Ignore emacs --daemon, it has a lot of problems. 2020-05-17 19:33:54 +02:00
1d5565f46f Emacs: Make theme modifications after a frame is made.
Some theme modifications don't work in daemon mode. I guess because the
window system is not initialized. server-after-make-frame was introduced
between Emacs 27 and 27.1.
2020-05-17 18:19:30 +02:00
62e7c61c15 Emacs: Set what-cursor-show-names to t. 2020-05-17 17:28:28 +02:00
b0e9525fab Emacs: Replace :ensure with :straight. 2020-05-13 02:46:17 +02:00
1f0b9fb147 Emacs: Expand org documents. 2020-05-09 03:48:38 +02:00
a7a6d44d18 Emacs: Add lua-mode. 2020-05-08 02:34:45 +02:00
28ca2af71f Emacs: Remove workaround to not hide fringes.
Fixed via <https://github.com/hlissner/emacs-doom-themes/pull/454>.
2020-05-07 13:32:39 +02:00
948676f225 Emacs: Improve c-mode indentation. 2020-05-06 00:11:25 +02:00
d345023731 Emacs: Replace ripgrep with rg and bind rg-menu to C-c s. 2020-05-05 17:47:29 +02:00
ccdf01ac10 Emacs: Use built-in org-mode. 2020-05-05 15:03:45 +02:00
b927b12d99 Emacs: Add org-bullets. 2020-05-04 20:44:00 +02:00
afcd1b7308 Emacs: Make first to org headline levels bigger. 2020-05-04 20:43:44 +02:00
f282e1c8a0 Emacs: Remove magit workaround for vertical split.
Seems to be fixed.
2020-05-03 04:32:45 +02:00
fa9cee2203 Emacs: Set volatile-highlights after display-line-numbers is loaded. 2020-05-03 04:27:01 +02:00
abc0511112 Emacs: Remove git-gutter.
It is unmaintained and does not work well with TRAMP. All other
alternatives that I found don't work well with TRAMP either.
2020-05-03 03:50:50 +02:00
fc5d257766 Emacs: Disable git-gutter. 2020-05-03 03:32:44 +02:00
dc15252dc3 Emacs: Set volatile-highlights color after theme configuration. 2020-05-03 03:32:09 +02:00
2f51b17cce Emacs: Only write minimal theme if colors are set. 2020-05-03 03:31:25 +02:00
db1ca14850 Emacs: Diminish volatile-highlights-mode. 2020-05-02 22:53:57 +02:00
d52aa608a1 Emacs: Remove dimmer.
It slowed things down, I don't really need it.
2020-05-02 17:01:30 +02:00
9c0dda5bfa Emacs: Add volatile-highlights. 2020-05-02 16:59:17 +02:00
b11a9e709f Emacs: Enable upcase-region and downcase-region. 2020-04-27 14:45:52 +02:00
15402c4ac9 Emacs: Add clang-format if it is installed. 2020-04-27 04:03:48 +02:00
8f70497475 Emacs: remove clang-include-fixer. 2020-04-27 03:03:24 +02:00
f5a3541247 Emacs: Fix early-theme.el.
Only try to hide the tool-bar if we're in a GUI.
2020-04-25 18:29:37 +02:00
9081bde3d4 Emacs: Load minimal theme in early-init.el. 2020-04-25 18:23:31 +02:00
09562f4755 Emacs: Disable mediawiki-mode for Emacs >= 27. 2020-04-25 17:37:23 +02:00
0be017e806 Emacs: Open package.mask in conf-space-mode. 2020-04-24 15:10:31 +02:00
9dfcb67310 Emacs: Change keybindings for git-gutter. 2020-04-24 15:09:31 +02:00
07c531324a Emacs: Re-enabled git-gutter-mode.
It seems it is not responsible for the slowdown.
2020-04-23 20:14:20 +02:00
7f69324780 Emacs: Use setq-local for setting fill-column in git-commit-mode. 2020-04-22 03:17:44 +02:00
0299d8134a Emacs: Only use :extend in faces in Emacs >= 27. 2020-04-22 03:17:11 +02:00
68db8a72ec Emacs: Re-enable git-gutter but don't load it automatically.
It locks buffers for ~3 seconds.
2020-04-21 16:38:41 +02:00
7359c3e0d3 Emacs: Disable C-x g. 2020-04-21 16:35:42 +02:00
39f23fd45e Emacs: Use darker hl-line for treemacs (more contrast). 2020-04-21 04:21:38 +02:00
f169cb5c7a Emacs: Disable doom-themes-hide-fringes(), restore hl-line. 2020-04-21 04:15:38 +02:00
e26127da8d Emacs: Set fill-column for git-commits to 72.
It's required for Gentoo repos and recommended for emails.
2020-04-20 21:28:19 +02:00
c3059efa7b Emacs: Make bug references clickable. 2020-04-20 21:27:46 +02:00
eabc35c0b4 Emacs: Only use fill-column-indicator foreground in Emacs >= 27. 2020-04-20 02:04:00 +02:00
343130ce02 Emacs: Invoke git-gutter-mode for textfiles too. 2020-04-20 00:01:07 +02:00
3a95ae6157 Emacs: Add dockerfile-mode. 2020-04-19 13:53:51 +02:00
0de331cb9e Emacs: Add git-gutter. 2020-04-18 16:19:57 +02:00
16042f637e Emacs: Reduce defer times to 2 and 4. 2020-04-18 03:12:10 +02:00
af97be2015 Emacs: Fix scroll-bar-width – set it for all frames. 2020-04-18 01:49:51 +02:00
763c178fef Emacs: Style scroll bars. 2020-04-18 01:16:30 +02:00
1dac11b5e1 Emacs: Enable keybinding for set-goal-column. 2020-04-17 16:43:48 +02:00
ca57f0a092 Emacs: Highlight current line more clearly. 2020-04-17 16:28:36 +02:00
ff92f20747 Emacs: Forgot a ). 2020-04-17 13:53:29 +02:00
f2ff5fa659 Emacs: Make theme work for terminal frames. 2020-04-17 13:52:28 +02:00
77019a7e05 Emacs: Silence flycheck warning. 2020-04-17 05:28:08 +02:00
4d24922915 Emacs: Refine ruler theme. 2020-04-17 05:15:30 +02:00
51e260234a Emacs: Dix adoc & markdown colors. 2020-04-17 05:04:56 +02:00
77d219c1db Emacs: Theme treemacs. 2020-04-17 04:29:13 +02:00
4f9957a5f1 Emacs: Switch theme to doom-outrun-electric. 2020-04-17 03:51:57 +02:00
935352d33a Emacs: Remove more annoying org keybindings. 2020-04-17 01:46:12 +02:00
14a9418ba9 Emacs: Switch the binding order, now it works? Okay, whatever. 2020-04-17 01:23:29 +02:00
d355809ddd Emacs: file-system-info was introduced in 27. 2020-04-16 15:05:19 +02:00
ecf97b0209 Emacs: Remove more annoying keybindings, add org-default-notes-file. 2020-04-16 14:58:13 +02:00
0935806207 Emacs: Switch keys for treemacs and toggle-flyspell (<f8> and <f9>). 2020-04-15 14:24:44 +02:00
6ae0d39e5e Revert "Emacs: Make more keybindings with shift work in terminal mode."
Didn't work.

This reverts commit 9e05a28bb9ea5c4dfd7022407ef191c0b13b76ba.
2020-04-15 01:09:50 +02:00
c94424ec23 Emacs: Make more keybindings with shift work in terminal mode. 2020-04-14 17:01:10 +02:00
87501a731c Emacs: Only make shallow clones when the disk space is < 5 GiB. 2020-04-10 14:47:01 +02:00
95432bd5b5 Set straight-repository-branch back to “master”.
Because the fix for <https://github.com/raxod502/straight.el/issues/497> (Don't
remove all .in suffixes) got merged.
2020-04-10 14:20:46 +02:00
72fc9c971d Remove :pin leftover from old package management. 2020-04-10 14:17:47 +02:00
ec9a9c563d Emacs: Mark magit-todos-depth as safe in :init, not :config.
Because :config is executed after loading.
2020-04-10 14:06:21 +02:00
1bdb1ef830 Emacs: Update email configuration. 2020-03-31 16:26:32 +02:00
a460a2e286 Emacs: Fix email availability detection. 2020-03-31 16:17:16 +02:00
4300313882 Emacs: :defines ('…) did not work. 2020-03-31 16:15:00 +02:00
8996113d4d Emacs: Silence warning about which-key-mode. 2020-03-31 03:48:33 +02:00
53520e3aed Emacs: Refactor keybindings. 2020-03-31 03:47:58 +02:00
38f201a68c Emacs: Update email settings. 2020-03-31 01:56:06 +02:00
d22323c006 Emacs: :exclude works only for build dirs. 2020-03-30 15:28:25 +02:00
db01e7d692 Emacs: Refactor my/straight-check-last-update(). 2020-03-30 00:22:28 +02:00
8dda526768 Emacs: Add C-x F for find-file, C-x C-S-f doesn't work in terminals. 2020-03-29 22:58:53 +02:00
a67c9958be Emacs: Add keybinding C-DEL → my/backward-delete-word.
It doesn't work in the terminal because of ancient UNIX bullshit.
2020-03-29 21:49:54 +02:00
e6391e1ff9 Emacs: Don't update repos automatically. 2020-03-29 21:17:22 +02:00
beb126d0e1 Emacs: Exclude doc directory from dimmer repo. 2020-03-28 12:43:53 +01:00
2aedb44d19 Emacs: Evalueate mu4e after smtpmail. 2020-03-28 12:43:31 +01:00
65f06b7a2d Emacs: Set mail-user-agent to mu4e. 2020-03-28 12:10:07 +01:00
bf394af55f Emacs: Add email configuration. 2020-03-28 02:09:04 +01:00
b9864b6f02 Emacs: Fix whitespace-workaround. 2020-03-28 01:03:27 +01:00
3a3f1b6ebb Emacs: Remove text/tools move contents elsewhere.
Moved to misc/documentation, programming/elisp and text/web.
2020-03-27 21:37:57 +01:00
0ea8954c20 Emacs: Change keybinding for my/launch-gdb().
It conflicted with magit.
2020-03-27 20:30:05 +01:00
c63adae0a3 Emacs: Fix indentation. 2020-03-27 20:29:38 +01:00
738ea43760 Emacs: Refactor text/web.el. 2020-03-27 18:12:41 +01:00
68282ed510 Emacs: Refactor text/tools.el. 2020-03-27 18:11:10 +01:00
b724d880e4 Emacs: Refactor text/misc.el. 2020-03-27 18:05:15 +01:00
910035067c Emacs: Refactor text/latex.el. 2020-03-27 17:57:55 +01:00
ac9c04a7d8 Emacs: Don't call function with symbol notation. 2020-03-27 17:55:12 +01:00
9e210e08f9 Emacs: Refactor text/common.el. 2020-03-27 17:52:59 +01:00
6faf976d67 Emacs: Refactor my/no-ws-cleanup. 2020-03-27 17:13:32 +01:00
fb639bfab1 Emacs: Rebind a bunch of keybindings from C-x to C-c.
<https://emacs.stackexchange.com/a/42166>
2020-03-27 17:11:14 +01:00
287e1393fc Emacs: Add keybinding for lsp-execute-code-action. 2020-03-27 17:04:09 +01:00
e85bb766d7 Emacs: Highlight code blocks in doxygen comments. 2020-03-27 16:44:58 +01:00
eae07712e3 Emacs: Bugfix in my/switch-project().
Look for frame-width instead of window-width when deciding if treemacs is to be opened.
2020-03-27 14:01:30 +01:00
d725fab455 Emacs: Don't install flycheck-clang-tidy if clangd >= 9 is present. 2020-03-27 13:52:56 +01:00
b781e73961 Emacs: Don't install cmake-mode if on Gentoo. 2020-03-27 13:46:31 +01:00
6795bd2d77 Emacs: Only update repositories if newest MELPA recipe is old. 2020-03-27 00:26:56 +01:00
7660013ead Emacs: Only open treemacs automatically if window-width is >= 120. 2020-03-27 00:05:09 +01:00
b26dcdb2dd Emacs: Set straight-repository-branch temporarily to develop. 2020-03-26 16:20:15 +01:00
e7e4297adc Emacs: Fix my/straight-check-last-update(). 2020-03-26 01:21:53 +01:00
070de22922 Emacs: Use Noto Color Emoji for emojis. 2020-03-24 22:38:17 +01:00
65395eae6b Emacs: Add ivy-emoji. 2020-03-24 12:21:13 +01:00
a94ecf2126 Emacs: Use “GitHub flavoured markdown” for .md files. 2020-03-23 13:48:59 +01:00
c252dd2153 Change back keybinding for copy-to-register.
It has to be M-W, M-S-w won't work.
2020-03-21 12:24:54 +01:00
01e51164e9 Emacs: Clarify keybinding for copy-to-register, refactoring. 2020-03-19 16:52:35 +01:00
834262e7f8 Emacs: typo. 2020-03-19 00:31:21 +01:00
ca9a296d87 Emacs: Demand window-purpose, projectile depends on it. 2020-03-18 15:35:20 +01:00
18085e21de Emacs: Require package-management.el in init files. 2020-03-18 15:00:17 +01:00
b34f41c6bd Emacs: Make my/straight-check-last-update work.
The build-cache is modified on each start.
2020-03-18 13:57:12 +01:00
48c515dc2b Emacs: Instruct straight to get shallow clones to save space. 2020-03-18 13:07:08 +01:00
e7eab3ae69 Emacs: Refactor package-management.el.
Update commentary, move GNUTLS to the top, notification if last update was 7+
days ago, remove gnu-elpa-keyring-update.
2020-03-18 12:14:30 +01:00
da62bbcf8d Emacs: Comment fix. 2020-03-16 00:21:12 +01:00
0c6e8856be Emacs: Set straight-repository-branch back to “master”. 2020-03-16 00:20:39 +01:00
b24cde35d3 Emacs: Switch to straight for package management. 2020-03-15 23:38:06 +01:00
7fdc0b06ab Emacs: Move diminish into basics/early-packages.el. 2020-03-13 11:24:42 +01:00
0671e49069 Emacs: Pin flycheck-package-setup to MELPA. 2020-03-12 17:26:21 +01:00
a347946a25 Emacs: The extra newline was bugging me. 2020-03-11 16:26:09 +01:00
5fcc5331b3 Emacs: Load diminish in global-variables.el. 2020-03-11 12:10:33 +01:00
6adb4c20ee Emacs: Prevent auto-package-update from updating quelpa packages. 2020-03-11 10:41:22 +01:00
3c6da46f52 Emacs: Pin treemacs-magit to melpa, compatibility to treemacs. 2020-03-10 23:27:44 +01:00
0f0c3e68c8 Emacs: Refactor basics/*. 2020-03-10 14:33:47 +01:00
db84b0f02e Emacs: Move my/clangd-version to programming/common.el. 2020-03-10 13:00:22 +01:00
adfdde47fd Emacs: Don't set LANG, set LC_MESSAGES. 2020-03-10 12:49:14 +01:00
be9a59b1b7 Emacs: Add workaround for treemacs.
I'm using treemacs vcs-version together with treemacs-magit “stable”.
2020-03-10 12:20:10 +01:00
45952cbb95 Emacs: Remove pin on all-the-icons-ivy-rich. 2020-03-10 12:10:17 +01:00
3a625278a8 Emacs: Enable flyspell-mode in all text files. 2020-03-10 10:54:09 +01:00
9665dd40b4 Emacs: Fix custom-faces definition for rainvow-delimiters. 2020-03-10 10:29:02 +01:00
5421bbd971 Emacs: Refactor programming/common.el. 2020-03-09 15:36:23 +01:00
b788e7d8f0 Emacs: Set company-idle-delay to 0.5 and refactor. 2020-03-09 15:18:51 +01:00
65671f96a7 Emacs: Refactor lsp.el. 2020-03-09 15:14:43 +01:00
54c1b466cf Emacs: Automatically restart lsp-server. 2020-03-09 15:04:48 +01:00
7d156ec586 Emacs: Reformat appearance.el. 2020-03-08 10:51:04 +01:00
fe81e9cec6 Emacs: Reformat all-the-icons and update comments. 2020-03-08 10:42:42 +01:00
2691fd1d81 Revert "Emacs: Install all-the-icons if not started in GUI."
This reverts commit c1092c59265be3105e4b56984f36b0ed19a7a3a9.
2020-03-08 10:38:29 +01:00
ab79152cba Emacs: Install all-the-icons if not started in GUI. 2020-03-08 10:27:51 +01:00
b9d8b59714 Emacs: Modeline: Don' show file size and save icon. 2020-03-08 10:23:07 +01:00
32ba3a4f6a Emacs: Remove unnused argument in my/disable-line-numbers. 2020-03-08 06:13:04 +01:00
7f1e1371d7 Emacs: Reformat doom-modeline and update comments. 2020-03-08 06:10:30 +01:00
35b541befb Emacs: Don't display percentage in modeline. 2020-03-07 20:20:52 +01:00
01c3a83ec8 Emacs: Add dimmer-mode. 2020-03-03 04:06:34 +01:00
e3cddbac98 Emacs: quelpa-upgrade-all-maybe got merged. 2020-03-03 03:45:13 +01:00
641af0e8d9 Only change rfc-mode-directory on selected systems. 2020-03-02 06:10:40 +01:00
b62640c4f8 Emacs: Add explanation for whitespace-workaround. 2020-03-02 06:10:17 +01:00
6b8a39c00a Emacs: Update register-quicknav commands. 2020-03-02 06:09:40 +01:00
1660ffe800 Emacs: Remove -DWITH_CLANG-TIDY=YES from configure-cmd. 2020-02-28 05:12:18 +01:00
a4bfbf8639 Emacs: Remove window-purpose in my/projectile-kill-buffers. 2020-02-28 04:52:57 +01:00
6610afe4cf Emacs: Fix description for my/quelpa-upgrade-all-maybe. 2020-02-27 06:09:21 +01:00
53d1a23d61 Emacs: Change markdown-mode in hooks to gfm-mode where appropriate. 2020-02-27 06:08:54 +01:00
6c7b8a46b7 Emacs: Refactored my/quelpa-upgrade-all-maybe. 2020-02-27 05:26:05 +01:00
25eeb3f159 Emacs: Use <f5>/<f6> to go to prev/next error in compilation-mode. 2020-02-27 04:37:07 +01:00
6c69932c59 Emacs: Add quelpa-use-package. 2020-02-27 03:13:15 +01:00
dff78b1b21 Emacs: Clean up basics/package-management. 2020-02-27 03:02:19 +01:00
c9b66392ab Emacs: basics/global-variables needs use-package. 2020-02-26 23:30:21 +01:00
8672985929 Emacs: Change install of register-quicknav back to old behaviour.
It will fail if it is in :init.
2020-02-26 23:25:45 +01:00
ff5137289e Emacs: Rewrite register-quicknav initialization. 2020-02-26 23:12:06 +01:00
2d798c3fa6 Emacs: Improve readability and correctness. 2020-02-26 23:08:24 +01:00
980071fc5e Emacs: Upgrade quelpa packages every 7 days. 2020-02-26 23:08:02 +01:00
0a66771a5b Emacs: Add my/file-last-modification. 2020-02-26 23:07:19 +01:00
48be5d24d6 Emacs: Remove transient, we don't need the git-version anymore. 2020-02-26 21:59:06 +01:00
1347b838c0 Emacs: Increase the amount of data which is read from a process.
LSP responses are in 800k - 3M range, according to <https://github.com/emacs-lsp/lsp-mode#performance>.
2020-02-26 04:55:30 +01:00
c530a916fb Emacs: Enable caching for company-lsp. 2020-02-26 04:49:31 +01:00
a994cd867e Emacs: Add .qrc in nxml-mode. 2020-02-25 05:20:50 +01:00
74bfb50a0a Add qml-mode to cpp purpose. 2020-02-25 03:47:47 +01:00
57d4f9f10f Emacs: Install register-quicknav with quelpa. 2020-02-24 22:07:13 +01:00
fa867bc634 Emacs: Add quelpa. 2020-02-24 22:03:48 +01:00
4152aba0cc Emacs: Add QML mode. 2020-02-23 22:02:54 +01:00
f15ae528bc Emacs: Enable all-the-icons-ivy-rich. 2020-02-20 18:50:23 +01:00
f9dde7ea77 Emacs: Only cycle through position registers in current buffer. 2020-02-20 15:55:22 +01:00
93c132e392 Emacs: Remove autoloading for registers-quicknav. 2020-02-20 02:43:21 +01:00
5808879974 Emacs: Add flycheck-package. 2020-02-20 02:43:03 +01:00
45d69be9e5 Emacs: Delay loading of git-commit-mode instead of inhibiting it. 2020-02-19 23:59:25 +01:00
76acb5b061 Emacs: Move register-navigation to (local) package. 2020-02-19 23:55:32 +01:00
03acc522a6 Emacs: Prepare all-the-icons-ivy-rich.
https://github.com/seagle0128/all-the-icons-ivy-rich/issues/4
2020-02-19 23:51:22 +01:00
9590a85bdf Emacs: Auto-save TRAMP files locally. 2020-02-19 22:26:43 +01:00
09a3b5762f Emacs: Add el2markdown. 2020-02-19 17:01:17 +01:00
eb95c669a6 Emacs: Remove iregister. 2020-02-19 15:59:46 +01:00
4dea86bd32 Emacs: Do not delay loading of treemacs.
Projectile depends on it and we want to use it right away most of the time.
2020-02-19 15:08:14 +01:00
a883c5765d Emacs: Add keybinding for list-registers. 2020-02-19 12:23:19 +01:00
ee44595d60 Emacs: Add keybindings for copy-to-register and insert-register. 2020-02-19 01:15:55 +01:00
ff420e32f0 Emacs: Add next-register and prev-register. 2020-02-19 01:15:22 +01:00
3a5f6d7a1c Emacs: Add iregister. 2020-02-18 19:36:07 +01:00
ce55643110 Emacs: Fixed dependencies for company-auctex and company-nginx. 2020-02-18 17:18:57 +01:00
39652ffdcb Emacs: Lazy-load cc-mode, git-commit-mode, go-mode. 2020-02-18 17:10:02 +01:00
f70e68953b Emacs: Lazy-load webpaste. 2020-02-18 16:59:05 +01:00
d053f2e9fe Emacs: Delay loading of treemacs a bit. 2020-02-18 16:46:49 +01:00
57425066cc Emacs: Lazy-load org-mode and mediawiki-mode. 2020-02-18 16:37:40 +01:00
b1aa40297d Emacs: Defer TRAMP and atomic-chrome for 5 seconds. 2020-02-18 16:14:08 +01:00
74195acb3c Emacs: ispell-dictionary → flyspell-default-dictionary. 2020-02-16 20:31:37 +01:00
3e27fedc60 Emacs: Enable markdown-mode for gitlab.gnome.org. 2020-02-14 14:46:32 +01:00
21a1d3a158 Emacs: Rewrite my/switch-project() so that it works.
Call projectile-find-file before treemacs.
2020-02-12 14:39:47 +01:00
fbe6e0bd06 Emacs: Actually remove yasnippet-snippets-dir from yas-snippet-dirs. 2020-02-12 14:34:19 +01:00
b383828496 Emacs: Call (counsel-)projectile-find-file after switching project. 2020-02-11 23:37:44 +01:00
6382950ce9 Emacs: Add “compile” purpose. 2020-02-11 23:31:02 +01:00
878104c098 Emacs: Shorten purpose names. 2020-02-11 23:30:17 +01:00
f576646fd0 Emacs: purpose: Rename help-buffers → help-buffer. 2020-02-11 23:21:44 +01:00
ee7280d4fd Revert "Emacs: Remove purposes for AsciiDoc and Markdown."
This reverts commit d63a9ceb6bb09229c1d92f28142246b88b75585d.
2020-02-11 23:15:01 +01:00