https://github.com/wesleimp/telescope-windowizer.nvim
Telescope extension for creating new tmux windows with vim
https://github.com/wesleimp/telescope-windowizer.nvim
lua nvim telescope tmux
Last synced: 10 months ago
JSON representation
Telescope extension for creating new tmux windows with vim
- Host: GitHub
- URL: https://github.com/wesleimp/telescope-windowizer.nvim
- Owner: wesleimp
- License: mit
- Created: 2022-02-15T12:27:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-15T18:16:53.000Z (almost 4 years ago)
- Last Synced: 2025-03-24T18:52:22.917Z (10 months ago)
- Topics: lua, nvim, telescope, tmux
- Language: Lua
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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**
```lua
use({ "wesleimp/telescope-windowizer.nvim" })
```
**Plug**
```vim
Plug 'wesleimp/telescope-windowizer.nvim'
```
## Usage
### Setup
```lua
require("telescope").load_extension("windowizer")
```
### Configuration
This extension can be configured using `extensions` field inside Telescope setup function
```lua
require("telescope").setup({
extensions = {
windowizer = {
find_cmd = "rg" -- find command. Available options [ find | fd | rg ] (defaults to "fd")
}
},
})
```
### Available commands
Using vim command
```vim
:Telescope windowizer
" using lua function
lua require("telescope").extensions.windowizer.windowizer()
```
## LICENSE
[MIT](./LICENSE)