To center my window with iTerm2, I split my terminal with Cmd+D. I find that way of doing it more useful. Because I usualy always need to use the command line at some point.
I'm a self-employed developer who doesn't really like primarily defining himself by his income source. Check out my website and other stuff to get a better - but still woefully incomplete - idea of...
I use tmux for splits and panes (and more) in my terminal. If you haven't looked into it I'd recommend checking it out.
One downside I could see to creating this very narrow, centered experience by using terminal splits (rather than doing it in vim) is that everything else you'd be doing in vim would be constrained to that narrow pane as well - like anything in the vim command line, or the quickfix window or anything else.
Another sort of tangential but maybe helpful thing: if you find yourself needing to use the command line briefly but don't want to open up a terminal split you can hit Ctrl-Z to 'background' the current process (vim, in this case), use the prompt as much as you need and then enter the command fg to foreground the last process again (vim). While you're operating in this backgrounded mode you can enter jobs to see the list of backgrounded processes.
I hope that helps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
To center my window with iTerm2, I split my terminal with Cmd+D. I find that way of doing it more useful. Because I usualy always need to use the command line at some point.
I use tmux for splits and panes (and more) in my terminal. If you haven't looked into it I'd recommend checking it out.
One downside I could see to creating this very narrow, centered experience by using terminal splits (rather than doing it in vim) is that everything else you'd be doing in vim would be constrained to that narrow pane as well - like anything in the vim command line, or the quickfix window or anything else.
Another sort of tangential but maybe helpful thing: if you find yourself needing to use the command line briefly but don't want to open up a terminal split you can hit Ctrl-Z to 'background' the current process (vim, in this case), use the prompt as much as you need and then enter the command
fg
to foreground the last process again (vim). While you're operating in this backgrounded mode you can enterjobs
to see the list of backgrounded processes.I hope that helps!