Commit graph

349 commits

Author SHA1 Message Date
Martin Larsson
5d22761014 Update blink config so super-tab works. Also add LSP capabilities for
blink for more suggestions.
2024-11-14 17:03:34 +01:00
Martin Larsson
eb34dcec65 Remove all usages of nvim-cmp in favor of blink 2024-11-03 02:17:23 +01:00
Martin Larsson
dfbb5c8834 oil.nvim now uses filewatch to update buffer content from fs changes,
additionally, now also save the prev directory state so it persists when
oil is closed and reopened
2024-11-03 02:14:14 +01:00
Martin Larsson
8263b02c70 Add silent option to a lot of keymaps to hide command display. 2024-10-30 17:47:29 +01:00
Martin Larsson
23ed2e9964 Light refactoring to mason/lsp setup, also add support to zig, ocaml,
and go.
2024-10-30 17:46:54 +01:00
Martin Larsson
ee7ce096c8 Update rusteaceanvim to major version 5 2024-10-30 17:46:28 +01:00
Martin Larsson
9b9424ac05 Change keybindings for copilot to better match cmd workflow (completion
on tab and acceping auto complete on right arrow)
2024-10-30 17:45:36 +01:00
Martin Larsson
7c54faf521 Fix incorrect binding for jumping between diagnostics in Lspsaga 2024-10-30 17:02:38 +01:00
Martin Larsson
6c605b47c2 Add tiny inline diagnostics and fix $TERM in tmux and alacritty to
alacritty instead of xterm-256color
2024-10-24 19:09:31 +02:00
Martin Larsson
8744c577ae Fix so clang receives the congifured parameters correctly. 2024-10-24 19:07:12 +02:00
Martin Larsson
c8566d89f0 Add tiny-inline-diagnostics plugin 2024-10-20 03:41:38 +02:00
Martin Larsson
beddd50e98 Remove deprecated config key hererrocks in lazy_init.lua and inrease
timeout to 300sec since toml++ and sol2 takes minutes to compile.
2024-10-20 03:41:03 +02:00
Martin Larsson
1e18e2d419 Change to blink over cmp, improve mason so that we don't need configs
for each language server. We only override the set keys in the custom
    lsp config if it exists, otherwise we rely on the default one from
    lspconfig.
2024-10-20 03:40:10 +02:00
Martin Larsson
b195a9e22a Remove instant prompt as I was getting issues with it when using tmux,
change multiline first prompt charater to horizontal box drawing
character.
2024-10-11 15:11:59 +02:00
Martin Larsson
21e6ce3181 auto-show-console - false was used as a workaround for an error which
was thrown in some large repos where the git command took a long time to
run. This has been fixed by the author of the plugin so I no longer need
it.
2024-10-09 15:37:44 +02:00
Martin Larsson
006ac8ce9c Use main branch of dap profiles and remove dev stuff 2024-10-09 00:42:54 +02:00
Martin Larsson
39d74b5d84 Add muttrc as parser to treesitter 2024-10-08 01:22:14 +02:00
Martin Larsson
f909d576fd Add modules to Neorg: defaults, dirman, concealer 2024-10-08 01:21:56 +02:00
Martin Larsson
57473ff020 Update CodeCompanion to use the new API 2024-10-07 19:03:29 +02:00
Martin Larsson
4314571ff4 Turn off "auto_show_console" in Neogit. This fixes an error which
occured when Neogit takes serveral seconds to load (i.e in really large
repos)
2024-10-07 19:02:12 +02:00
Martin Larsson
b6f533183c Add persistent breakpoints which are serialized and loaded on startup.
Additionally, add better visualization for the breakpoints and change
keybindings. Now supports conditional breakpoints, regular breakpoints,
and clearing all breakpoints.
2024-10-04 23:58:30 +02:00
Martin Larsson
006a02eebd Remove git aliases which already exist from omz plugin. Also change gh
copilot aliases.
2024-09-30 11:33:13 +02:00
Martin Larsson
1c36d605f0 Fix warning: multiple different client offset_encodings detected for buffer, this is not supported yet by forcing offsetEncoding to utf16. utf8 has problems with copilot. 2024-09-24 14:09:12 +02:00
Martin Larsson
f21179be91 Change so instead of turning off inlay hints and displacing text when
leaping, just hide the text and make it invisible until we finish
leaping.
2024-09-22 15:43:59 +02:00
Martin Larsson
239dad6524 Add keybinds for code companion 2024-09-22 15:20:01 +02:00
Martin Larsson
a55f39f71d Add code companion plugin and configure it to use Copilot on all
accounts as that is promitted to use at work. Since it's using the
official Copilot plugin we can be sure that the token is using whatever
is authorized.
2024-09-22 14:00:02 +02:00
Martin Larsson
9d63c7b0a5 Remove animations from nvim notify as it was causing the cursor to
flicker.
2024-09-22 13:58:53 +02:00
Martin Larsson
2b1009e9f3 Change from 'edit' to 'drop' when switching from header/source in clang 2024-09-21 16:49:12 +02:00
Martin Larsson
822d397635 Update clang from lspconfig, fix keybinds for header/source switching
and symbol info. Also start clang with more and different options for
better handling in larger projects:

