{"repo":"willothy/flatten.nvim","free":true,"listed":false,"github":"https://github.com/willothy/flatten.nvim","clone":"git clone https://github.com/willothy/flatten.nvim.git","description":"Pipe from wezterm, kitty, and neovim terminals into your current neovim instance. Like `code -r` on steroids.","language":"Lua","stars":726,"topics":["lua","neovim","neovim-plugin","vim","nvim","terminal"],"license":"MIT","category":"cli-tools","readme_excerpt":"flatten.nvim Open files and command output from :term , Wezterm and Kitty in your current neovim instance Config for demo here (autodelete gitcommit on write and toggling terminal are not defaults) NOTE Flatten is undergoing some breaking changes on the road to the release of a stable 1.0.0. See #87 for more info. Features - [x] Open files from terminal buffers without creating a nested session - [x] Allow blocking for git commits - [x] Configuration - [x] Hooks for user-specific workflows - [x] Open in vsplit, split, tab, current window, or alternate window - [x] Pipe from terminal into a new Neovim buffer (demo) - [x] Setting to force blocking from the commandline, regardless of filetype - [x] Command passthrough from guest to host - [x] Flatten instances from wezterm and kitty tabs/panes based on working directory Installation[^1] Requires nvim =0.10. folke/lazy.nvim nvim-neorocks/rocks.nvim (via LuaRocks) Then, in plugins/flatten.lua : Usage Open files normally: Force blocking for a file: Open files in diff mode: Enable blocking for $VISUAL : Enable manpage formatting: Execute a command in the host instance, before opening files: Execute a command in the host instance, after opening files: Configuration Defaults Flatten comes with the following defaults: General - block for : table : - Default includes gitcommit and gitrebase only. - Add a filetype to always block the guest when opening a file of that type. - nest if no args : boolean (default: false ) - If true, will nes","default_branch":null,"files":null,"tree":[],"storefront":"/r/willothy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/willothy/flatten.nvim/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}