atuin + projects
This commit is contained in:
parent
67af7e3c7e
commit
9d8a549199
2 changed files with 19 additions and 14 deletions
|
@ -83,6 +83,11 @@ in {
|
|||
settings = {
|
||||
enter_accept = true;
|
||||
style = "compact";
|
||||
keymap_mode = "vim-insert";
|
||||
keymap_cursor = {
|
||||
vim_insert = "steady-bar";
|
||||
vim_normal = "steady-block";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
require("telescope").load_extension("zf-native")
|
||||
require("telescope").load_extension("projects")
|
||||
|
||||
local builtin = require('telescope.builtin')
|
||||
local builtin = require("telescope.builtin")
|
||||
|
||||
-- greps
|
||||
vim.keymap.set("n", '<leader>ff', builtin.find_files, {desc = 'Find Files'})
|
||||
vim.keymap.set("n", '<leader>fg', builtin.live_grep, {desc = 'Live Grep'})
|
||||
vim.keymap.set("n", '<leader>fb', builtin.buffers, {desc = 'Buffers'})
|
||||
-- greps
|
||||
vim.keymap.set("n", "<leader>ff", builtin.find_files, { desc = "Find Files" })
|
||||
vim.keymap.set("n", "<leader>fg", builtin.live_grep, { desc = "Live Grep" })
|
||||
vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Buffers" })
|
||||
|
||||
-- register reading
|
||||
vim.keymap.set("n", '<leader>r', builtin.registers, {desc = 'View registers'})
|
||||
-- register reading
|
||||
vim.keymap.set("n", "<leader>r", builtin.registers, { desc = "View registers" })
|
||||
|
||||
-- lsp stuff
|
||||
vim.keymap.set('n', '<leader>pr', builtin.lsp_references, {desc = 'References'})
|
||||
vim.keymap.set('n', '<leader>pi', builtin.lsp_implementations, {desc = 'Implementations'})
|
||||
vim.keymap.set('n', '<leader>pd', builtin.lsp_definitions, {desc = 'Definitions'})
|
||||
vim.keymap.set('n', '<leader>ps', builtin.lsp_document_symbols, {desc = 'Document Symbols'})
|
||||
vim.keymap.set('n', '<leader>pws', builtin.lsp_workspace_symbols, {desc = 'Workspace Symbols'})
|
||||
vim.keymap.set('n', '<leader>pwd', builtin.lsp_dynamic_workspace_symbols, {desc = 'Dynamic Workspace Symbols'})
|
||||
|
||||
vim.keymap.set("n", "<leader>pr", builtin.lsp_references, { desc = "References" })
|
||||
vim.keymap.set("n", "<leader>pi", builtin.lsp_implementations, { desc = "Implementations" })
|
||||
vim.keymap.set("n", "<leader>pd", builtin.lsp_definitions, { desc = "Definitions" })
|
||||
vim.keymap.set("n", "<leader>ps", builtin.lsp_document_symbols, { desc = "Document Symbols" })
|
||||
vim.keymap.set("n", "<leader>pws", builtin.lsp_workspace_symbols, { desc = "Workspace Symbols" })
|
||||
vim.keymap.set("n", "<leader>pwd", builtin.lsp_dynamic_workspace_symbols, { desc = "Dynamic Workspace Symbols" })
|
||||
|
|
Loading…
Add table
Reference in a new issue