Revision #3 was created by RusAlex on Jul 20, 2011, 11:06:33 AM.
share new experience
Content
I want to create a wiki page, and therefore im opening this discussion on this forum, for answering all questions and see other opinions, how do you use vim with yii.
At first, i work with Gvim.
I have a script file for opening saved session and custom bindings for every project.
[...]
cd "$1" || { zenity --title "Vim IDE usage error" --error --text "Can't change current directory to Vim IDE project directory '$1'."; exit 1; } ```
vim --class=IDE -S .vim/ide.vim --servername vim
```
My every project has .vim folder under the root folder. there isneed to be one file at start .vim/ide.vim
(just create it before start in project root dir.
[...]
```php
nmap <f3> :execute "Nwrite ftp://username@*.*.60.252/httpdocs/".expand("%")<CR> //Now i can upload files via ftp to production server.
[...]
```
Update: today i use awesome tool git and awesome tool [git-ftp](https://github.com/resmo/git-ftp) and my upload command is
git-ftp awesome tool, you can push your project to ftp, (much low cost hosters have it) and use power of git for your projects.
And i open project with next command $~/ide.sh /path/to/project . And it opens my project with all opened files, and tabs saved on last exit.
I use tabs for my code process. Next tabs i see on my every project: