feat: kitty instead of alacritty -> pictures
This commit is contained in:
parent
fb16eec496
commit
f3a0d0d35f
11 changed files with 278 additions and 64 deletions
35
nvim/lua/settings/telescope.lua
Normal file
35
nvim/lua/settings/telescope.lua
Normal 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')
|
||||
Loading…
Add table
Add a link
Reference in a new issue