3 ms·
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 exi
by Taek 10y ago
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.
- certifiedloud 10y agoI use the same except for ranger. I'll have to check it out now.
- flukus 10y agoHow 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.
- mxvzr 10y agoI'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.
- flukus 10y agoKeyboard 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
- mxvzr 10y agoSome 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.
- flukus 10y agoThanks, I'll put it on my ever growing list of things to try out.
- afghanPower 10y agoFor 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)