Commit graph

357 commits

Author SHA1 Message Date
0482e48c7f Ensure eglot does not take full control of Xref
Eglot by default will take full control of xref and make the
xref-backend-functions (eglot-xref-backend t) .

To have dumb-jump as backup if eglot would fail, instruct eglot to
stay out of Xref and add/remove eglot xref backend manually.
2024-09-24 21:08:12 +02:00
2c29e77132 ADD dumb-jump mode
Add it immediatelly to the list of xref backends.
2024-09-24 21:08:09 +02:00
f121ec0330 REMOVE smartparens
Replaced with electric-pair mode, good enough for my usecase.
Don't need all the fancy stuff smartparens provides
2024-09-24 21:08:04 +02:00
9d84faf97a ADD custom visit/reload config functions 2024-09-24 21:07:53 +02:00
f44190a45d ELISP: add demos to describe-function
It saves me some extra googling.
2024-09-24 21:07:50 +02:00
1475b4acb8 CUSTOM: Add functions to reload .dir-locals.el 2024-09-24 21:07:47 +02:00
832bc40d81 Set path/exec-path to shell path
For .dir-locals.el to find the custom programs
2024-09-24 21:07:37 +02:00
12b33b1f49 PROJECTILE: use hybrid method
Gives more flexibility with .projectile file IMO to add/remove folders
from projectile-find-file .
2024-09-24 21:07:32 +02:00
53dd2a9084 ADD custom ceedling commands
Convience function to run the ceedling command
2024-09-24 21:07:23 +02:00
43c75a29e2 REMOVE custom-set-variables
Find a way to move this elegantly to a file which can be ignored by git
2024-09-24 21:07:17 +02:00
1549038f73 ADD backup configuration
Store backups in <emacs-root>/backups
2024-09-24 21:07:13 +02:00
49e26e5568 ADD Marginalia
Some eye candy in the minibuffer
2024-09-24 21:07:11 +02:00
6e1ed0ebb6 ADD Orderless 2024-09-24 21:07:07 +02:00
17515a8377 ADD Corfu
For nice popup in eglot.
2024-09-24 21:07:04 +02:00
393bace7cf ADD consult example config 2024-09-24 21:06:58 +02:00
35102de7f5 REMOVE fido, ADD Vertico
Switch from fido to vertico
2024-09-24 21:06:44 +02:00
df5d034907 PROJECTILE: install project.el hooks
Some packages use the project.el functions/bindings (like
consult, ...) for their functionality. Install the projectile bindings
so that they start using the projectile framework.
2024-09-24 21:06:37 +02:00
22a827592d REMOVE imenu
use consult-imenu in future
2024-09-24 21:06:28 +02:00
801188ed90 ADD electric-pair mode in prog-mode
This was originally supplied by smartparens but I'm only using a
subset of this package.
The main functionality which I used from smartparens is available with
electric-pair-mode .
2024-09-24 21:06:20 +02:00
7329b044f3 ADD save-symbol-at-point function
This was originally supplied by smartparens but I don't need the whole
package for this function.

Other functionality which I used from smartparens is available with
electric-pair-mode .
2024-09-24 21:06:14 +02:00
9541cfbf44 Delete trailing whitespaces before-saving
Enable globally because I don't know of a scenario where we would ever
want this.
2024-09-24 21:05:59 +02:00
b8ef2937f3 ADD save history and recentf 2024-09-24 21:05:51 +02:00
a6c81d05ba ADD smartparens 2024-09-24 21:05:48 +02:00
00d40a2d5a PROJECTILE: Initial configuration
Not sure yet about this but working for now.
Override default project keymap
2024-09-24 21:05:25 +02:00
bd3f737477 ADD enhanced dired 2024-09-24 21:05:14 +02:00
db266f3ece ADD 'transient' dependant package for magit 2024-09-24 21:05:11 +02:00
d184007b9b ADD spell checking in prog-mode 2024-09-24 21:05:02 +02:00
3bf48f5927 ADD zap-up-to-char keybinding 2024-09-24 21:04:58 +02:00
ef04adcfd9 ADD hippie-expand
Remap dabbrev to hippie-expand
2024-09-24 21:04:48 +02:00
0db6d1753e ADD multipe-cursor keybindings 2024-09-24 21:04:44 +02:00
0f9db243ad 'Fresh' start
- Use config_new.org as main config file
  Trimmed down version of old config.
  Insipred by 'mastering emacs' book to use more the built-in
  functionality of emacs. I found that It's more than good enough for my usecases.
- adapt early-init for quicker startup
  Stolen from doom emacs
- Don't use/load project.org
  Use .dir-locals.el you peasant
2024-09-24 21:01:46 +02:00
27f8caf0a5 PROGRAMMING: Add rust mode 2024-04-09 13:18:05 +02:00
110f3c5dd9 PROGRAMMING: add zig-mode 2024-04-09 09:44:10 +02:00
629f3da53b EGLOT: Add eglot
LSP client which is built-in
2023-12-05 16:18:13 +01:00
a1a3856486 LSP: remove old commented out blockrtags
Use eglot instead, it's built-in:
https://github.com/joaotavora/eglot#contribute-to-eglots-development
2023-12-05 16:07:50 +01:00
51f4498c99 RTAGS: remove rtags
Use eglot instead, it's built-in:
https://github.com/joaotavora/eglot#contribute-to-eglots-development
2023-12-05 16:06:54 +01:00
ff9ed0382d SWIPER: use thing-at-point by default when searching with swiper 2023-08-01 09:35:47 +02:00
54491b0c06 feat: add magit-submodule-update-all suffix 2023-06-11 14:32:14 +02:00
a4f7828259 fix: elpy-enable at init stage
Taken from elpy github readme.
2023-06-09 15:54:28 +02:00
5ebe6422f8 feat: refactor yasnippet
Put snippets in standard path
2023-06-08 23:37:58 +02:00
ffcbf8ec41 feat: add ivy-rich 2023-06-08 21:23:50 +02:00
0a2148f8df fix: move dired-config to dired-single for it to take effect 2023-06-08 17:55:19 +02:00
dd2692ca6e chore: clean up old debug code 2023-06-08 13:56:57 +02:00
c47edf6f18 feat: Add initial dired config
Single buffer + hiding dotfiles
2023-06-08 13:56:38 +02:00
ff49b4958c feat: remove sunrise commandor
Learn dired-mode instead
2023-06-08 12:57:40 +02:00
d37d733f5b feat: use fuzzy search in swiper, ignore order search in all others
Can switch this at runtime using hydra (C-o M).
2023-06-07 16:09:47 +02:00
1b386ae27f feat: diminish counsel 2023-06-07 16:09:22 +02:00
68d9e58c51 feat: enable ivy-hydra + move hydra 2023-06-07 16:09:12 +02:00
667b311e32 feat: refactor projectile setup
Set ivy as completion system
refactor keymap binding
don't enable projectile-global-mode, regular mode is enough
2023-06-07 13:31:44 +02:00
70bac71039 feat: enable menu in rg 2023-06-07 13:31:13 +02:00