A Telescope file picker with default behavior inspired by vim-vinegar and vim-filebeagle.
This repository has been archived on 2022-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2021-09-13 09:51:49 -05:00
lua/telescope/_extensions select current buffer in initial file list if visible 2021-09-12 12:06:07 -05:00
README.md Update README.md 2021-09-13 09:51:49 -05:00

telescope-vinegar.nvim

A modified version of Telescope.nvim's built-in file browser with behavior inspired by vim-vinegar and vim-filebeagle.

Archived

After using this for a while I've decided that Telescope is the wrong tool for this. I'm just sticking with netrw.

Usage

File browser opens in the current buffer's directory in normal mode by default.

  • - goes up a level to the parent directory
  • / enters insert mode to search files
  • + prompts for a new file name to create
  • h toggles whether hidden files are displayed or not

Installation

Install with packer (or similar equivalent package manager):

use 'rudism/telescope-vinegar.nvim'

Bind this to a key (I recommend -) and execute it to open the file browser in the current file's directory:

require('telescope').extensions.vinegar.file_browser()