News for hackers. Stuff that matters.
Re:Fullscreen for GVIM in Linux by amix on Thursday November 11, 2010 @07:32AM (#1893652)
I can highly recommend this, especially on systems with multiple desktops. For MacVim I have this in my .vimrc that launches Vim in fullscreen mode (⌘⇧F can be used to toggle):

    if has("gui_running")
      set fuoptions=maxvert,maxhorz
      au GUIEnter * set fullscreen
    endif
Re:Fullscreen for GVIM in Linux by gurraman on Thursday November 11, 2010 @07:29AM (#1893643)
My solution on OS X: Run console vim in a full screen iTerm2.

You can multiplex the terminal with screen or tmux, giving you some of the benefits of a tiling window manager. I find it great to have a shell or two next to my editor to track changes, run tests etc. iTerm2 also supports 256 colors and sends mouse events, so you can enable many of the features of the gui-versions of vim.

Re:Fullscreen for GVIM in Linux by ephesus on Thursday November 11, 2010 @08:23AM (#1893725)
Agreed. I've never understood why people insist on running vim outside of a terminal. You can use a mouse with macvim in iterm, but if you're using the mouse you're probably not using vim very efficiently anyway.
Re:Fullscreen for GVIM in Linux by preek on Thursday November 11, 2010 @08:30AM (#1893742)
For me, it is not for the sake of using the mouse. I hate that dreaded device.

Using the GUI, however, spawns a couple of possibilities - being able to use custom fonts and color schemes (with more than 256 or even 16 colors) is something I find important when I sit day after day staring at code. Being able to use plugins that underline (curly) would be another, third obviously to use VIM inside in Vimperator(FF plugin) or Thunderbird.

I'm a *nix guy, I even love Solaris. A couple of years ago, I didn't even have X installed. Everything was in the framebuffer - video, graphical browsing, etc. But I'd never say somebody is a n00b just because he doesn't use the terminal for everything.

Re:Fullscreen for GVIM in Linux by tvon on Thursday November 11, 2010 @08:39AM (#1893762)
I do the same thing but with Visor. 256 color support would be nice though.
Re:Fullscreen for GVIM in Linux by prody on Thursday November 11, 2010 @07:50AM (#1893679)
My KDE4 solution was to set noborder and forced size and position plus a ignore requested geometry flag. KDE4 lets you specify these flags by windows class, window application, etc. It's right there in the KDE4 context menu on windows.

The other solution that I actually use was switch to awesomeWM (any other tiling WM works), this makes a lot of sense for coding since you no longer have window clutter.

Re:Fullscreen for GVIM in Linux by _b8r0 on Thursday November 11, 2010 @09:18AM (#1893856)
Rather than doing all that, for Linux why not just switch to the terminal with ctrl-alt F1 and running vim from the console?

Even better still, run it through screen, then you can use console mode for full screen and use screen -x to simultaneously attach from X terminals. We use screen -x over SSH to provide multi-user scratchpads during on-site jobs.

Re:Fullscreen for GVIM in Linux by preek on Thursday November 11, 2010 @09:30AM (#1893893)
See my answer to a similar question: http://news.ycombinator.com/item?id=1893742

Your proposal is valid, but mine is as well. Different tasks need different approaches.

Besides, "all that" implies like 2 minutes of work if you don't count writing a blog post about it(;

Re:Fullscreen for GVIM in Linux by xtho on Thursday November 11, 2010 @08:09AM (#1893704)
Pressing <a-s-f10> works ok with gnome. Or run either:

    silent !wmctrl -r :ACTIVE: -b add,fullscreen
or

    silent !wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz
Re:Fullscreen for GVIM in Linux by preek on Thursday November 11, 2010 @07:27AM (#1893639)
Had to redirect from my WP installation to my Posterous account. Thanks for the interest, everyone.

I really have to look into caching my WP.

Re:Fullscreen for GVIM in Linux by numeromancer on Thursday November 11, 2010 @08:38AM (#1893761)
Or you could use a tiling window-manager, and have all apps open in full-screen mode by default.
Re:Fullscreen for GVIM in Linux by preek on Thursday November 11, 2010 @08:42AM (#1893768)
I could do that. But I need a Windows VM open at most times, and VirtualBox seemless windows unfortunately don't integrate well into tiling window managers.