Create new tmux window ready for edit your selected file inside vim.
windowizer
creates a new tmux window with the selected file in a neovim instance. When you exit vim, the tmux window will be killed, returning to the previous window.
You can install this pluging using your favorite pluging manager
Packer
use({ "wesleimp/telescope-windowizer.nvim" })
Plug
Plug 'wesleimp/telescope-windowizer.nvim'
require("telescope").load_extension("windowizer")
This extension can be configured using extensions
field inside Telescope setup function
require("telescope").setup({
extensions = {
windowizer = {
find_cmd = "rg" -- find command. Available options [ find | fd | rg ] (defaults to "fd")
}
},
})
Using vim command
:Telescope windowizer
" using lua function
lua require("telescope").extensions.windowizer.windowizer()