+            "--background-index",         -- Enables background indexing
+            "--clang-tidy",               -- Enables clang-tidy diagnostics
+            "--completion-style=bundled", -- Simpler completions for faster performance
+            "--rename-file-limit=0",      -- No limit on renaming files
+            "--header-insertion=iwyu",    -- Suggest missing includes based on IWYU
+            "--inlay-hints",              -- Enable inlay hints for parameter and type information
+            "--limit-results=70",         -- Limit autocompletion and symbol results
+            "--suggest-missing-includes", -- Still show missing includes suggestions
+            "--pch-storage=disk",         -- Stores precompiled headers on disk (fixes the issue where system ran out of memory when indexing large projects, not a huge performance hit on fast m2 ssds)
+            "--log=error",                -- Log only errors
2024-09-21 16:45:34 +02:00
Martin Larsson
1c46dfff48 Remove listchar whitespace visualization, it was just getting in the way
imo.
2024-09-21 16:45:17 +02:00
Martin Larsson
cc1d9121d6 Add qwerty window nav keybinds to ideavim 2024-09-21 16:44:45 +02:00
Martin Larsson
fc01aa096c Completely change from telescope to fzf, it's way more performant 2024-09-16 00:12:30 +02:00
Martin Larsson
3ecc70e179 Change next/prev hunk from h to g keybind 2024-09-15 23:36:32 +02:00
Martin Larsson
ce0dfec2ea Test out fzf over telescope for switching files, might migrate all functionality to fzf over telescope if I like it 2024-09-14 20:35:09 +02:00
Martin Larsson
50c97081ea remove project nvim 2024-09-14 20:34:43 +02:00
Martin Larsson
3e5a90b62f add next/prev git hunks, and opening terminal to ideavimrc 2024-09-14 20:34:22 +02:00
Martin Larsson
4d220ef603 Change bindings and add bindings for git hunk navigation. Also enable
gitsigns integration in lspsaga
2024-08-30 13:27:57 +02:00
Martin Larsson
04a6ad3c91 Add some basic git aliases 2024-08-29 00:03:22 +02:00
ee743318e4 Remove accidental paste in comment 2024-08-28 23:55:44 +02:00
72d6886df7 Merge branch 'main' of https://github.com/LarssonMartin1998/.dotfiles 2024-08-28 23:51:23 +02:00
e540508216 Add nvimdaprunner 2024-08-28 23:49:10 +02:00
Martin Larsson
f0dce86173 Make sure that custom pickers use the fuzzy sorters, this makes for a
noticable speed increase for large projects.
2024-08-28 23:16:37 +02:00
Martin Larsson
d3f4c573fc Increase ideavim scroll off to 8 from 1 2024-08-28 23:16:24 +02:00
Martin Larsson
34585fee74 Revert to default dir for compile-commands-dir, more cross project
friendly to just create a symlink to the root instead as part of the gen
step.
2024-08-28 23:15:23 +02:00
Martin Larsson
392a7684c1 Remove --git flag for all eza commands as it really slowed down all
operations in large repos
2024-08-21 11:34:34 +02:00
Martin Larsson
60935aba8d Change accordion padding 30>60 2024-08-21 11:34:23 +02:00
Martin Larsson
222307f2b2 Add keybindings for h/v_accordion (stacked/tabbed), change keybind for
fullscreen (add shift modifier) so that it doesnt conflict with default
macos cmd-f for search. Reenable the disable keybind for cmd-h
2024-08-20 14:37:48 +02:00
Martin Larsson
6ad8c24880 Fix conflicting keybinds cmd-v and cmd-h. Now have cmd-shift-h/v 2024-08-17 22:58:24 +02:00
Martin Larsson
1c8ab38b68 Add aerospace for tiling wm on mac 2024-08-17 22:50:04 +02:00
Martin Larsson
727da4b2b0 Fix merge issue with wlc aliases on mac 2024-08-17 22:48:28 +02:00