Telescope picker for Windows SMB mapped drive plugin.
Color scheme is Darcula made with TJ's colorbuddy plugin
This plugin was created due to my frustration typing out full path of mapped SMB drives.
The easiest way I found was to use cmd.exe
and entering net use
, then copy the drive letter.
However, I need to do it so many times it become cumbersome task.
I wrote this integration with Telescope to give it fuzzy find and yank to register via Telescope.
Inspired and modified code from Telescope Vim Bookmark project. It is a relatively simple and easy to understand telescope plugin.
If you are using packer.nvim, use this to setup smb_unc
use "4542elgh/telescope-smb-unc.nvim"
In Telescope setup, require smb_unc module
require('telescope').load_extension('smb_unc')
The extension provides the following picker:
" output current system mapped drive
:Telescope smb_unc
Lua equivalent:
require('telescope').extensions.smb_unc.all()