telescope-tmux.nvim
telescope-tmux.nvim copied to clipboard
Switch tmux windows using :Telescope tmux windows not working
I have two tmux windows, both with neovim.
When I do :Telescope tmux windows
, it pops up the my windows, when I select the window i want to switch to,
The error I see is:
E5108: Error executing lua: vim/_editor.lua:0: nvim_exec2(): Vim(!):E499: Empty file name for '%' or '#', only works with ":p:h": silent !tmux switchc -t "#:@2" -c "/dev/pts/0"
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
...ope-tmux.nvim/lua/telescope/_extensions/tmux/windows.lua:85: in function 'run_replace_or_original'
...packer/start/telescope.nvim/lua/telescope/actions/mt.lua:65: in function 'key_func'
...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:253: in function <...k/packer/start/telescope.nvim/lua/telescope/mappings.lua:252>
I installed the plugin using packer:
use 'camgraff/telescope-tmux.nvim'
And loaded the extension to telescope:
pcall(require('telescope').load_extension, 'tmux')