News for hackers. Stuff that matters.
Re:Tmux and Vim – better together by Taek on Thursday April 20, 2017 @01:41PM (#14158959)
I've found my flow with vim+i3+ranger

i3 is a window manager that can outcompete anything you can do with vim splits or a tool like tmux/screen. It's whole existence is based around putting windows in the right place at the right time.

Ranger is a vim-like ncurses file browser. I think it's genuinely one of the most underappreciated tools in programming. The ability to hjkl through your file system, with quick marks, with vim-style cut/paste, with visual mode, with about 20 other things that I use daily which just means that no other viewer comes remotely close.

My typical flow has between 4 and 12 terminals open, with the bulk being ranger->vim, which allows me to easily navigate complex project structures. The others are usually make, or htop, or some ssh.

I'll usually have a couple of web browsers open in another workspace as well. i3 tiling extends to all applications.

Re:Tmux and Vim – better together by afghanPower on Friday April 21, 2017 @11:07AM (#14166228)
For people wanting to try i3/awesomeWM/anotherTilingWM: Learn all the keyboard shortcuts, not just the basic ones. Spend some time on perfecting the configuration for you. Make keybindings that make sense to you.

Tip: Once you realize that you can make everything tabbed/stacked, your workflow becomes really fluent.

Example:

Workspace 1:

    Stacked (left):
        VIM - ASM / C
        terminal
    Stacked (right):
       ddd
       firefox (stackoverflow ftw)
Re:Tmux and Vim – better together by flukus on Thursday April 20, 2017 @08:47PM (#14162199)
How is i3 for a general purpose desktop? For coding it sounds great, but the same machine is used when I'm browsing the web or playing games or whatever.
Re:Tmux and Vim – better together by mxvzr on Thursday April 20, 2017 @10:14PM (#14162621)
I've been using awesomewm for a few years now, and while it's not i3 I believe it's close enough that I can answer that: A tiling wm is very viable for a general purpose desktop. It's also extra useful if you have a multi-monitor setup.

Applications that works in fullscreen (mpv, vlc, video games) requires you to set them fullscreen/floating, either yourself with a keybinding (Mod+f on awesome) or through the wm's config file. Some applications do not like tiling at all, some java gui apps from what I remember, but there are so few of them that I can't actually give you any example.

I say give it a shot, but beware: controlling your desktop entirely from your keyboard is addictive.

Re:Tmux and Vim – better together by flukus on Thursday April 20, 2017 @10:27PM (#14162671)
Keyboard is great sometimes, but do they have mouse control too? If I'm watching videos when I'm in bed I'm pretty mouse reliant, but if I'm coding then the more I can do on a keyboard the better
Re:Tmux and Vim – better together by mxvzr on Thursday April 20, 2017 @11:02PM (#14162799)
Some things can be done with the mouse: selecting a client, moving to another workspace, changing the layout, moving/resizing a floating (ie. not tiled) window

(awesome 4.x is more mouse friendly than awesome 3.5: in addition to the above, you can also change a few client modes with the mouse: float/tiled, maximize, stick (ie. display on all workspaces), on-top, close.)

Keyboard only: adding/removing columns/masters, moving a client to the master area, resize master area, move client to another workspace/screen.

Re:Tmux and Vim – better together by flukus on Thursday April 20, 2017 @11:20PM (#14162860)
Thanks, I'll put it on my ever growing list of things to try out.
Re:Tmux and Vim – better together by certifiedloud on Thursday April 20, 2017 @02:46PM (#14159580)
I use the same except for ranger. I'll have to check it out now.