1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-30 19:53:45 +00:00

Add resume

This commit is contained in:
Mo 2022-05-15 20:01:40 +02:00
parent bef682ffc8
commit 46707df4d9

View file

@ -26,16 +26,16 @@ set("n", "<C-j>", cmd("BufferLineCyclePrev"), opts)
set("n", "<C-b>", cmd("Neotree"), opts)
-- Telescope
local custom_telescope = require("plugins.telescope")
local builtin_telescope = require("telescope.builtin")
set("n", "<C-p>", custom_telescope.custom_find_files, opts)
set("n", "<C-h>", custom_telescope.custom_find_hidden_files, opts)
set("n", "<C-f>", builtin_telescope.current_buffer_fuzzy_find, opts)
--
set("n", "<space>f", builtin_telescope.live_grep, opts)
set("n", "<space>s", builtin_telescope.lsp_document_symbols, opts)
set("n", "<space>d", builtin_telescope.lsp_definitions, opts)
set("n", "<space>r", builtin_telescope.lsp_references, opts)
local telescope_custom = require("plugins.telescope")
local telescope_builtin = require("telescope.builtin")
set("n", "<C-p>", telescope_custom.custom_find_files, opts)
set("n", "<C-h>", telescope_custom.custom_find_hidden_files, opts)
set("n", "<C-f>", telescope_builtin.current_buffer_fuzzy_find, opts)
set("n", "<space>f", telescope_builtin.live_grep, opts)
set("n", "<space>s", telescope_builtin.lsp_document_symbols, opts)
set("n", "<space>d", telescope_builtin.lsp_definitions, opts)
set("n", "<space>r", telescope_builtin.lsp_references, opts)
set("n", "yspace>b", telescope_builtin.resume, opts)
-- LSP
set("n", "<space>h", vim.lsp.buf.hover, opts)