From: Armaan Bhojwani Date: Mon, 22 Nov 2021 02:20:31 +0000 (-0500) Subject: nvim: use FZF instead of ctrl-p X-Git-Url: https://git.armaanb.net/?p=dotfiles.git;a=commitdiff_plain;h=de693f13b9a76cb4c2d2f0007b6e37e3e5965ff5 nvim: use FZF instead of ctrl-p --- diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index ffc6359..ace82a7 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -22,7 +22,8 @@ end require('impatient') require('paq') { - 'ctrlpvim/ctrlp.vim'; -- Fuzzy file finding + 'junegunn/fzf'; -- Fuzzy file finding + 'junegunn/fzf.vim'; -- Fuzzy file finding 'editorconfig/editorconfig-vim'; -- Follow editorconfig 'folke/lsp-colors.nvim'; -- Add LSP colors to any theme 'godlygeek/tabular'; -- Line things up @@ -55,6 +56,10 @@ map('n', '', '', opts) -- Clear search highlighting map('n', '', ':noh', opts) +-- FZF +map('n', 'f', ':Files', opts) +-- TODO: Sharp corners... I can't figure this out + -- Completion vim.opt.completeopt = vim.opt.completeopt + 'menuone' vim.opt.completeopt = vim.opt.completeopt - 'preview'