3 ms·
Does anyone know how to get the narrow column at the center of the screen in full screen mode pictured in the article using vim settings? see https://breckyuni
by ivansavz 5y ago
Does anyone know how to get the narrow column at the center of the screen in full screen mode pictured in the article using vim settings? see https://breckyunits.com/writeThin.png https://breckyunits.com/writeThin.png
I tried :set textwidth=<tw>, but that gives left aligned so not quite the same...
- vlmutolo 5y agoProbably Goyo. It's a vim plugin.
- ivansavz 5y agoThx for the tip. I managed to get it working. Here are the additions to ~/.vimrc in case anyone is interested (this after installing vim-plug https://github.com/junegunn/vim-plug#unix https://github.com/junegunn/vim-plug#unix and running :PlugInstall as per goyo instructions: set wrap linebreak nolist call plug#begin('~/.vim/plugged') Plug 'junegunn/goyo.vim' call plug#end() "Goyo settings let g:goyo_width = 60 let g:goyo_height = 999 let g:goyo_margin_top = 0 let g:goyo_margin_bottom = 0