Why I use VIM and tmux.
-
I'm more efficient and productive in an environment like this. I can move around a file more quickly. Change the file I'm looking at in an instant. Have a console window and several source files open in the same terminal window, neatly organized as I see fit.
-
When I say VIM and tmux, I actually mean anything that makes you more productive. Use VIM/screen, emacs/screen, emacs/tmux, etc...
-
Workflow before:
- Open sublime, open directory I'm working in
- Open a terminal window
- Change to the directory I'm working in
- Start my rails server
- Open another terminal window/tab
- Start guard to run my tests automatically
- Open another terminal window/tab for anything else I might run
- Use my mouse to click back and forth between sublime and my terminal windows to do my developing/testing/etc
- Workflow now:
- Open terminal
- Change to the directory I'm working in
- Fire up a tmux session
- Make windows, panes or tabs with the rails server, guard, etc. Usually, I'll have one dedicated to VIM and occasionally run a server or guard console in my view depending on if I want an uninterupted editing environment.
- Use only the keyboard to move around
-Future tmux-resurrect Allows you to restore your tmux session after a system restart!
helpful links
http://vim.org http://tmux.github.io/ http://tmuxcheatsheet.com/ http://vim-adventures.com/ vimtutor(inside vim) any tpope vim plugin