My dev workflow using tmux+vim (video)

Takuya Matsuyama
Dev as Life
Published in
1 min readJul 12, 2019

--

Hi, it’s Takuya. I would like to show you how I usually code my apps like Inkdrop. I hope it’s helpful for your development!

Here is my configurations that I showed in the video.

tmux configurations

Change default prefix key

set-option -g prefix C-t

vim-like pane switching

bind -r k select-pane -U 
bind -r j select-pane -D
bind -r h select-pane -L
bind -r l select-pane -R

'ide' script

#!/bin/bash
tmux split-window -v -p 30
tmux split-window -h -p 66
tmux split-window -h -p 50

vim configurations

" Split window
nmap ss :split<Return><C-w>w
nmap sv :vsplit<Return><C-w>w
" Move window
map sh <C-w>h
map sk <C-w>k
map sj <C-w>j
map sl <C-w>l
" Switch tab
nmap <S-Tab> :tabprev<Return>
nmap <Tab> :tabnext<Return>

See also

--

--

I’m an indie SaaS developer currently building a Markdown note-taking app called Inkdrop. https://www.inkdrop.app/ Homepage: https://www.craftz.dog/