Commit graph

726 commits

Author SHA1 Message Date
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
Martin Larsson
ee4e8e7217 Make sure wlc/wlp works on mac os 2024-08-16 10:06:14 +02:00
Martin Larsson
bcf5f8a405 Change k to q for killing/closing/quitting in sway, neovim, and tmux.
Reason for this is because cmd+q on mac os. I want my setup to be
universal between mac and lin, or as close as it possibly can be.
2024-08-16 10:06:14 +02:00
Martin Larsson
802721becc Add option as alt so the option key works in tmux when using mac 2024-08-16 10:06:14 +02:00
Martin Larsson
72fbf61c84 Set vim.o.sessionoptions = "localoptions" 2024-08-16 10:06:14 +02:00
c8bce9a631 Make sure dap_repl is installed in treesitter 2024-08-15 21:25:33 +02:00
ab021c381a remove skhd and yabai 2024-08-15 21:24:50 +02:00
04129b2952 Make sure wlc/wlp works on mac 2024-07-22 21:02:22 +02:00
e54038aafd Remove neodev as I wasn't even using it, additionally, fix so that we
properly exit debug mode when manually stopping the debugger
2024-07-16 11:37:52 +02:00
12840af4c9 Add a debug mode which adds keymaps to step the debugger and removes
them when the debugger is stopped or finished.
2024-07-16 11:08:44 +02:00
8356ff0018 Fix ambiguous variable name in window_management.lua 2024-07-16 11:05:43 +02:00
284dca7daf Add x and o mode tables to the is_single_keymap_table function 2024-07-16 11:05:07 +02:00
cf1fa53b59 Refactor Leap and make sure we can leap in o-mode, which means we can
for instance delete using a leap motion. Very nice
2024-07-16 11:04:18 +02:00
cb806f7adc Feature: WindowManagement 1.0, enter resizing mode with ctrl+space,
resize windows using arrow keys, swap buffers using shift+ctrl and arrow keys. Next todo is to fix highlight feedback for the current selected window in resizing mode.
2024-07-15 18:06:19 +02:00
c472143d9f Upgrade leap, fix visuals since breaking change, some light optimization
and refactoring, add more labelmappings since were not using autojump,
and add remote action binding "gl"
2024-07-15 17:36:35 +02:00
47189b4b62 Delete flit, it only gets in the way when using leap. 2024-07-15 17:36:17 +02:00
42f4bcb5da Fix resizing mode in window management 2024-07-14 22:39:53 +02:00
2fcf44dc3e Fix treesitter initialization 2024-07-14 15:47:09 +02:00
456fc0da59 Optimize startup time and make some minor refactorings 2024-07-12 23:00:01 +02:00
f8faa2f5c1 Change the renderer for notify to compact. 2024-07-12 19:09:31 +02:00
f0502dc916 Re-enable noice and refactor and change some color options. I previously
disabled it because it wasn't playing nicely with Zellij, this is no
longer an issue when using Tmux.
2024-07-12 18:59:02 +02:00
0a53678bb9 Light refactoring, move as many config = func uses into opts as
possible.
2024-07-12 17:04:53 +02:00
657f9cb7e1 Remove obsidian plugin and instead add Neorg 2024-07-12 17:04:18 +02:00
d707293341 Add NeoMutt configuration 2024-07-12 17:02:42 +02:00