Commit graph

263 commits

Author SHA1 Message Date
9384be6e3f Improve touchpad configuration in sway. 2024-11-28 13:34:04 +01:00
368e86cea2 Fix rmf, and rmdf commands in zshrc 2024-11-28 13:33:49 +01:00
Martin Larsson
0ac609f98e Add workplace symbols search to fzf 2024-11-25 11:25:32 +01:00
1570f06b6c Add VPN state to sway status bar 2024-11-21 23:24:10 +01:00
e7293d8358 Add get-bwp() to zshrc which can be piped into other commands when
logging in. For instance, mullvad account login $(get-bwp mullvad)
2024-11-21 23:23:38 +01:00
Martin Larsson
79cdc0f23b Add commands for fzfd (fzf for directories), cdf, cpf, mvf, rmf (all
variants that use fzf, in the case of cp and mv that takes two paths,
they accept an argument for the second path, or if left empty uses fzf
for the first and second path)
2024-11-21 22:32:52 +01:00
Martin Larsson
f2c43242f5 Add buffer commit history to fzf <leader>tg. 2024-11-21 22:32:27 +01:00
Martin Larsson
edeeb04e6f separate serialized arrow data by git branch. 2024-11-19 00:53:13 +01:00
64bdd18769 Merge branch 'main' of github.com:LarssonMartin1998/.dotfiles 2024-11-14 22:19:01 +01:00
009e95c2f6 Make sure copilot right arrow doesnt consume right arrow input in insert
mode when there is nothing suggested
2024-11-14 22:17:25 +01:00
e09a435efa Add catc command to zshrc, cat-copy 2024-11-14 22:17:05 +01:00
2fb39e8b60 Change some keyboard shortcuts in sway to align with aerospace config on
mac. Also rebind capslock to escape.
2024-11-14 22:16:42 +01:00
9a19c94f01 Remove faulty screen-256color from default-terminal in tmux conf 2024-11-14 22:16:13 +01:00
ad735448ab Update alacritty to comply with changed config settings 2024-11-14 22:15:12 +01:00
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