~whynothugo/dotfiles

c8db399b747650b98ba7cf49a05447f27b88a61b — Hugo Osvaldo Barrera 27 days ago dcafc10
nvim: Drop obsolete fzf mapping
1 files changed, 3 insertions(+), 2 deletions(-)

M home/.config/nvim/lua/mappings.lua
M home/.config/nvim/lua/mappings.lua => home/.config/nvim/lua/mappings.lua +3 -2
@@ 65,14 65,15 @@ vim.keymap.set("n", "<C-h>", [[:vertical resize -1<CR>]], { silent = true })
vim.keymap.set("n", "<C-j>", [[:resize +1<CR>]], { silent = true })
vim.keymap.set("n", "<C-k>", [[:resize -1<CR>]], { silent = true })
vim.keymap.set("n", "<C-l>", [[:vertical resize +1<CR>]], { silent = true })
-------------------------------------------------------------------------------

-- FZF mappings ---------------------------------------------------------------
-- FZF mapping
--
-- If in a git repo, shows a file-picker for all non-ignored files. Untracked
-- failes are included too. If outside a git repo, just all files. Dotfiles are
-- always included.
--
-- TODO: It'd be great if matches in pwd are weighted higher.
vim.keymap.set("n", "<c-p>", require("_fzf").show_fuzzy_finder, { silent = true })
vim.keymap.set("n", "<Leader>p", require("_fzf").show_fuzzy_finder, { silent = true })

local function breakPoint()