Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to achieve the so-called "distraction free mode" in Vim?

Tags:

vim

vi

editor

Just curious, kinda like the "distraction free mode" of editors like sublime text, is it possible to centroid all the text to the middle of view field? It's always annoying to stare at the left-most end of the vim terminal in fullscreen mode with a widescreen monitor.

like image 254
nye17 Avatar asked Dec 13 '11 03:12

nye17


1 Answers

You could take a look at VimRoom: http://projects.mikewest.org/vimroom/

Alternatively, you could set Vim up to have two or more vertical windows on your widescreen and have the same buffer automatically "snake" between them. Allows you to see two or three times as much of your buffer on the screen at once. See here for that option: auto-scrollable pagination with vim using vertical split

like image 55
Herbert Sitz Avatar answered Nov 13 '22 20:11

Herbert Sitz