diff options
| author | triethyl <triethylammonium@pm.me> | 2025-07-10 19:02:27 -0400 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2025-07-10 19:02:27 -0400 |
| commit | 96792596b8b48fdf73d99caab5781394c6fab00c (patch) | |
| tree | 765a108ac7069c76e392e3fb53e879c644ee3e18 /pkgs/custom-neovim/config/lua/plugins | |
| parent | 4afdfee5c1ce99a09fc70075ca674b961fd3faed (diff) | |
working on custom neovim
Former-commit-id: 4ce0bec0e948790108ad93d37bd99097537302a6
Diffstat (limited to 'pkgs/custom-neovim/config/lua/plugins')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/alpha.lua | 9 | ||||
| -rw-r--r-- | pkgs/custom-neovim/config/lua/plugins/lspconfig.lua | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/custom-neovim/config/lua/plugins/alpha.lua b/pkgs/custom-neovim/config/lua/plugins/alpha.lua index 6599bdb..e0fa7e9 100644 --- a/pkgs/custom-neovim/config/lua/plugins/alpha.lua +++ b/pkgs/custom-neovim/config/lua/plugins/alpha.lua @@ -6,10 +6,11 @@ dashboard.section.header.val = art.misc.hydra -- Set menu dashboard.section.buttons.val = { - dashboard.button( "f", " > Find file", ":cd $HOME | Telescope find_files<CR>"), - dashboard.button( "r", " > Find recent file", ":Telescope oldfiles<CR>"), - dashboard.button( "s", " > Load session", ":Telescope persisted<cr>"), - dashboard.button( "q", " > Quit", ":qa<CR>"), + dashboard.button( "f", " > Find file", ":cd $HOME | Telescope find_files<CR>" ), + dashboard.button( "r", " > Find recent file", ":Telescope oldfiles<CR>" ), + dashboard.button( "s", " > Load session", ":Telescope persisted<cr>" ), + dashboard.button( "l", " > Load last session", ":SessionLoadLast<cr>" ), + dashboard.button( "q", " > Quit", ":qa<CR>" ), } -- Send config to alpha diff --git a/pkgs/custom-neovim/config/lua/plugins/lspconfig.lua b/pkgs/custom-neovim/config/lua/plugins/lspconfig.lua index 98b34f2..445caee 100644 --- a/pkgs/custom-neovim/config/lua/plugins/lspconfig.lua +++ b/pkgs/custom-neovim/config/lua/plugins/lspconfig.lua @@ -38,8 +38,8 @@ vim.api.nvim_create_autocmd('LspAttach', { print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end) keymap('n', '<space>r', "Rename Symbol", vim.lsp.buf.rename) - keymap("n", "<leader>s", "Open symbol picker", [[:Pick lsp scope="document_symbol"<cr>]]) - keymap("n", "<leader>S", "Open workspace symbol picker", [[:Pick lsp scope="workspace_symbol"<cr>]]) + keymap("n", "<leader>s", "Open symbol picker", ":Telescope lsp_document_symbols<cr>") + keymap("n", "<leader>S", "Open workspace symbol picker", ":Telescope lsp_workspace_symbols<cr>") -- LSP Pickers keymap({'n', 'v'}, "<leader>a", "Perform code action", require("actions-preview").code_actions) |
