feat: kitty instead of alacritty -> pictures

This commit is contained in:
Fabio Lenherr / DashieTM 2023-01-05 03:57:49 +01:00
parent fb16eec496
commit f3a0d0d35f
11 changed files with 278 additions and 64 deletions

View file

@ -0,0 +1,35 @@
local t = require("telescope")
local z_utils = require("telescope._extensions.zoxide.utils")
-- Configure the extension
t.setup({
extensions = {
zoxide = {
prompt_title = "[ Queries ]",
mappings = {
default = {
after_action = function(selection)
print("Update to (" .. selection.z_score .. ") " .. selection.path)
end
},
["<C-s>"] = {
before_action = function(selection) print("before C-s") end,
action = function(selection)
vim.cmd("edit " .. selection.path)
end
},
["<C-q>"] = { action = z_utils.create_basic_command("split") },
},
},
},
})
-- Load the extension
t.load_extension('zoxide')
-- Add a mapping
require("telescope").load_extension("fzy_native")
require("telescope").load_extension "file_browser"
require('telescope').load_extension('dap')
require("telescope").load_extension('harpoon')