News for hackers. Stuff that matters.
Re:Using Vim for C++ Development by hyperpl on Thursday September 03, 2020 @10:43AM (#24364523)
This may be considered blasphemy, but I continue to use i3-gaps on my 43" 4K monitor in 100% floating mode. It actually works quite well. Of course for my small displays I use tiling mode.
Re:Using Vim for C++ Development by approxim8ion on Thursday September 03, 2020 @02:18PM (#24366986)
Imo if you're only floating, Openbox is even lighter than i3 and works great. Super configurable too- the config file is just XML. I really enjoyed my time on it but I like tiling too much. Window-snapping wasn't enough.
Re:Using Vim for C++ Development by boring_twenties on Thursday September 03, 2020 @06:00PM (#24369366)
Ick.

I use xmonad, despite not knowing any Haskell. I basically just copy pasted little snippets from all over the place and changed random characters until it started working.

Pretty sure I still prefer this state of affairs to XML.

Re:Using Vim for C++ Development by yearoflinux on Thursday September 03, 2020 @11:25AM (#24364931)
Why don't you use one of the olden and golden wm's for that? i3 doesn't have alt-tab
Re:Using Vim for C++ Development by jcelerier on Thursday September 03, 2020 @12:44PM (#24365895)
sure it does

    bindsym $mod+Tab exec --no-startup-id rofi -show window
Re:Using Vim for C++ Development by approxim8ion on Thursday September 03, 2020 @02:20PM (#24367007)
Rofi is great, but it's still adding several extra keystrokes for something that alt-tab essentially does in 2 (alt, hold tab till you get to a window you want, release to go to it. on rofi, you'd have to press alt-tab to invoke the window dialog, then type a portion of window name or navigate down to it, then press enter) .
Re:Using Vim for C++ Development by jcelerier on Thursday September 03, 2020 @03:40PM (#24367926)
> (alt, hold tab till you get to a window you want, release to go to it.

madness :) I could never manage to get to my window like that, it's alt + tab tab tab tab tab tab tab until I get where I want when on windows vs alt + tab down down down down on rofi so I don't see a lot of difference

Re:Using Vim for C++ Development by approxim8ion on Friday September 04, 2020 @04:33AM (#24372965)
Haha, fair enough. Also turns out tab tab tab tab works on rofi -show window (my fault for not using it much hence not knowing) so maybe it's not all that different after all!
Re:Using Vim for C++ Development by boogies on Thursday September 03, 2020 @11:15AM (#24364824)
Does i3 allow you to easily toggle floating on each window (regardless of the main mode that new windows default to) like dwm?
Re:Using Vim for C++ Development by aardvark179 on Thursday September 03, 2020 @11:32AM (#24365015)
Yes, shift-super-space is I think the default key binding to switch the current window.
Re:Using Vim for C++ Development by boogies on Thursday September 03, 2020 @04:31PM (#24368546)
That’s exactly what it is in dwm (except that dwm defaults to using alt as the MOD(ifier) instead of super, but changing that takes only a one line patch). And you can also just use MOD-leftmouse-drag to move a window or MOD-rightmousedrag to resize (either of which change the window to floating mode if it isn’t there already), or use MOD-middlemouseclick to toggle its floating state.
Re:Using Vim for C++ Development by smabie on Thursday September 03, 2020 @04:33PM (#24368566)
If you're only using the floating mode, I would recommend trying cwm.