This commit is contained in:
Martin Larsson 2024-08-28 23:51:23 +02:00
commit 72d6886df7
10 changed files with 146 additions and 15 deletions

View file

@ -33,7 +33,7 @@ require("utils").add_keymaps({
},
-- Window
["<C-k>"] = {
["<C-q>"] = {
cmd = "<C-w>q",
},
@ -115,7 +115,7 @@ require("utils").add_keymaps({
},
},
t = {
["<C-k>"] = {
["<C-q>"] = {
cmd = "<C-\\><C-N>",
},
},

View file

@ -31,7 +31,7 @@ local M = {
"--rename-file-limit=0",
"--header-insertion=iwyu",
"--inlay-hints",
"--compile-commands-dir=build/",
-- "--compile-commands-dir=build/",
},
commands = {
ClangdSwitchSourceHeader = {

View file

@ -13,5 +13,8 @@ return {
"~/.config",
"~/dev/git/.dotfiles",
},
}
},
init = function()
vim.o.sessionoptions = "localoptions"
end
}

View file

@ -66,7 +66,10 @@ return {
}
-- Cache the options with the dropdown theme for each picker so we don't
-- recalculate it every time we open a picker
local fzf_sorter = require("telescope.sorters").get_fzy_sorter()
for _, v in ipairs(pickers) do
-- Make sure all custom pickers are set to use the fzf sorter
v.picker_opts.sorter = fzf_sorter
v.picker_opts = vim.tbl_extend("force", dropdown, v.picker_opts)
end