TMUX windows vs iTerm2 tabs

TMUX windows vs iTerm2 tabs

Working in the terminal entirely is an incredibly efficient workflow when done appropriately. Periodically I stop what I'm doing and think...

Can I work more efficiently?

There are most generally multiple projects worked on at a time, multiple tasks simultaneously running for those projects, some of which are commonly moved between to edit things. I've had conversations with a coworker recently about tmux sessions vs tmux windows and we came to a conclusion.

Tmux windows are workspaces, sessions are for projects.

With this distinction, we use those workspaces or windows as tabs like we would traditional virtual desktops or virtual

Read More

.vimrc

.vimrc

SO having worked in a lot of different editors, gui or otherwise, I've compiled a small vimrc that I find pretty useful. Some of the notable features include:

  • leader, n, = Make new pane in desired direction
  • leader, m, = Move current pane to (or flip it with another pane) in the desired direction
  • leader, = Set focus to pane in direction
  • leader, b, = Switch current panes active file to next buffer

There are other notable features, but the configuration is documented well.

"----------------------------------------
" Start general configurations
"----------------------------------------
set nocompatible " don't lose new vim features due to compatibility  
set ts=2 sw=2

Read More

tmux + vim + iterm2 + powerline

tmux + vim + iterm2 + powerline

I've been pretty pampered with all my IDE's in the past working a lot on windows machines. Whether it was Visual Studio, Sublime 3 or even notepad++ it's been a good ride. Lately though I've switched entirely to an arch linux custom build on my home pc, and a macbook pro for my work laptop. Both machines now share the same work environment: terminal multiplexer, vim and iterm2 all with a powerline visual update. It has been surprisingly a super quick and easy transition. Every now-and-then I'll find myself switching to the atom editor for non-work related stuff like the

Read More