add some default picker settings

This commit is contained in:
2024-12-09 21:30:41 -05:00
parent 896f7566da
commit 5e9e2b2280
2 changed files with 62 additions and 44 deletions
+8 -2
View File
@@ -131,10 +131,16 @@ keymap.set(
)
keymap.set(
'n',
'<leader>bb',
'<leader>fb',
'<cmd>Telescope buffers initial_mode=normal sort_mru=true sort_lastused=true select_current=true<cr>',
opts('Select from open buffers')
)
keymap.set(
'n',
'<leader>fn',
'<cmd>Telescope find_files cwd=' .. vim.fn.stdpath('config') .. '<cr>',
opts('Edit nvim config')
)
-- ────────────────────────────────────────────────────( substitute )─
keymap.set('n', 's', function()
@@ -237,4 +243,4 @@ keymap.set('i', '<C-s>', function()
else
vim.opt_local.spell = true
end
end, opts('Toggle spell check'))
end, opts('Toggle spell check'))