On Thu, 05 Apr 2007 09:08:43 -0400, wangxu [EMAIL PROTECTED]
wrote:
but in this situation,is there any way to auto-indent *.py?
I wouldn't have thought so, since the meaning of the code is implied
by the indentation rather than vice versa.
Personally I always indent using the basic autoindent
Jeffery Small wrote:
I'm using vim 7.0 on a Solaris 9 system.
If I put the following line in my .vimrc file:
set pastetoggle=Esc[192z
Then when I am editing in insert mode, each time I hit ESC to return
to command mode the cursor sit there jumping to the right and back
continuously until
I'm using vim 7.0 on a Solaris 9 system.
If I put the following line in my .vimrc file:
set pastetoggle=Esc[192z
Then when I am editing in insert mode, each time I hit ESC to return
to command mode the cursor sit there jumping to the right and back
continuously until another key is pressed.
Dear all,
If I want to open one 1G bytes size file,it's really slow.
Thank you in advance.
---
Best regards
longer
Have you seen this plugin already?
POD Folder : Creates folds in POD files based on =head[123] sections
http://www.vim.org/scripts/script.php?script_id=691
On 4/3/07, Bill Moseley [EMAIL PROTECTED] wrote:
I don't use folding often, but I'm not figuring out if/how to fold
POD documentation in a
sys.path.append(c:\\python23\\lib)
What's the result of
:py import sys
:py print sys.version
?
If it's not 2.3.something then there is no way you should be doing that.
Hi
How to modify code so that only one space is between two characters or
words?
For example:
- all lines containing the char : followed with zero or more then one
space(s) and then in
should become: untouched what is here: in(untouched what is here
aaa : in std_logic;
bb : in
Eric Leenman wrote:
Hi
Hi!
How to modify code so that only one space is between two characters or
words?
You could use a Search/Replace on the full text. This does end up
modifying your base text, so be sure to only use it on modifiable buffers.
For example:
- all lines containing the char
Hi,
Is it possible to source all scripts/plugins from VIM without leaving VIM?
When experimenting with plugins, I now
1) modify plugin
2) start VIM
3) test plugin
4) detect an error
5) close VIM
6) goto 1)
And this loops then till I fix it or give up
I know you can type :source eric_plugin
But
I have a huge file where I need to delete all lines except for a few I need.
I'm trying to do this in a single command.
I know that:
:v/Text/d
will delete all lines except for ones containing 'Text.' I have no idea how
to put multiple strings so the command deletes everything except for
Hi,
jas01 wrote:
I have a huge file where I need to delete all lines except for a few I need.
I'm trying to do this in a single command.
I know that:
:v/Text/d
will delete all lines except for ones containing 'Text.' I have no idea how
to put multiple strings so the command deletes
On Thu, April 5, 2007 2:38 am, ³Â·½ÈÙ wrote:
Dear all,
If I want to open one 1G bytes size file,it's really slow.
Thank you in advance.
Just out of curiosity, why are you trying to edit a 1 GB file with any
text editor? I'm assuming that these files are flat file databases. If
that's
jas01 wrote:
I have a huge file where I need to delete all lines except for a few I need.
I'm trying to do this in a single command.
I know that:
:v/Text/d
will delete all lines except for ones containing 'Text.' I have no idea how
to put multiple strings so the command deletes everything
* Tom Purl [2007.04.05 10:30]:
On Thu, April 5, 2007 2:38 am, ³Â·½ÈÙ wrote:
If I want to open one 1G bytes size
file,it's really slow.
I suggest splitting it into smaller chunks with
another tool.
Just out of curiosity, why are you trying to
edit a 1 GB file with any text editor?
Charles E Campbell Jr wrote:
jas01 wrote:
I have a huge file where I need to delete all lines except for a few
I need.
I'm trying to do this in a single command.
I know that:
:v/Text/d
will delete all lines except for ones containing 'Text.' I have no
idea how
to put multiple strings so
Just out of curiosity, why are you trying to
edit a 1 GB file with any text editor? I'm
assuming that these files are flat file
databases.
I need to do that quite often. They are usually
log files from a long running program in debug
mode.
I find that pre-processing with grep/sed/awk
Just to verify-I tried with python2.4 libs too :-D
-Original Message-
From: Tom Whittock [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 05, 2007 2:47 AM
To: Chuck Mason
Cc: vim@vim.org
Subject: Re: Python crash
sys.path.append(c:\\python23\\lib)
What's the result of
:py import sys
* Tom Purl [2007.04.05 12:00]:
I need to do that quite often. They are usually
log files from a long running program in debug
mode.
Actually, you can think of a log file as a sort
of flat file database. Here's an example
I appreciate all the help but I really don't have
a problem with
Hello,
I'm trying to write a compiler plug-in for a compiler (it's a compiler
use for PIC microcontrollers) and I'm hafing difficulties defining the
error format.
Here is a typical compiler output:
Warning 208
C:\Project\1816-CooperDataInterrogator\CircularBuffer.c Line 60(6,15):
Function not
Albie Janse van Rensburg [EMAIL PROTECTED] writes:
It seems that whenever I set pastetoggle to ESCx (where x is almost
any character), it exibits this same behaviour. You could avoid the
problem by setting pastetoggle to something else, preferably something
not starting with an ESC character.
Tom Purl wrote:
On Thu, April 5, 2007 2:38 am, ³Â·½ÈÙ wrote:
Dear all,
If I want to open one 1G bytes size file,it's really slow.
Thank you in advance.
Just out of curiosity, why are you trying to edit a 1 GB file with any
text editor? I'm assuming that these files are flat
/nodefaultlib:python24.lib
That's 2.4 right?
The point is that vim.command() is not thread-safe. I tried this in
pearl (5.8) as well with the same result. Except that perl's VIM::Msg
works in a thread (albeit things seem unstable) and VIM::DoCommand does
not.
Chuck
-Original
Jeffery Small wrote:
I'm using vim 7.0 on a Solaris 9 system.
If I put the following line in my .vimrc file:
set pastetoggle=Esc[192z
Then when I am editing in insert mode, each time I hit ESC to return
to command mode the cursor sit there jumping to the right and back
continuously until
A.J.Mechelynck [EMAIL PROTECTED] writes:
Try setting 'pastetoggle' to a single key (using notation for special
keys), e.g.,
:set pastetoggle=F11
Unfortunately, there is no notation for the Stop key. Also, I have
never been able to get any of these notations to work. For example, I
On Wed, 4 Apr 2007 10:22:43 -0400
Yakov Lerner [EMAIL PROTECTED] wrote:
On 4/4/07, wangxu [EMAIL PROTECTED] wrote:
ESC is so far from the center of the keyboard.
Can I replace this key to Caps Lock,for example?
I heard some people use Tab as a substitute for Esc. Weird.
But it's easier
On Thu, Apr 05, 2007 at 10:10:03AM EDT, jas01 wrote:
I have a huge file where I need to delete all lines except for a few I need.
I'm trying to do this in a single command.
I know that:
:v/Text/d
will delete all lines except for ones containing 'Text.' I have no idea how
to put
Let's say I open up a webpage, select some text and paste it into vim. Then
all I see in vim is the text I see on the browser. While this is OK most of
the times, sometimes I wish there is a way to paste the actual HTML code
directly into the vim.
Selecting view source of the webpage and then
27 matches
Mail list logo