Commit graph

286 commits

Author SHA1 Message Date
a9cae79276 RIPGREP: Add ripgrep 2023-05-05 10:36:12 +02:00
e17468eece fix: test if server is already running
If server is already running, we get a warning/error when starting.
Test if it is running before we actually start it.

It's not really 100% proof:
https://lists.gnu.org/archive/html/bug-gnu-emacs/2018-06/msg00720.html

But it works for me, so don't ask questions.
2023-04-18 22:35:18 +02:00
65a0a832b4 Fix typo 2022-11-20 15:46:34 +01:00
9d72964ffa RTAGS: Add hook to c-mode-common 2022-09-01 16:22:00 +02:00
8e6aaadd92 RTAGS: Refactor + enable flycheck according to github wiki 2022-02-17 14:42:55 +01:00
bc3bddf4a8 XREF: Add helm-xref 2022-02-17 14:42:26 +01:00
f0bd80917c COMPANY: Move section down after configuration by rtags
company-backends variable has to be set BEFORE calling global-company-mode
2022-02-17 14:29:05 +01:00
b0b2702b38 COMPANY: Bind c-tab to complete 2022-02-17 14:27:10 +01:00
f44990e0b0 RTAGS: split up in separate packages + refactor 2022-02-17 14:22:54 +01:00
deb2961644 Move company to separate section + always enable 2022-02-17 14:15:43 +01:00
6efd6536e9 Remove gtags and lsp-mode, replace with rtags
Faster than lsp and uses compilation database as well
2022-02-17 11:26:56 +01:00
laurensmiers
673996444f UNDO: Fix lag when doing C-/ (undo/undo-tree-undo)
undo-tree-undo calls undo-list-transfer-to-tree internally which does
a lot of garbage-collect calls to make sure the GC won't run (to counter race
conditions or something)

So, define a hook that sets the GC threshold to maximum, does the
undo (which should go fast now since the GC won't run), then restore
the old GC threshold
2020-05-20 17:49:18 +02:00
laurensmiers
4724e18f76 DEBUG: Add some info on how to debug 2020-04-20 14:41:41 +02:00
laurensmiers
15dca42666 LSP: Add LSP-UI keybindings by remapping xref functions 2020-04-20 14:41:41 +02:00
laurensmiers
91ab7f3e31 XREF: Add xref key bindings 2020-04-20 14:41:41 +02:00
laurensmiers
ea7d82619c Change GTAGS key bindings
We use LSP for references etc so 'hide' gtags a bit more
2020-04-20 14:41:38 +02:00
laurensmiers
f8e9110126 Remove flycheck-clang-analyzer, caused issues with LSP 2020-04-20 14:10:08 +02:00
laurensmiers
586aa741df Fix lag in LSP mode due to garbage collection
Used profiler to determine more than 80% of time was spent in garbage
collection...
Lowering the value back to the default fixes the lag.
2020-04-20 14:07:56 +02:00
laurensmiers
e9b132d7e8 TODO: Doxymacs 2020-02-04 10:52:59 +01:00
laurensmiers
5b39426ab9 INIT: Remove custom-set-variables 2020-02-04 10:50:33 +01:00
laurensmiers
6b6601b361 LSP-UI: set doc position to top
Doc position at point is annoying
2020-02-04 10:50:33 +01:00
laurensmiers
21ac5f6b78 HELM-GTAGS: set auto update to true 2020-02-04 10:50:33 +01:00
laurensmiers
10d45c2d8c Projectile: set indexing method to hybrid + ignore LSP server cache 2020-02-04 10:50:33 +01:00
laurensmiers
6ecbdb89dc Add transparency 2019-10-08 20:28:04 +02:00
laurensmiers
c22f29ee02 Remember password in eshell 2019-09-09 14:24:45 +02:00
laurensmiers
ae71fc459c Add smart-eshell mode 2019-09-09 13:11:40 +02:00
laurensmiers
3ceea10587 Add with-editor to use current emacs when $EDITOR is used 2019-09-09 13:11:25 +02:00
laurensmiers
597e00a584 smartparens: Add copy/kill of expression keybindings 2019-09-09 09:29:51 +02:00
laurensmiers
831031aa3a Add project-specific config file option 2019-09-09 09:29:51 +02:00
laurensmiers
dc0284d45f Remove hardcoded setting of tab width 2019-09-09 09:29:51 +02:00
laurens
ec26fd8237 Add 'adaptive cursor width' 2019-09-04 19:05:41 +02:00
laurensmiers
fad0df1881 Add Language Server
- Use ccls as language server for C/C++
2019-08-26 22:11:12 +02:00
laurensmiers
e1abda326f Diminish which-key and magit from ode line 2019-08-26 22:10:43 +02:00
laurensmiers
5d8c9ad8e5 Only check melpa(https) for archives
- Due to a bug in Emacs 26.2, we have to do a small workaround
2019-08-26 22:02:22 +02:00
laurensmiers
a79e204d37 Remove old config files 2019-08-26 21:57:27 +02:00
laurensmiers
2cf00a921b Remove project specific settings from general config 2019-08-26 19:03:21 +02:00
laurens
0f6f65b198 Add org package archives 2019-07-14 13:18:56 +02:00
Laurens Miers
5f067d2b68 Hydra: add hydra + hydra-zoom 2019-04-19 16:53:02 +02:00
Laurens Miers
62c9f46308
Merge pull request #6 from laurensmiers/exwm
Exwm
2019-04-19 16:39:05 +02:00
Laurens Miers
3a034f94cf EXWM: Set workspace number to 1 and comment xrandr stuff 2019-04-19 16:36:01 +02:00
Laurens Miers
17bec5fe79 EXWM: cleanup switch window 2019-04-19 16:35:20 +02:00
Laurens Miers
887886bb7d EXWM: Use global flags to signal command-line-args 2019-04-19 16:09:20 +02:00
Laurens Miers
16979c58e3 EXWM: Move EXWM section to bottom to avoid overwriting EXWM keymaps
- F.e. C-x C-b should still work in non-EXWM environments
2019-04-19 15:49:13 +02:00
Laurens Miers
4906b9da53 EXWM: Move config of exwm to use-package config section
- + move found-custom-arg to 'Utils' section.
2019-04-19 15:46:34 +02:00
Laurens Miers
794973b051 Term-mode: Add hook to toggle between char/line mode 2019-04-19 15:36:08 +02:00
laurensmiers
fed3fe0204 Customize EXWM config 2019-04-12 15:32:08 +02:00
laurensmiers
4b57824e98 EXWM: Initial experiment
- Can be loaded in with command line flag '-start_wm'
2019-03-20 08:19:02 +01:00
laurensmiers
c65df83a20 Add paradox package menu 2018-11-12 15:57:30 +01:00
laurensmiers
717ec9d388 Add (helm-)projectile
- Remove clashing keymaps with helm-gtags
2018-11-11 21:27:30 +01:00
laurensmiers
951ab95eec Switch automatically to *Help* window with describe-key 2018-11-11 16:11:20 +01:00