dorkhub

vim-venter

Vim plugin that horizontally centers the current window(s)

JMcKiern
Vim Script502 forksGPL-3.0updated 3 months ago
git clone https://github.com/JMcKiern/vim-venter.gitJMcKiern/vim-venter

vim-venter

vim-venter is a vim plugin that vertically horizontally centers the current window(s)

This is mainly useful when working with one file on a large monitor

Similar to goyo.vim but keeps the functionality (statusbar, tabline etc.)

Installation

vim-plug

Add Plug 'jmckiern/vim-venter' to .vimrc
Then run :PlugInstall in vim

Vundle.vim

Add Plugin 'jmckiern/vim-venter' to .vimrc
Then run :PluginInstall in vim

Pathogen

Run git clone https://github.com/jmckiern/vim-venter ~/.vim/bundle/vim-venter in a terminal

How to Use

Commands

:Venter - Open venter

:VenterClose - Close venter

:VenterToggle - Toggle venter

:VenterResize - Force a window resize (usually only happens on VimResized, TabEnter and WinEnter events)

Options

g:venter_disable_vertsplit - Set to v:true before calling :Venter to disable the vertical window separators

g:venter_width - Manually set width of padding windows (defaults to &columns/4)

g:venter_use_textwidth - If true, venter will resize the main window to it's textwidth. Note, this only works with 1 window open (excl. venter padding windows)

g:venter_close_tab_if_empty - Close the tab when the final window is closed if there are other tabs open (defaults to v:true)

more like this

vim-dap

Vim/Neovim debugger plugin providing a terminal interface to the Debug Adapter Protocol

Vim Script50

vim-halo

:innocent: Visual highlight for your cursor.

Vim script50

tobira.nvim

Open the next door in your Vim journey — personalized command discovery based on your actual usage

Lua51

search

search projects, people, and tags