Thursday, May 26, 2011

Re: Is there an HTML editor that's Django-aware

Vim has a "Command-T" plugin that is inspired from the Textmate functionality and should work in the same manner (to an extent).

http://www.vim.org/scripts/script.php?script_id=3025

(I don't use this plugin myself though as I find NERDtree more than capable and already has all the files in an easily accessible format).

As for projects I just use the mvim command line tool to invoke MacVim in the directory all my files are in. So assume I have a Django project at ~/django-project I'd just do mvim ~/django-project and it would load all the files in NERDtree. Then you can just use Ctrl+w Ctrl+w to change windows from the main view to the NERDtree window and either i or s depending on whether you want to open the file in a vertical split or a horizontal split.

Simon.

On 26 May 2011, at 04:32, AJ wrote:

> Thanks a lot Simon. This is probably OT:
>
> That was helpful but I thought I could dive in again with Vim and failed (at least for now).
>
> You see, I am now used to some of the things in textmate:
>
> * quick file switching. Textmate has Cmd+T and type the file name for quick switching
> * a project. I found the project plugin but still could not figure out the usage.
>
> I am playing with NERDTree right now. I think there should be a plugin for quick file switching. I do need to know some more shortcuts for NERDTree to quickly open files and bookmark them.
>
> I just installed the project-plugin too http://www.vim.org/scripts/script.php?script_id=69
> but again, still have to deal with the learning curve.
>
> Having complained enough, I still think that if I do not give up this time, I will be better off with this editor as my primary.
>
> Best,
> AJ

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment