https://github.com/cidem/neovim-set-path
Neovim Helper to Improve the Build-In `:find` Command
https://github.com/cidem/neovim-set-path
neovim neovim-plugin
Last synced: about 2 months ago
JSON representation
Neovim Helper to Improve the Build-In `:find` Command
- Host: GitHub
- URL: https://github.com/cidem/neovim-set-path
- Owner: cideM
- License: mit
- Created: 2021-01-19T08:10:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-29T16:18:03.000Z (over 5 years ago)
- Last Synced: 2025-05-18T08:36:52.584Z (about 1 year ago)
- Topics: neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Neovim Path Helpers
This plugin is based entirely on the idea from [this gist](https://gist.github.com/romainl/c8266473ae77b637eda8913c365db6dc)
## Quickstart
```vim
Plug 'cidem/neovim-set-path'
```
Add this to your `init.vim`
```vim
augroup SetPath
autocmd!
autocmd BufEnter,DirChanged * call pathutils#SetPath()
augroup END
command! -nargs=0 UpdatePath :call pathutils#SetPath()
```
Your buffer-local `path` will now be updated based on the above events and also whenever you manually call `:UpdatePath`.