diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 60b5f98..c984b9f 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -322,16 +322,16 @@ require('lualine_setup') -- telescope local builtin = require('telescope.builtin') vim.keymap.set('n', '', function() builtin.find_files { sort_lastused = true } end) -- fd? -vim.keymap.set('n', 'ff', function() builtin.find_files { sort_lastused = true } end) -vim.keymap.set('n', 'fw', builtin.lsp_workspace_symbols) -vim.keymap.set('n', 'fd', builtin.lsp_document_symbols) -vim.keymap.set('n', 'fb', builtin.buffers) -vim.keymap.set('n', 'fg', builtin.live_grep) -vim.keymap.set('n', 'fh', builtin.help_tags) -vim.keymap.set('n', 'fc', builtin.git_commits) -vim.keymap.set('n', 'fgc', builtin.git_commits) -vim.keymap.set('n', 'fs', builtin.git_status) -vim.keymap.set('n', 'fgs', builtin.git_status) +vim.keymap.set('n', 'ff', function() builtin.find_files { sort_lastused = true } end, { desc = "find files"}) +vim.keymap.set('n', 'fw', builtin.lsp_workspace_symbols, { desc = "lsp workspace symbols" }) +vim.keymap.set('n', 'fd', builtin.lsp_document_symbols, { desc = "lsp document symbols" }) +vim.keymap.set('n', 'fb', builtin.buffers, { desc = "buffers" }) +vim.keymap.set('n', 'fg', builtin.live_grep, { desc = "grep" }) +vim.keymap.set('n', 'fh', builtin.help_tags, { desc = "help tags" }) +vim.keymap.set('n', 'fc', builtin.git_commits, { desc = "git commit" }) +vim.keymap.set('n', 'fgc', builtin.git_commits, { desc = "git commit" }) +vim.keymap.set('n', 'fs', builtin.git_status, { desc = "git status" }) +vim.keymap.set('n', 'fgs', builtin.git_status, { desc = "git status" }) ----------------------------------------------------------- -- Treesitter