Wednesday, April 24, 2013

Re: How to open multiple projects in multiple windows and tabs without going crazy.

Hi Gusman,

The idea behind the plugin is that life is easier if your current working directory inside vim is the root of the project containing the file you are editing.

The result is just a list of autocmd to change the current working directory and the title of the Tab (if you use gvim).

https://www.dropbox.com/s/9ncmubbr1tdjbg6/vim_project.png

Best regard
Alberto Miorin

On Wednesday, April 24, 2013 11:18:54 AM UTC+2, Gusman wrote:
> Hi Alberto,
>
>
> I check your github, but I can't find detail feature of  your plugin.
> I have high interest to your project, can you describe here detail feature?
>
>
>
>
> Thx
>
>
> Best Regards,
>
>
> Gusman Dharma P
>
>
>
> On Mon, Apr 22, 2013 at 4:46 PM, Alberto Miorin <newsgr...@gmail.com> wrote:
>
>
> Hi all!
>
>
>
> With this plugin https://github.com/amiorin/vim-project
>
>
>
> My workflow
>
> -----------
>
> 1. Open a file.
>
> 2. Change the current working directory to the root of the project containing the file.
>
> 3. Change the guitablabel to something like "number title_of_the_project"
>
> 4a. Open an other file in a new tab or in a split and go to step 2.
>
> 4b. Change tab, window or buffer and go to step 2.
>
>
>
> This plugin takes care of steps 2 and 3.
>
>
>
> The number inside the guitablabel is for this shortcut.
>
> https://gist.github.com/amiorin/5433515
>
>
>
> Integration with CtrlP
>
> ----------------------
>
> I use CtrlPMRUFiles with this configuration.
>
> let g:ctrlp_mruf_relative = 1
>
> nnoremap <silent> so :exec g:ctrlp_mruf_relative == 0 ? "let g:ctrlp_mruf_relative = 1 \| CtrlPMRUFiles" : "let g:ctrlp_mruf_relative = 0 \| CtrlPMRUFiles"<CR>
>
>
>
> Integration with NerdTREE
>
> -------------------------
>
> To open the project folder.
>
> nnoremap <silent> ss :NERDTreeToggle<CR>
>
> nnoremap <silent> s. :NERDTree .<CR>
>
>
>
> Self-Promotion
>
> --------------
>
> Please star the project if you like it.
>
> https://github.com/amiorin/vim-project
>
>
>
> Please vote it on Hacker News
>
> https://news.ycombinator.com/item?id=5588257
>
>
>
> Best regards
>
> Alberto
>
>
>
> --
>
> --
>
> You received this message from the "vim_use" maillist.
>
> Do not top-post! Type your reply below the text you are replying to.
>
> For more information, visit http://www.vim.org/maillist.php
>
>
>
> ---
>
> You received this message because you are subscribed to the Google Groups "vim_use" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: