Sent from my BlackBerry wireless device from MTN
From: AJ <brandmyself@gmail.com>
Sender: django-users@googlegroups.com
Date: Wed, 25 May 2011 23:32:41 -0400
To: <django-users@googlegroups.com>
ReplyTo: django-users@googlegroups.com
Subject: Re: Is there an HTML editor that's Django-aware
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
On Tue, May 24, 2011 at 4:02 PM, Simon Connah <simon.connah.ml@gmail.com> wrote:
Sure.
On 24 May 2011, at 18:49, AJ wrote:
> Simon,
>
> Can you please give details of plugins that you use for Python/Django in MacVim?
>
> Thanks,
> AJ
I use this plugin collection:
https://github.com/carlhuda/janus
as well as this extra plugin:
http://www.vim.org/scripts/script.php?script_id=2441
I'm positive there are more out there and I have tried various code folding plugins but they just slowed me down. If anyone else has any more tips I'd like to know what the consensus is with vim users for Python / Django development. My .vimrc file is as follows if you want that as well (it has some stuff for Haskell in it as well which you can remove):
set nocompatible
set columns=80
if has("colorcolumn")
set colorcolumn=80
else
au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
endif
set guifont=Monaco:h14
set guioptions=aAce
set shiftwidth=4
set tabstop=4
set softtabstop=4
set expandtab
set undolevels=1000
set history=1000
set hlsearch
set showmatch
set title
set visualbell
set noerrorbells
set wildignore=*.o,*.swp,*.pyc,*.pyo,*.hg,*.git,*.bak,*.class
filetype on
filetype plugin indent on
" enable omni completion for python
au FileType python set omnifunc=pythoncomplete#Complete
" pyflakes is an intellisense checker for python
let g:pyflakes_use_quickfix = 0
syntax on
au Bufenter *.hs compiler ghc
set confirm
set number
set nowrap
set nobackup
set nowritebackup
set noswapfile
set pastetoggle=<F2>
let g:haddock_browser = "open"
let g:haddock_browser_callformat = "%s %s"
--
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.
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