RSS
 

MiniBufferExplorer And VIM Indent

14 Aug

Screenshot-form.php (-var-www-iriart) - GVIMI install the MinBufferExplorer(VIM plugins page here) into my VIM days before. It is a very good plugin, and it makes my multi-files editing very easy and comfortable.

But, recently, I stuck into one problem: I am on my php project (very tiny;p) now, and when I edit my html part of php files, the VIM can not indent correctly. That HURTS.. Because:

  1. There is no other text editor can move the curse with ‘J’, ‘K’,'L’,'H’. I tried to compromise, but I failed… How could you bear keep deleting so many ‘JKLH’s ?
  2. I’ve get used to use CTRL+N/CTRL+P to automatically complete my phrase. I don’t wanna change it.
  3. the VIM is FREE to use while some editors spending money = =
  4. I JUST LIKE VIM, IT IS MY COMPUTER, IT IS MY CODE, IS THERE MUST BE A REASON?!!



yeah… I know, I am over-reacted, but i DO love vim, you know… with this great passion, I just try to figure out the problem:


I just found that, with the help of MiniBufferExplorer, if I open two files one by one, the quit(:q), the gVIM will not quit, but return the first file, most importantly, without highlight.

Hmm, that is strange right? I thought, damn, it is another problem… As this time, an idea comes to my mind: why not delete the MiniBufferExplorer?

I did, problem solved, include the hightlight one.

To tell the truth: I DO NOT KNOW WHAT’S WRONG WITH MiniBufferExplorer, and the plugin was update in 2004 the last time :(
But it is ok to me to put it away. Maybe, someday I will make it better by myself. LOL

===============================================================

UPDATE: I just got it wrong, IT IS NOT MiniBufferExplorer’s PROBLEM… I AM WORKING ON IT NOW

UPDATE AGAIN: IT IS NOT THE MiniBufferExplorer’s PROBLEM… BUT THE indent file . YOU CAN GET THE SOLUTION VIA HERE.

how stupid i am…:(

 
No Comments

Posted in web

 

Tags: ,

Leave a Reply

 
Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).