Commit Graph

203 Commits

Author SHA1 Message Date
1d98fccf74 Emacs: Remove realgud. 2020-06-01 17:55:57 +02:00
e0bedc6bd6 Emacs: Set some gdb options. 2020-06-01 17:49:41 +02:00
d233acbf61 Emacs: Fixed errors introduced by use-package-always-defer → t. 2020-05-24 22:59:31 +02:00
8820025337 Emacs: Set use-package-always-defer to t. 2020-05-24 22:17:02 +02:00
b0e9525fab Emacs: Replace :ensure with :straight. 2020-05-13 02:46:17 +02:00
a7a6d44d18 Emacs: Add lua-mode. 2020-05-08 02:34:45 +02:00
948676f225 Emacs: Improve c-mode indentation. 2020-05-06 00:11:25 +02:00
f282e1c8a0 Emacs: Remove magit workaround for vertical split.
Seems to be fixed.
2020-05-03 04:32:45 +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
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
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
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
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
343130ce02 Emacs: Invoke git-gutter-mode for textfiles too. 2020-04-20 00:01:07 +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
4f9957a5f1 Emacs: Switch theme to doom-outrun-electric. 2020-04-17 03:51:57 +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
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
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
7660013ead Emacs: Only open treemacs automatically if window-width is >= 120. 2020-03-27 00:05:09 +01:00
18085e21de Emacs: Require package-management.el in init files. 2020-03-18 15:00:17 +01:00
b24cde35d3 Emacs: Switch to straight for package management. 2020-03-15 23:38:06 +01:00
0671e49069 Emacs: Pin flycheck-package-setup to MELPA. 2020-03-12 17:26:21 +01:00
db84b0f02e Emacs: Move my/clangd-version to programming/common.el. 2020-03-10 13:00:22 +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
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
25eeb3f159 Emacs: Use <f5>/<f6> to go to prev/next error in compilation-mode. 2020-02-27 04:37:07 +01:00
48be5d24d6 Emacs: Remove transient, we don't need the git-version anymore. 2020-02-26 21:59:06 +01:00
c530a916fb Emacs: Enable caching for company-lsp. 2020-02-26 04:49:31 +01:00
4152aba0cc Emacs: Add QML mode. 2020-02-23 22:02:54 +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
39652ffdcb Emacs: Lazy-load cc-mode, git-commit-mode, go-mode. 2020-02-18 17:10:02 +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
b383828496 Emacs: Call (counsel-)projectile-find-file after switching project. 2020-02-11 23:37:44 +01:00
e2db895f45 Emacs: Make counsel-projectile call my/switch-project. 2020-02-11 18:35:29 +01:00
650cb68c96 Emacs: Diminish some more modes. 2020-02-11 17:59:12 +01:00
c3337ba4be Emacs: Show minor-modes, but only some of them. 2020-02-11 17:48:50 +01:00
ea04b1562a Emacs: Bind C-x C-f to projectile-find-file. 2020-02-11 16:55:16 +01:00
cd80739e8f Emacs: Truncate lines only in prog-mode and conf-mode. 2020-02-05 16:39:44 +01:00
59e5b30955 Emacs: Add rainbow-mode. 2020-02-04 18:50:04 +01:00
4c7d63534b Emacs: Back to 2 rainbow-delimiters colors. 2020-02-04 18:47:41 +01:00
62724bfcf3 Emacs: Change color 3 of rainbow-delimiters. 2020-02-04 03:19:01 +01:00
9e088d528c Emacs: Use 4 different delimiter colors. 2020-02-03 15:14:06 +01:00
3ce668c3bb Emacs: Suppress some warnings. 2020-02-03 15:13:18 +01:00
e4fc762809 Emacs: Add -DWITH_TEST=YES to projectile-project-configure-cmd. 2020-02-02 13:50:50 +01:00
8863024422 Emacs: Add rainbow-delimiters. 2020-01-28 04:47:57 +01:00
2fe8007536 Emacs: Close other windows after killing all project buffers. 2020-01-28 03:33:39 +01:00
c32b7c7614 Emacs: Move maybe-copyright-update down. 2020-01-28 03:32:59 +01:00
2e1c41f757 Emacs: Ask to update copyright years in prog-mode. 2020-01-28 03:26:08 +01:00
563fcdc14e Emacs: Redistributed keybindings. 2020-01-27 09:13:36 +01:00
cddca99f44 Emacs: Extend cc-search-directories. 2020-01-27 06:31:11 +01:00
0d6b6a3f86 Emacs: Add purpose-support to magit-workaround. 2020-01-27 05:37:35 +01:00
0ff970fcd1 Emacs: Don't truncate lines in compilation output. 2020-01-27 04:34:00 +01:00
cb83cd5ae7 Emacs: Clean up init files a bit. 2020-01-27 02:39:22 +01:00
8664fe9a90 Emacs: Moved git and lsp config to separate files. 2020-01-27 02:11:10 +01:00
8342589400 Emacs: Workaround for magit split problem. 2020-01-26 21:45:56 +01:00
eccb0dc95e Emacs: Fix lsp-clients-clangd-args and allow override. 2020-01-26 09:13:54 +01:00
fd241edd46 Emacs: Reorder default cmake arguments. 2020-01-26 09:13:26 +01:00
1d029a4ff9 Emacs: Replace company-clang-version with my/clangd-version. 2020-01-26 07:01:04 +01:00
c42cb09db7 Emacs: Disable flycheck-clang-tidy if clang >= 9 is detected. 2020-01-26 02:36:05 +01:00
9264bbe33a Emacs: typo. 🤦 2020-01-26 01:58:38 +01:00
6862c76d71 Emacs: Oops, lsp-clients-clangd-args is a list. 2020-01-26 01:52:15 +01:00
1b3fcad20e Emacs: Rearrange clangd argument stuff. 2020-01-26 01:30:13 +01:00
5906b26237 Emacs: fix clang version extraction. 2020-01-26 01:24:31 +01:00
8ee57b74f6 Emacs: Add “-clang-tidy” to clangd args if possible. 2020-01-26 01:09:35 +01:00
6563e1bb1b Emacs: No delay for company. 2020-01-25 05:39:52 +01:00
1f158955ec Emacs: Move my/split-vertically() to magit and deactivete it. 2020-01-25 03:46:08 +01:00
6f90c07076 Emacs: Split git commit buffers vertically if buffer is dedicated.
If the current buffer is dedicated to a purpose, splitting horizontally is
impossible. To prevent stacking, we split vertically instead.
2020-01-24 23:17:35 +01:00
4d3b29ff6b Emacs: Add keybinding for lsp-ui-peek-find-implementation.
Although it doesn't seem to work yet.
2020-01-24 22:16:55 +01:00
c63006ba83 Emacs: Load lsp-treemacs after lsp-ui. 2020-01-21 03:35:41 +01:00
62a33a88e6 Emacs: Add lsp-treemacs. 2020-01-20 20:25:29 +01:00
4dd42f705e Emacs: Move lsp-mode to programming/common. 2020-01-20 19:28:01 +01:00
76ccb85419 Emacs: Remove keybinding C-p for projectile. 2020-01-20 02:54:46 +01:00
0404939f84 Emacs: Only set ~/Projekte as projectile search path if it exists. 2020-01-15 23:15:10 +01:00
34321385a0 Emacs: formatting fix. 2020-01-10 17:45:05 +01:00
4faa73ba20 Emacs: Remove old comment. 2020-01-07 07:54:10 +01:00
6fdc5b523a Emacs: Run editorconfig-apply after dtrt-indent-mode. 2020-01-07 07:26:14 +01:00
8d12681d1f Rmacs: Add keabinding C-p for projectile-command-map. 2020-01-07 07:03:52 +01:00
9db4966aab Emacs: Set cc-search-directories. 2020-01-04 10:24:43 +01:00
0198c88b1a Mark magit-todos-depth as safe local variable. 2019-12-31 12:58:12 +01:00
f43c6b5d43 Emacs: Improve documentation for dtrt-indent config. 2019-12-29 04:36:42 +01:00
ee01e1a8d3 Emacs: Add keybindings for tab-bar and enable tab-line. 2019-12-26 21:30:46 +01:00
2d576fec10 Rename .emacs/init → .emacs/init.d and fix comment-face.
Inheriting `font-lock-comment-face` in `font-lock-comment-face` would lock up
Emacs.
2019-12-26 19:23:43 +01:00