diff options
| Commit | 9f07e92211db1f830fb9af50cde9ffa0f020d207 (patch) | |
|---|---|---|
| Author | 2026-03-31 21:12:45 +0300 | |
| Committer | 2026-03-31 21:12:45 +0300 | |
| Files | 4693524fbb83455d09dfdefcb09d3b922685ae9e /lua/mappings.lua | |
| anderson-9f07e92211db1f830fb9af50cde9ffa0f020d207.tar anderson-9f07e92211db1f830fb9af50cde9ffa0f020d207.tar.gz anderson-9f07e92211db1f830fb9af50cde9ffa0f020d207.zip | ||
| Parent | 3902eab99b8128e829629c2aeefcbe6ecb8c938d (diff) | |
feat: Replace search.nvim with telescope mappings
1 files changed, 5 insertions, 1 deletions
| -rw-r--r-- | lua/mappings.lua | 6 |
diff --git a/lua/mappings.lua b/lua/mappings.lua index 9b794b5..4257e06 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -106,7 +106,11 @@ map.n.F6(function() vim.cmd("set spell!") end) -map.n.Control_f(":lua require('search').open()<CR>", { silent = true }) +local telescope = require('telescope.builtin') +vim.keymap.set('n', 'ff', telescope.find_files) +vim.keymap.set('n', 'fg', telescope.live_grep) +vim.keymap.set('n', 'fb', telescope.buffers) +vim.keymap.set('n', 'fc', telescope.git_commits) --[=[ Abbreviations ]=]-- vim.cmd("cnoreabbrev x wa \\| qa!") |
