diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-03-09 10:07:05 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-03-09 10:07:05 +0100 |
| commit | 345feb68e83fdcfca389135003a42f6c3ff1a59a (patch) | |
| tree | 1548ecab803167bd364652f22041a23a67363b7b /nvim/lua/config/keymaps.lua | |
| parent | b8f1da5ea149068ba3aae66685b64c251ad45461 (diff) | |
| download | dotfiles-345feb68e83fdcfca389135003a42f6c3ff1a59a.tar.gz dotfiles-345feb68e83fdcfca389135003a42f6c3ff1a59a.tar.bz2 dotfiles-345feb68e83fdcfca389135003a42f6c3ff1a59a.zip | |
Neovim: Bessere Ausnutzung von lazy.nvim
Diffstat (limited to 'nvim/lua/config/keymaps.lua')
| -rw-r--r-- | nvim/lua/config/keymaps.lua | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua index 123e039..b193d5c 100644 --- a/nvim/lua/config/keymaps.lua +++ b/nvim/lua/config/keymaps.lua | |||
| @@ -42,32 +42,6 @@ function M.lsp(buffer, client) | |||
| 42 | set_python_bindings() | 42 | set_python_bindings() |
| 43 | end | 43 | end |
| 44 | 44 | ||
| 45 | function M.telescope() | ||
| 46 | local opts = { | ||
| 47 | silent = true, | ||
| 48 | } | ||
| 49 | |||
| 50 | map("n", "<leader>ff", function() | ||
| 51 | require("telescope.builtin").find_files() | ||
| 52 | end, opts) | ||
| 53 | |||
| 54 | map("n", "<leader>fg", function() | ||
| 55 | require("telescope.builtin").live_grep() | ||
| 56 | end, opts) | ||
| 57 | |||
| 58 | map("n", "<leader>fb", function() | ||
| 59 | require("telescope.builtin").buffers() | ||
| 60 | end, opts) | ||
| 61 | |||
| 62 | map("n", "<leader>fh", function() | ||
| 63 | require("telescope.builtin").help_tags() | ||
| 64 | end, opts) | ||
| 65 | |||
| 66 | map("n", "<leader>dd", function() | ||
| 67 | require("telescope.builtin").diagnostics() | ||
| 68 | end, opts) | ||
| 69 | end | ||
| 70 | |||
| 71 | function M.gitsigns() | 45 | function M.gitsigns() |
| 72 | map("n", "<leader>tb", require("gitsigns").toggle_current_line_blame) | 46 | map("n", "<leader>tb", require("gitsigns").toggle_current_line_blame) |
| 73 | end | 47 | end |
