nixvim(telescope): add file-browser extension to allow for file creation
This commit is contained in:
parent
b7975c5aab
commit
b78836eed9
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
plugins.telescope = {
|
plugins.telescope = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extensions.file-browser.enable = true;
|
||||||
settings.defaults.mappings = {
|
settings.defaults.mappings = {
|
||||||
i = {
|
i = {
|
||||||
# close telescope when escape pressed in insert mode
|
# close telescope when escape pressed in insert mode
|
||||||
|
|
@ -16,7 +17,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"<leader>ff" = {
|
"<leader>ff" = {
|
||||||
action = "find_files";
|
action = "file_browser";
|
||||||
options = {
|
options = {
|
||||||
desc = "Find files in current directory";
|
desc = "Find files in current directory";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue