janus
janus copied to clipboard
With janus, vim7.3 + ubuntu 11.04 + nerdtree cannot open file
I am trying to use .janus
on my ubuntu, but I found the nerdtree cannot work properly - I cannot open file from it..
The plugin works fine when I uninstall .janus and use my own vimrc files.
We need more information on the issues, what you haven given us doesn't help much!
I think I got same problem like @yangchenyun is describing under Linux Mint 13 ( Ubuntu fork distro)
Given I use janus vim (for example in Rails project ) When I split screen vertically ( :vs); And on left side screen I open any folder structure (:e app/controllers/) And on left side screen I open any file listed ( application_controller + enter ) And on right side screen I open folder structure (:e app/controllers) Then vim lock left panel screen with :set nomodifiable and :set readonly and sets pointer to left panel
so basically some plugin (that works with folders I guess) is locking left panel when I open folder structure
I tried to disable plugins NERDtree and NERDcommenter in vim.before and vim.after (didn't help)
the only solution was to each time run commands
:set modifiable
:set noreadonly
which is pretty annoying. I'm using same janus (with my snipets and .vimrc) on Fedora and use to use it on OSX Lion, works properly
Update on my prev. comment
interesting thing. In scenario with different folder structure it works ok..
Given I use janus vim (for example in Rails project ) When I split screen vertically ( :vs); And on left side screen I open any folder structure (:e app/controllers/) And on left side screen I open any file listed ( application_controller + enter ) And on right side screen I open folder structure (:e app/models) Then vim open right side (properly) and don't do anything with left side (properly)
but continuing in this scenario i do
Given previous scenario When I open app/controllers in right panel Then vim lock left panel screen with :set nomodifiable and :set readonly and sets pointer to left panel