home: vim: telescope: set-up 'fzf' matching
This commit is contained in:
parent
1be9eb517b
commit
bcbc9af372
|
@ -78,6 +78,7 @@ in
|
||||||
# UX improvements
|
# UX improvements
|
||||||
gitsigns-nvim # Fast git UI integration
|
gitsigns-nvim # Fast git UI integration
|
||||||
which-key-nvim # Show available mappings
|
which-key-nvim # Show available mappings
|
||||||
|
telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm
|
||||||
telescope-nvim # Fuzzy finder interface
|
telescope-nvim # Fuzzy finder interface
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
16
home/vim/plugin/settings/telescope.vim
Normal file
16
home/vim/plugin/settings/telescope.vim
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
lua << EOF
|
||||||
|
local telescope = require("telescope")
|
||||||
|
|
||||||
|
telescope.setup({
|
||||||
|
extensions = {
|
||||||
|
fzf = {
|
||||||
|
fuzzy = true,
|
||||||
|
override_generic_sorter = true,
|
||||||
|
override_file_sorter = true,
|
||||||
|
case_mode = "smart_case",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
telescope.load_extension("fzf")
|
||||||
|
EOF
|
Loading…
Reference in a new issue