Commit Graph

1015 Commits

Author SHA1 Message Date
ed5432641a feat(keybindings): add cmd+shift+p and cmd+/ keybindings from VSCode
Makes cmd+shift+p open the command palette and cmd+/ toggle comments, as
they do in VSCode.

This should ease my recent usage of Cursor/VSCode alongside Emacs, as
certain keybindings I have in Emacs cannot be setup in VSCode to work in
all contexts. Hence I've had to get used to cmd+shift+p instead of C-x
C-m, as the later does not want to play ball when a terminal is active
in VSCode.
2025-06-28 17:14:37 +01:00
2c9d6118e9 fix(language/json): remove errant space in middle of function name 2024-12-27 01:09:25 +00:00
282e7b590e feat(workspaces/easysession): display session name in mode-line 2024-12-18 08:59:45 +00:00
396fb0f853 fix(workspaces/easysession): remove save keybinding conflicting with switch-to 2024-12-17 21:51:11 +00:00
2ea3fdc27a fix(language/toml): fix toml setup hook function name 2024-12-17 21:17:37 +00:00
Jim Myhrberg
45c41b318d fix(language/ruby): switch back to ruby-lsp after fixing indent-region issue 2024-12-17 16:50:48 +00:00
384f7fcf53 feat(workspace/easysession): add easysession-save keybinding 2024-12-17 09:28:07 +00:00
Jim Myhrberg
a9c6240b62 fix(language/json): don't load json-mode at all if json-ts-mode is available
This prevents jsom-mode from taking over JSON files when it's loaded.
2024-12-16 18:40:08 +00:00
Jim Myhrberg
cb799f31e0 feat(workspaces): replace desktop.el with easysession
It seems easysession is a more modern take on session management, and
most importantly, it is much faster than desktop.el. So far this seems
to work fine, so I'll give it a proper try.
2024-12-16 18:37:30 +00:00
Jim Myhrberg
6ddfb4bf52 chore(completion/company): remove needless unbind-key call 2024-12-16 18:15:31 +00:00
Jim Myhrberg
b665226d48 fix(langauge/ruby): switch back to solargraph from ruby-lsp
When using ruby-lsp, indent-region does nothing, which causes a whole
series of annoyances and issues.
2024-12-16 18:14:14 +00:00
a7fc77f52e fix(language/yaml): switch back to yaml-mode
Turns out yaml-ts-mode forces 4-space indentation with no options to
changes it.
2024-12-10 21:23:39 +00:00
Jim Myhrberg
64eeebbf6b chore(navigation/helm): resolve defadvice deprecation warning
Switch to use newer advice-add function instead of defadvice macro.
2024-12-09 10:44:07 +00:00
021fba9c73 chore(language/go): fix typo in comment 2024-12-07 20:38:18 +00:00
1ddc73e8a5 feat(language/yaml): use yaml-ts-mode by default 2024-12-07 20:38:17 +00:00
c991e20c99 fix(completion/company): fix keybind conflict with copilot-mode 2024-12-07 20:38:17 +00:00
Jim Myhrberg
20bfc9cfe6 feat(language/go): switch back to go-mode from go-ts-mode 2024-12-02 15:06:30 +00:00
Jim Myhrberg
c3bc47ab47 feat(projects): add projectile switch project keybind that creates new tab-bar tab if needed 2024-12-02 15:05:36 +00:00
Jim Myhrberg
fac7bb0426 feat(language/ruby): switch from solargraph to ruby-lsp 2024-11-21 17:44:02 +00:00
Jim Myhrberg
0bb354b89d chore(language/yaml): improve setup of yaml-ts-mode 2024-11-21 01:32:52 +00:00
Jim Myhrberg
f15e6c0b40 chore(language/go): indent go-ts-mode definition correctly 2024-11-21 01:31:31 +00:00
Jim Myhrberg
9313f84d51 fix(editor/origami): add missing major modes 2024-11-21 01:31:02 +00:00
Jim Myhrberg
afe79a9390 chore(completion/copilot): improve filename matching of predicate function 2024-11-21 01:30:06 +00:00
Jim Myhrberg
9142e179fd refactor(text-editing/toggle-comments): simplify implementation 2024-11-21 01:25:01 +00:00
Jim Myhrberg
bd6c2439f0 chore(keybinds): replace nearly all global-set-key with general 2024-11-21 01:24:10 +00:00
0c124709b9 fix(language/go): ensure tree-sitter grammar correctly 2024-11-05 00:18:45 +00:00
509c6ef8a5 chore(git-commit): bind M-q to fill-paragraph in git-commit-ts-mode 2024-11-05 00:17:35 +00:00
055cbac42c fix(language/toml): switch back to conf-toml-mode from toml-ts-mode
toml-ts-mode seems to have severe performance issues on larger files
spanning hundreds of lines. So let's switch back to conf-toml-mode
again, for now at least.
2024-10-27 01:43:31 +01:00
Jim Myhrberg
5cd13c64de fix(language/ruby): setup inf-ruby in ruby-ts-mode 2024-10-24 09:20:59 +01:00
983ccd3c27 feat(version-control/magic): use git-commit-ts-mode
Offers more advanced syntax highlighting for commit messages, with
support for conventional commit messages.
2024-10-24 03:13:45 +01:00
3edd8e647e feat(treesit): install grammars to custom directory 2024-10-24 03:13:17 +01:00
ef99f6aedc feat(language/lua): enable lsp-mode in lua-ts-mode 2024-10-24 02:12:55 +01:00
c7ff9e177a feat(language/scss): format scss-mode with prettier 2024-10-24 02:12:55 +01:00
931312e118 feat(language/typescript): format typescript-ts-mode and tsx-ts-mode with prettier 2024-10-24 02:12:54 +01:00
96545b2f58 chore(language/typescript): minor tweaks and simplification 2024-10-24 02:12:54 +01:00
dd67d46a78 chore(language/js): setup js-ts-mode but disable it for now
It seems very basic and seems to lack a lot of syntax highlighting
features compared to js-mode.
2024-10-24 02:06:00 +01:00
fe04f68948 feat(language/php): format PHP files with prettier 2024-10-24 02:05:17 +01:00
18db9153dd feat(language/css): switch to css-ts-mode 2024-10-24 02:04:27 +01:00
074ac916ab feat(language/toml): switch to toml-ts-mode and enable lsp-mode as well 2024-10-24 02:03:08 +01:00
efd3bf1dde fix(language/scss): prevent tree-sitter-mode from activating in scss-mode
tree-sitter-mode does not play nice with scss-mode, and results in the
buffer having no syntax highlighting at all.
2024-10-24 01:59:55 +01:00
f64a5c352f chore(language/dockerfile): minor refactor of major mode setup 2024-10-24 00:38:40 +01:00
c01da3c3b7 feat(language/php): switch to php-ts-mode 2024-10-24 00:38:09 +01:00
fae8b8bb6b chore(treesit): add extra helper functions 2024-10-24 00:21:52 +01:00
6a07ee49d1 feat(language/rust): switch to rust-ts-mode 2024-10-24 00:20:30 +01:00
1bdd2316c7 feat(language/json): switch to lua-ts-mode (from lua-mode) 2024-10-23 02:09:04 +01:00
8cb67a0618 feat(language/json): switch to json-ts-mode (from json-mode) 2024-10-23 02:08:36 +01:00
243e2e17b1 chore(treesit): add and use treesit helpers for easier custom font-lock queries 2024-10-23 02:07:27 +01:00
814347dbb2 feat(language/go): switch to go-ts-mode
With some custom tweaks to syntax highlighting and properly setup indent
value, go-ts-mode seems to work very well. In theory it should be less
overhead compare to using go-mode together with tree-sitter-mode.
2024-10-21 01:46:55 +01:00
Jim Myhrberg
3cae3d93bf feat(language/ruby): switch to ruby-ts-mode 2024-10-18 13:12:40 +01:00
37c486ca94 chore(workspaces/tab-bar): disable new auto-width feature 2024-10-18 03:07:03 +01:00