dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 623f647d9cf726fd9620e148a4f4c1d0d6792a02
parent 2a6b5f4d199bf410a6c5b7b6b04ef155d87f7f09
Author: Alexander Balgavy <alexander.balgavy@spaceapplications.com>
Date:   Fri, 27 Oct 2023 20:18:28 +0200

nvim: more mappings

Diffstat:
Mnvim/lua/config/nvim-treesitter.lua | 2+-
Mnvim/lua/config/telescope.lua | 2++
Mnvim/lua/plugins.lua | 1+
3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/nvim/lua/config/nvim-treesitter.lua b/nvim/lua/config/nvim-treesitter.lua @@ -11,7 +11,7 @@ require('nvim-treesitter.configs').setup { init_selection = '<c-space>', node_incremental = '<c-space>', scope_incremental = '<c-s>', - node_decremental = '<c-d>', + node_decremental = '<c-<plus>>', }, }, textobjects = { diff --git a/nvim/lua/config/telescope.lua b/nvim/lua/config/telescope.lua @@ -17,6 +17,8 @@ vim.keymap.set('n', '<leader>sw', require('telescope.builtin').grep_string, { de vim.keymap.set('n', '<leader>sg', require('telescope.builtin').live_grep, { desc = '[S]earch by [G]rep' }) vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { desc = '[S]earch [D]iagnostics' }) vim.keymap.set('n', '<leader>sr', require('telescope.builtin').lsp_references, { desc = '[S]earch [R]eferences' }) +vim.keymap.set('n', '<leader>si', require('telescope.builtin').lsp_incoming_calls, { desc = '[S]earch [I]ncoming calls' }) +vim.keymap.set('n', '<leader>so', require('telescope.builtin').lsp_outgoing_calls, { desc = '[S]earch [O]utgoing calls' }) vim.keymap.set('n', '<leader>ss', function() local ok, lsp_buf = pcall(require, 'vim.lsp.buf') if ok and lsp_buf.server_ready() then diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua @@ -155,4 +155,5 @@ return { { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, }, }, + }