Difference between #2 and #3 of
yii vim eclimd how it works

Changes

Title unchanged

yii vim eclimd how it works

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

vim, eclimd, vimrc

Content changed

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 
 
 
```php 
nmap <leader>u :!git ftp push -A -vv -u username -p pass ftp://www.example.com/httpdocs/<cr>
 
```
 
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:
 


```php
[...]
i use shortcuts for switching between them:


 
 
```php <leader>tt - tests tab <leader>tc - controllers tab <leader>tl - layouts tab <leader>tv - views tab <leader>tm - model tab <leader>tw - working tab
```
[...]
8 0
8 followers
Viewed: 12 949 times
Version: 1.1
Category: How-tos
Tags: eclimd, vim, vimrc
Written by: RusAlex
Last updated by: RusAlex
Created on: Feb 25, 2011
Last updated: 12 years ago
Update Article

Revisions

View all history