I’m working on PHP, Python and Rails projects now and would like to get to work quicker each time I switch projects.
I have found some Guake or ABC-terminal automation scripts to load up my different terminals with certain commands (rails server --debugger, vim ~/railsapp, cd ~/railsapp, etc).
Q. What is the launch command to make one of those terminals open Vim with multiple tabs at pre-determined directories or files?
See
:help mksession.Basically you setup a workspace manually: this buffer in that split, these splits in that tab… and do
:mksession /path/to/mysession.vim. After that you can start Vim with$ vim -S /path/to/mysession.vimand see Vim rebuild your workspace.