Skip to content

Telescope extension for creating new tmux windows with vim

License

Notifications You must be signed in to change notification settings

wesleimp/telescope-windowizer.nvim

Repository files navigation

telescope-windowizer.nvim

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.

Installation

You can install this pluging using your favorite pluging manager

Packer

use({ "wesleimp/telescope-windowizer.nvim" })

Plug

Plug 'wesleimp/telescope-windowizer.nvim'

Usage

Setup

require("telescope").load_extension("windowizer")

Configuration

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")
    }
  },
})

Available commands

Using vim command

:Telescope windowizer

" using lua function
lua require("telescope").extensions.windowizer.windowizer()

LICENSE

MIT

About

Telescope extension for creating new tmux windows with vim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages