Vim slow opening html files

2009-04-08 Thread Mr.SpOOn
Hi, I noticed that when I open an html file with file it takes a lot of time. I mean, also if I just create an empty index.html file. For "a lot of time" I mean about 10 seconds. What happens is that it opens Vim with this written in the bottom line: "index.html" [New File] Then, after about 10

Re: Vim slow opening html files

2009-04-08 Thread Mr.SpOOn
2009/4/8 Matt Wozniski : > Compare > > vim test.html -c 'scriptnames' > > with > > vim test -c 'scriptnames' Thanks. The problem was the HTML syntax file that I had in /usr/local/share/vim... Removing it solves the problem. Anyway, is it normal that it causes this big delay? --~--~-~--~

Re: Vim slow opening html files

2009-04-08 Thread Mr.SpOOn
2009/4/8 Matt Wozniski : > Is it normal that syntax highlighting an empty file takes 10 seconds? > Of course not! Yes, right. Of course not. I asked a silly question, and I got a silly answer. Any idea about what can possibly be the cause of the delay? --~--~-~--~~~-

Re: Vim slow opening html files

2009-04-08 Thread Mr.SpOOn
2009/4/9 John Beckett : > Give us some help! What is this file? Is it distributed with Vim? > Is there any origin or version or date info in the first few lines > of the file? Yes, well, on the html.vim syntax file there is this: " Vim syntax file " Language: HTML " Maintainer: Claudio Fle

Re: Vim slow opening html files

2009-04-09 Thread Mr.SpOOn
John Beckett: > Weird suggestion: Close Vim. Rename plugin/matchparen.vim to > matchparen.txt or whatever (or move it somewhere). Do you still > have the slowness problem? I tried renaming the matchparen plugin, but it is still slow. Tony Mechelynck: > For instance, if you never use vbscript in

Re: Vim slow opening html files

2009-04-09 Thread Mr.SpOOn
2009/4/9 John Beckett : > I'm sorry to be a pain, but the message from baz in this thread > is suggesting a confirmation of my wild recollection. It's ok :D > It might be worth renaming matchparen.vim again, then starting > Vim and using :scriptnames and carefully checking that > matchparen real

A-Left and A-Right not working inside Screen

2009-04-25 Thread Mr.SpOOn
Hi, is there some known issue in using alt key binding with Vim working inside Gnu/Screen? I have these inside my .vimrc file: "" tab navigation (next tab) with alt left / alt right map :tabnew map :tabn map:tabp On my pc I have Vim 7.2.25, compiled from source. The Alt-t mapping does'

Re: A-Left and A-Right not working inside Screen

2009-04-25 Thread Mr.SpOOn
2009/4/25 Ricky : > > If you map Alt key, it's case sensitive. Do you mean I have to use and ? > And some keys already mapped to the menu key, like is the shortcut to > menu "Tools". The menu "Tools" of what? I'm using Vim, not gVim. Is it the same? --~--~-~--~~~-

Re: A-Left and A-Right not working inside Screen

2009-04-25 Thread Mr.SpOOn
2009/4/25 Jason Axelson : > Many times alt-t will be mapped to the tools menu of the terminal > emulator. That may not be the case for you though. Yes, I see. I usually use xterm or Terminator, and they don't have a meny bar. --~--~-~--~~~---~--~~ You received thi

Re: A-Left and A-Right not working inside Screen

2009-04-27 Thread Mr.SpOOn
2009/4/27 pansz : > To make sure, launch screen and run vim in it. > use :map > > here means press Ctrl+V, not to verbatim type the text. > > if Vim receives key codes, it should print some thing. So, when I do it for Alt and left-arrow I get: :map ^[[1;3D for the right one: :map ^[[1;3C In

Re: A-Left and A-Right not working inside Screen

2009-04-28 Thread Mr.SpOOn
2009/4/28 pansz : > Then it must has something to do with the TERM environment variable. > The same character sequence ^[[1;3D are interpreted differently for > different TERM, you can check $TERM in your shell, or check &term in vim. Ok, on my machine it normally outputs "xterm", both in the she

Re: A-Left and A-Right not working inside Screen

2009-05-02 Thread Mr.SpOOn
>2009/5/1 Tony Mechelynck : > > Well, actually, is different from , and > is different from but I don't think it's relevant here. What I > think he meant by "case sensitive" is that , or , is _also_ > different from , unlike what happens with Ctrl+letter, where > is the same as and is better

Refresh/reload an opened file

2009-05-06 Thread Mr.SpOOn
Hi, is there any way to reload or refresh a file I'm currently working on? When I work on files on a server, it happens that I keep different of them opened in tabs. While I work on a file, a friend of mine is working on another (that I have opened there) and if he makes some changes, to see them

Re: Refresh/reload an opened file

2009-05-10 Thread Mr.SpOOn
2009/5/7 Gary Johnson : > >    :e Thanks, it was really simple, but I didn't think about that and I couldn't find anything searching for "refresh" or "reload". --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more information, visit

Using CTags through a network

2009-05-12 Thread Mr.SpOOn
Hi, is it possible to use CTags on a different machine through a network? I mean, I have Vim on my machine, with CTags. I use netrw to work on a server where I don't jave CTags. Is there any way to make it work? --~--~-~--~~~---~--~~ You received this message from

Re: Using CTags through a network

2009-05-14 Thread Mr.SpOOn
2009/5/12 Charles Campbell : > As undoubtedly you're aware, ctags is a separate utility from vim, and > is not netrw-aware.  So, if you can generate a tags file for what you're > interested in, then you can modify it to use netrw-style urls > > Example: local tag >  SomeFileFunction    some/path/

Strange errors with XP Template

2009-05-14 Thread Mr.SpOOn
Hi, today I tried for the first time the XPT plugin. It is great. On my machine is working perfectly. On a server machine, when I give the command to load the snippet I get a lot of error: =XPTemplateStart(0) Error detected while processing function XPTemplateStart..17_Popup..17 _SynNameStack: li

Re: Strange errors with XP Template

2009-05-16 Thread Mr.SpOOn
2009/5/15 Jürgen Krämer : > the function synstack() was added by patch 7.1.215. Probably the version > on the server is older. Yes, you're right. There is the version 7.1.138. --~--~-~--~~~---~--~~ You received this message from the "vim_use" maillist. For more in

Temp files with netrw

2009-07-05 Thread Mr.SpOOn
Hi, sometimes I edit files on a server using Vim with netrw. This works fine, but at some point I find myself editing a temp file in a local /tmp directory instead of the same file on the server. This happens often when I use the ftp protocol. Usin ssh, via scp:// things go better. But sometimes

Re: Temp files with netrw

2009-07-09 Thread Mr.SpOOn
2009/7/6 Charles E Campbell Jr : > Please be precise in explaining how to duplicate the problem.  IIUC, you > have > two separate machines attempting to access the same file, both via ftp.  Are > these two machines both Linux machines?  The "/tmp" comment seems to > imply that they are.  Or are yo

Splitted windows problem with project.vim and buffer-explorer

2009-11-18 Thread Mr.SpOOn
Hi, I'm using the plugin project.vim to navigate my projects, so I usually have a windows vertically splitted: on the left there is the project.vim windows (listing all the files in my projects) and on the right there is a file open. To change buffer I'm trying the buffer-explorer plugin. I type

Re: Splitted windows problem with project.vim and buffer-explorer

2009-11-19 Thread Mr.SpOOn
2009/11/19 Bao Anh : > > I use :B to explore the buffers (at the right-hand side window) without any > problem. > Bao Anh Yes, I see. Also splitting horizontally with \bs seems to work fine. Thanks. --~--~-~--~~~---~--~~ You received this message from the "vim_use

Questions about creating a new syntax file

2009-11-20 Thread Mr.SpOOn
Hi, I'd like to create a syntax file for PyKE (http://pyke.sourceforge.net). It is based on Python, but it also has its own syntax so using the Python syntax file would not work. I followed a guide on the vim tips wiki* and I managed to create highlight keywords, some special variables and commen

Compiling vim on Ubuntu 64 bit

2009-11-23 Thread Mr.SpOOn
Hi, I'd like to compile Vim on a fresh installed Ubuntu 9.10 64 bit. Last time I compiled Vim I followed this guide: http://users.skynet.be/antoine.mechelynck/vim/compunix.htm I think someone here in the list pointed me to that link. I have just some question: 1) is there anything I should do to

Re: Compiling vim on Ubuntu 64 bit

2009-11-23 Thread Mr.SpOOn
Raúl Núñez de Arenas Coronado wrote: >Tricky. Unless you really HATE some option (or support) that came with >one of the "flavors" of VIM (tiny, small, big, huge), I strongly >recommend you to stick to one of these. Probably a "big" version will be >enough for you. In any case, ":help feature-list

Re: Compiling vim on Ubuntu 64 bit

2009-11-23 Thread Mr.SpOOn
2009/11/23 Raúl Núñez de Arenas Coronado : > > Saluton Mr.SpOOn :) > > Mr.SpOOn skribis: >> Raúl Núñez de Arenas Coronado wrote: > ;) Well, then you can use a "huge" version and fine tune the > configuration. It is not the easiest thing on Earth, though. And &

Re: Compiling vim on Ubuntu 64 bit

2009-11-23 Thread Mr.SpOOn
2009/11/23 Raúl Núñez de Arenas Coronado : > Yes, I think they're made one for each 100 patches. If you download them > you will have to download "excess" patches, too. Yes, I saw that :D Thanks anyway for telling me. --~--~-~--~~~---~--~~ You received this messag

empty php-doc.vim script

2009-12-21 Thread Mr.SpOOn
Hi, I was trying to install the phpDocumentor script for Vim (http://www.vim.org/scripts/script.php?script_id=1355) with no succes. It seems that the script file I am downloading is completely empty. It's just me, so there's some serious problem with my computer, or is it really empty? If so, is t

Re: empty php-doc.vim script

2009-12-21 Thread Mr.SpOOn
Ok, sorry, apparently was a problem with Firefox. -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php

tabbar plugin: not enough room error

2010-01-06 Thread Mr.SpOOn
Hi, I'm using the TabBar plugin on Ubuntu with gVim to display the buffer list. Sometimes when I open a new buffer from the project.vim window I get this error: Error detected while processing function 50_Tb_AutoUpdt..50_Tb_Start..50_Win_FindOrCreate: line 47: E36: Not enough room file: system/

ctrl-j mapping not working properly

2010-01-19 Thread Mr.SpOOn
Hi, I'm trying to use these mappings: map j map k map h map l They usually work fine, but sometimes (I don't understand exactly when) the c-j mapping does other things. In this moment, while I'm editing a php it brings me to the "insert mode". In my vimrc that is the only setting regarding c

Re: ctrl-j mapping not working properly

2010-01-27 Thread Mr.SpOOn
Paul: > > Next time it happens, to see what last set it, do: > >   :verbose map Thanks. It seems the problem was the imaps.vim plugin. Charles Campbell: >I suggest that you use > >nn j > >so that you don't get remapped, and keep the mapping active only in normal >mode. I don't really get the