C.Moncrieff wrote:
I guess that this email group may not be the group I need.
I'm afraid you're stuck, at least as far as official vim groups go.
There's this one and vim-development, primarily. See
http://vim.sourceforge.net/community.php
for the complete list.
What I consider to be
Reid Thompson wrote:
I have a .vimrc.
it has
Use Vim settings, rather then Vi settings (much better!).
This must be first, because it changes other options as a side
effect.
set nocompatible
I've already tried invoking via
[EMAIL PROTECTED]:~$
this is happening on two systems. My debian testing system
at home and my work machine which is running RHEL 4. I believe I
compiled vim/gvim from source at work, although here at home I'm using
the debian packaged one.
On 6/1/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
Brian E. Lozier wrote
Brian E. Lozier wrote:
Thanks all for the replies. I have a relatively fresh install of
Debian Testing. I don't believe I have manually modified any
system-level configuration files. All my settings are in ~/.gvimrc
and ~/.vimrc
Actually this is happening on two systems. My debian testing
Gary Johnson wrote:
On 2007-06-03, Seth Mason [EMAIL PROTECTED] wrote:
It seems like the spaces in the directory name is causing problems.
If I open a file in the directory and then use ':cd %:h' everything
works fine so it seems like the problem is not with vim(?).
Any help or direction
Howard Glynn wrote:
snip
I wondered whether there was a plugin somewhere that was able to
abbreviate or
partially hide the detail so i can see the overall structure more
clearly. In essence I
would like to collapse huge (single) lines of tags to something like
a id=xyz
href=/img ... -
Brian E. Lozier wrote:
In the old gvim, doing a search (/something) highlights all
something in red. In gvim 7, it doesn't highlight all occurrences.
Is there a way to turn this back on?
I suspect that you may be having problems because you made changes to
files in
files in your former
Ian Young wrote:
I have a couple questions to start things off. First: I couldn't see
much need for 'fuzzy matching' in Vim, but some of you are probably
much better acquainted with regexp use cases than I am. Would this be
a useful feature to have available?
As you likely know, fuzzy
onesupermanone wrote:
I am a newbie at using gvim. I am using gvim ver 6.4 on linux. I wanted to
set up the flist tree on my machine. Dr Chip initially wrote this script.
The explaination is at the following site
mysite.verizon.net/astronaut/vim/index.html under title C/C++ Functions:
John Beckett wrote:
A.J.Mechelynck wrote:
What about a different function to return, say, the number of
1K blocks (or the number of times 2^n bytes, with a parameter
passed to the function) that a file uses?
Yes, that's a much more general and better idea.
Since there's probably not much
A.J.Mechelynck wrote:
I'm not sure what varnumber_T means: will st.stsize (the dividend) be
wide enough to avoid losing bits on the left?
varnumber_T is int (long if an sizeof(int) = 3).
st.stsize 's size depends on whether 32bit or 64bit integers are available.
So, its possible to lose
A.J.Mechelynck wrote:
Yes, yes, but before the division, will it be able to hold the file
size? (sorry, I meant st.st_size) Will mch_stat (at line 10134, one
line before the context of your patch) be able to return huge file
sizes?
mch_stat is variously defined, depending on o/s.
Under
Eric Smith wrote:
When I am in vim, I can edit a file after selecting form the explorer,
however
I can only :read a file if I use
Nread
I'm not sure what you mean by this -- :r file works normally. If the
file is an url
style: :r ftp://somehost/path/to/file then netrw will read the
Robert M Robinson wrote:
That brings me to my question. I have noticed that when editing large
files (millions of lines), deleting a large number of lines (say,
hundreds of thousands to millions) takes an unbelieveably long time in
VIM--at least on my systems. This struck me as so odd, I
John Beckett wrote:
Peter Palm wrote:
http://www.vim.org/scripts/script.php?script_id=1506.
Indeed, among other things, this disables the swap file for
'large' files, which should really speed up things.
I was going to report the following issue to vim-dev after I got
a chance to
shawn bright wrote:
hello all,
Is the enter key on the numeric keypad different than the enter key of
the keyboard?
i was thinking that it would be super handy to map it to gg. I have a
lot of long files to mess around with.
I believe the NumLock key modifies the behavior of the number pad
[EMAIL PROTECTED] wrote:
My point is :
The following should be added to line 81 of pi_netrw.txt version 2007 May
08.
:let loaded_netrwPlugin = 1
If DrChip thinks the document should not change, then the netrwPlugin might
have to be changed to still recognize the loaded_netrw variable.
Harlan Harris wrote:
Hi, I'm using a freshly compiled version of Vim 7.1 on a RedHat
Enterprise Linux 4 (U5) machine. In both this version of Vim, and in
the factory-installed version (6.3), there is a weird behavior where
the b key, which sends the cursor back a word, has an annoying
delay.
David Rennalls wrote:
Hi,
I'm having some trouble getting netrw v109(vim 7.1 win WinXP)
working with scp.
:Nread scp://[EMAIL PROTECTED]:/etc/hosts
..results in the following errors.
**warning** (netrw) unable to comply with your
requestscp://[EMAIL PROTECTED]:/etc/hosts
Enclosing the URL
fREW wrote:
Hey everyone,
How do I have a function call Normal commands? Example: I'd like to
make a function that will open a certain file, and then set the
foldlevel to 1, and then go to the right window. So I have:
function TodoListMode()
execute :e ~/.todo.otl
execute :Calendar
Gary Johnson wrote:
On 2007-05-10, Brian E. Lozier [EMAIL PROTECTED] wrote:
In vim 6, a line at the bottom would show the column the cursor is
over, so I could see like, colymn 79 or whatever. On vim 7 (gvim,
more specifically), the status line at the bottom doesn't show up. Is
there a
[EMAIL PROTECTED] wrote:
When opening a file in vim, the cursor will move to the last position when
the file was saved.
The feature is enabled by some autocommands in vimrc_example.vim, I
copied the code into my .vimrc and use it in all platform.
It really does work in my WindowsXP gvim,
Toon Knapen wrote:
Is there a list-administrator also listening in ?
I have tried to unsubscribe a zillion times now and I'm still on
this list. I would appreciate if the ml-admin could help me out here.
Somewhat modified version of what Tony M sent awhile ago...
Unsubscribing from
shawn bright wrote:
Hey there all,
i really dig the zz function to get me in the middle of the screen.
i was wondering if there were an insert mode ability to do the same
thing.
So if i am writing a long function and get to the bottom of the screen
i can move where i am at to the middle of
Yakov Lerner wrote:
I 'set ve=all' and selected a rectangle with Ctrl-V.
How can I move this rectangle up/down left/right with arrows ?
With DrawIt v8d, you can move a selected rectangle about with your mouse.
Here's the relevant portion of the help for DrawIt:
ctrl-leftmouse
One may
Gary Johnson wrote:
On 2007-05-02, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
Yakov Lerner wrote:
I 'set ve=all' and selected a rectangle with Ctrl-V.
How can I move this rectangle up/down left/right with arrows ?
With DrawIt v8d, you can move a selected rectangle about
[EMAIL PROTECTED] wrote:
After upgrading I now get
Error detected while processing function MenuExplOpen:
line4:
E316: ml_get: cannot find line 9
Press ENTER or type command to continue
E316: ml_get: cannot find line 9
Error detected while processing function SNR15_Highlight_Matching_Pair:
Viktor Kojouharov wrote:
It turned out that these mappings broke the arrow keys in the terminal:
inoremap expr Esc pumvisible()?\C-E:\Esc
inoremap expr CR pumvisible()?\C-Y:\CR
inoremap expr Down pumvisible()?\C-N:\Down
inoremap expr Up pumvisible()?\C-P:\Up
inoremap expr
ben lieb wrote:
This might have been discussed before, but how can I open a file
remotely in vim?
Via, ftp, ssh, etc.
vim ftp://host/path/to/file
vim scp://host/path/to/file
Both of these use the netrw plugin, BTW. Both may ask you for
passwords, although
one can work around that
Andrew Falanga wrote:
I'm doing some reading on vim.org in the documentation areas and found
that the ability to browse a directory from within a buffer is
actually accomplished by plugins rather than being built into the vim
binary. I didn't know this. So, what plugin is it that accomplishes
George wrote:
I'd like to get the 'sh' filetype syntax highlighting working on
FreeBSD. The following (supported) constructs, for example, show as
errors.
Read :help sh.vim
and set one of the variables mentioned there in your .vimrc.
Regards,
Chip Campbell
[EMAIL PROTECTED] wrote:
Occasionally when I press ALT+W,X
I get some errors in the command line
E316: ml_get: cannot find line 1
Press ENTER or type command to continue
E316: ml_get: cannot find line 9
E316: ml_get: cannot find line 1
Press ENTER or type command to continue
E316: ml_get:
Zhaojun WU wrote:
Just found that after I updated the manpageview.vim plugin
(http://www.vim.org/scripts/script.php?script_id=489)
to the latest one, pressing K in some codes like printf(foo),
when the cursor is under the word printf, will show me an error
message like:
***warning***
David Howland wrote:
A.J.Mechelynck wrote:
You mean if the buffer is displayed it would do nothing?
No. Delete the buffer, but keep the window open.
I often find myself in this situation:
- Split window, two buffers open.
- Open a new file, look at it, then want to close it.
- i would
Hale Boyes, Kevin wrote:
How do I search in a document to the next line that doesn't contain a
specific string? Something along the lines of grep -v.
I suggest trying the LogiPat plugin. To do what you're asking with it:
:LP !string
It takes Boolean logic (!=not |=or =and ()s ) plus
Peter Michaux wrote:
And now I see that VIM doesn't need more features...
http://www.vim.org/soc/ideas.php
May I suggest taking a look at:
http://vim.sourceforge.net/sponsor/vote_results.php
Regards,
Chip Campbell
OnionKnight wrote:
* Is it possible to make the cursor stay at it's position even after
scrolling it out of view?
Not at the current time.
* At the beginning of an indented line, why does normal mode put the cursor
at the end of the first tab whereas insert mode is position at the
[EMAIL PROTECTED] wrote:
Mahesh Sivasubramanian/Lex/Lexmark
04/11/2007 10:57 AM
To
Yakov Lerner [EMAIL PROTECTED]
cc
vim@vim.org
Subject
Re: remote-silent and stdin
Sorry I wasn't clear last time. I am trying to redirect the output of
stdin to a remote client(not necessarily ls). Like if
Ian Tegebo wrote:
On 4/9/07, Nikolai Weibull [EMAIL PROTECTED] wrote:
The manSubHeading is defined as
syn match manSubHeading ^\s\{3\}[a-z][a-z ]*[a-z]$
This will, however, match more lines than I think is intended. It
will, for example, match the line
\t returns are what are
Nikolai Weibull wrote:
On 4/9/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
In this case, by looking at syntax/man.vim, its: Gautam H. Mudunuri
gmudunur AT informatica.com.
Actually, this was actually the wrong maintainer. Gautam was the
previous maintainer of this file. Nam
Jon Combe wrote:
The following snippet of code, when saved with a .pl file extension
breaks the colour coding in Vim
#!/usr/bin/perl -w
my $surname = ABC-DEF GHI;
@split = split ( / |-|\/|\/ , $surname , -1 );
foreach ( @split )
{
print $_\n;
}
Informationen wrote:
Hi,
how can I identify a single line no longer than e.g. 60 characters
preceded and followed by a blank line via regexs. This way I want to
identify section headings. What I did was mark every blank line with
%s/^$// and than chomp the CR %s/\n//g and if the text
Dudley Fox wrote:
Hello Vim List,
I have used vim for a while, and though no expert I am fairly
comfortable with the common commands. Recently I ran into a situation
where I just couldn't find a way to do a search and replace. I was
hoping some of you experts could help me out.
Starting text:
Nikolai Weibull wrote:
The manSubHeading is defined as
syn match manSubHeading ^\s\{3\}[a-z][a-z ]*[a-z]$
This will, however, match more lines than I think is intended. It
will, for example, match the line
\t returns are what are recorded and compared with the data git keeps
where
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
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
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
Panos Laganakos wrote:
One thing that would also be great, was if you were able to tab your
way out of it, ie move to the outside of the bracket, once you're
done. Now you need to either press right, to move ahead (which is not
quite vim-ish), or hit escape and Shift_A, to resume editing.
Only
fREW wrote:
Is there a way to change the completion menu colors?
Sure - see http://vim.sourceforge.net/scripts/script.php?script_id=1081
which both displays the current colors in whatever colorscheme you're using,
plus provides a colorscheme editor (just rightmouse click on a color).
The
frank wang wrote:
Does anyone know how to do it?
The hdrtag program will do it:
http://mysite.verizon.net/astronaut/src/index.html and click on hdrtag.
Regards,
Chip Campbell
Waters, Bill wrote:
Does anyone have experience with running gVim and using Cygwin commands (ex.
indent)? I would prefer not to run vim in a Cygwin terminal, unless someone
has all of the configurations needed (syntax highlighting, etc) to have that
act like gVim.
I generally compile
oskar wrote:
I have a vim script which I want to use to search replace a part out of a
given line. The fields in the line are based on field length and the field I
want to change starts at position 33 and ends after 4th character.
A regex search is not appropriate, as the string I am looking
Marv Boyes wrote:
Hello, all. This is going to seem painfully basic, I'm sure, but I
haven't been able to find an answer elsewhere.
I often use Vim to edit files over a network, and I have an
unfortunate propensity for mis-typing my passwords on the first try.
Also unfortunately, I find
Peng Yu wrote:
Suppose I have horizontal splited window1 and window2, is there any
way to change them into vertical split and vice versa?
See
http://vim.sourceforge.net/tips/tip.php?tip_id=862 How to toggle
between all vertical and all horizontal window layout
Regards,
Chip Campbell
Nikolai Weibull wrote:
On 1/1/07, Asiri Rathnayake [EMAIL PROTECTED] wrote:
On Mon, 2007-03-19 at 11:55 +0100, Nikolai Weibull wrote:
On 3/19/07, Asiri Rathnayake [EMAIL PROTECTED] wrote:
Hi Bram, Nicolai,
A 'k' would be greatly appreciated.
I'm really really sorry, won't happen
Brian Neal wrote:
I just downloaded the non-Cream pre-built Vim for Windows (version
7.0.215). The go up command (-) in the Netrw plugin no longer seems
to work. Neither the - command or putting the cursor over the ../ and
hitting return does anything anymore. Any ideas? Thanks.
Please try
Michael Phillips wrote:
Would someone please explain the usage of @=. I am getting confuse from the
help file.
Since TimC gave a good explanation, I won't attempt to repeat it.
However, if you're wanting to do Boolean-logic pattern matching, please
check out LogiPat, available at my
Simon Jackson wrote:
I have a problem when i am in visual mode and i have text highlighted.
Instead of being able to run a command, it just overwrites my selected
text instead. im sure its because of something in my vimrc but i just
cant pinpoint it, can anyone help?
Would you please give an
Kevin Old wrote:
After reading this, I think I should ask it a different way. I'll
want to set my filetype to html so that it gets the functionality from
HTML.zip, but would like to keep my mason syntax highlighting. To get
this to work, each .html file I open I have to execute :set
Hello!
In order to prevent spam, some sort of verification procedure seems to
be necessary.
Vim's website already supports accounts; would requiring one to log
into a vim account before making tips or add-ons to tips help?
A verification step for account privilege (apply for account - mail
Afton Lewis wrote:
How would I search for a regex within a particular area? The text
document is very long, and I don't want to match all instances, just
those I care about. I would probably select the text visually.
With vis.vim, a plugin available from:
Mike Blonder wrote:
Hi.
I periodically need to make changes to a script built with tab
delimited values. What I need to do is, from time to time, to either
add 1 to a value or to subtract 1 from the same value. Typically the
script looks like:
ln 1 $10 != { printf ((moodlook $10 }
Robert Hicks wrote:
Is there a size limit that one should set as a ceiling for syntax file
size?
Engspchk uses some rather large syntax files for its dictionary.
Especially if you're using keywords, syntax file size isn't likely to be
a problem.
Regards,
Chip Campbell
John Doe wrote:
How to control the vim 'console' from programs like the tetris and other
games written for vim? Of course, I could look in the source, but am
confused from it? Are there multiple ways to accomplish this?
I don't see any other replies, so here goes: I'm not sure what you're
John Doe wrote:
Oh, thank you for your reply:
I wanted to know how to _program_ the vim 'console', from a script: the
general direction on how to do it: I know how to obtain the number of
columns and rows, but how about how to write a specific char to a
specific location, also is it possible
Kim Schulz wrote:
I just tested it to see if I could get it to work, but I have some
problems.
I inserted the following
int foo;
uint8_t bar;
TIME baz;
int hello=world;
and then followed you instructions (used \tsp), but the result
afterwards is:
int foo;
uint8_t
Vincent Beffara wrote:
So here is my question. I have a bibliography in a .bib file, which
(just in case) is just a plain text files containing entries that each
look like this :
@article{key,
author = {Whatshisname, J.},
title = {My paper}
}
(note the '@' at the beginning of the first line
Tom Purl wrote:
There is one thing to mention about parsing tips. Are we going to put
the additional comments to the wiki? There are many useful comments but
there are also many useless junk.
It would be _lots_ of work to look at every comment and see if they're
useful or not.
What are your
durgaprasad jammula wrote:
I just need some help on vim configuration.
Let say the file is good.text. I open the file and goto 66 line and come out
by typing :wq in escape mode.
Now, when I open it again, my cursor is placed in line 0. I want it to be
placed in line 66.
I am
Pavel Shevaev wrote:
On 2/21/07, DervishD [EMAIL PROTECTED] wrote:
Hi Laurent :)
Unfortunately, I still have problems using 'h' :(
That's my biggest problem at the moment as well, as a blind typer i
can't get used to it...oh, i think i just should stop whining and
exercise more ;)
Bill McCarthy wrote:
BTW, as an enhancement request, could AN be enhanced to look
for leadermap when it fails to find charmap? That is,
if I want to load the align maps:
AN \abox
doesn't work. I would need to type:
AN leaderabox
If you happen to have (as an example)
let
-indent* *.vim-syntax*
Copyright: (c) 2004-2007 by Charles E. Campbell, Jr.*dotvim-copyright*
The VIM LICENSE applies to dotvim.vim and dotvim.txt
(see |copyright|) except use dotvim instead of Vim
No warranty, express or implied. Use At-Your-Own-Risk
Bin Chen wrote:
Can VIM configured to reload the opened file in a constant interval?
Not easily; there's no such configuration options.
However, I suspect that there may be two if not more ways to do this:
* use an outside process on a multitasking o/s to ping vim using
remote_send()
[EMAIL PROTECTED] wrote:
I d/l'd and cofigured vim7.x (latest) as follows...
./configure --prefix=/vimpath --enable-gui
Should this enable gvim?
I did a make install, and
cd /vimpath/bin
ln -s vim gvim
When I start gvim, I get
E25: GUI cannot be used: Not enabled at
Sibin P. Thomas wrote:
Hi all,
I am stuck in one of my scripting attempts!
The context :
Suppose I want to delete the string bio from the following line The
biosphere is huge and I want to do it in this way -
/biosCR
vCR
//eCR
dCR
Now I want to do the same thing, but
Martin Krischik wrote:
Hello,
I often use little vim scripts using vim -E. Now like all executable
vim will return a result code after execution.
And it is often false which I don't want. Does anybody know how to
influence the return value from vim -E?
:q :wq :q! -- these are
Denis Perelyubskiy wrote:
in version 7.0.188 (I am on windows xp, us) nothing works when I select
'..' when browsing a directory. has anyone seen this? is this something
peculiar to my installation, a bug, or a feature?
I suspect that you need a recent version of netrw.
To get an
Matthew Winn wrote:
Text editors don't do encryption and never should.
How else would you ensure that you can have encrypted text _without_
the need to temporarily store a plaintext copy of the file?
Pipe the text through to an external encryption tool, such as pgp.
Assuming your
The idea would be to leave the undo list alone, so that when the undo
table gets updated next it'll have a bigger change.
Regards,
Chip Campbell
Nikolai Weibull wrote:
On 1/29/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
The idea would be to leave the undo list alone, so that when the undo
table gets updated next it'll have a bigger change.
What do you mean? From the very short description it sounds like your
describing
Hello!
The following is a note that I sent to Scott Johnston; perhaps people
have woken up and decided in large groups that they really like my
tips, :) but:
For the third time since January 15, I've seen tip storms in karma
rating changes.
Here's the latest one (Jan 22, 2007):
Denis Perelyubskiy wrote:
Thanks. While I can't tell what went wrong by just eye-balling the
patches, I did find that the problem results from netrwPlugin.vim.
Basically, netrw registers this autocommand:
au BufEnter .* silent! call s:LocalBrowse(expand(amatch))
When it is executed on a
Yongwei Wu wrote:
On 1/18/07, Charles E Campbell Jr [EMAIL PROTECTED] wrote:
FYI -- this is a list of my tips that still have link spam added as
comments/notes:
I'm sure that they're not the only ones.
It is really annoying. In the worst case, there are 12 spam notes in a
tip! I needed
Alpt wrote:
On Thu, Jan 18, 2007 at 08:15:37AM -0500, Ross A. Osborn:
~ On Thu, Jan 18, 2007 at 01:58:40PM +0100, Alpt wrote:
~
~ How is it possible to push something in the tag stack without jumping?
~
~ Would mapping the combination of CTRL-TCTRL-O do what you want?
No, because the user
Hello!
FYI -- this is a list of my tips that still have link spam added as
comments/notes:
126
139
147
150
152
167
200
411
573
588
607
622
744
862
895
I'm sure that they're not the only ones.
Regards,
Chip Campbell
Bram Kuijper wrote:
anybody a solution to easily enclose parts of text using visual mode?
You can get the latest vis.vim from
http://mysite.verizon.net/astronaut/vim/index.html#VIS
or a more stable version from:
http://vim.sourceforge.net/scripts/script.php?script_id=1195
and use it
A.J.Mechelynck wrote:
Charles E Campbell Jr wrote:
OK, with all that:
vim -U NONE -c set nocp|so $HOME/.vim/plugin/netrwPlugin.vim -c
so scp://HOSTNAME/.vimrc
Rather than -U NONE (i.e., no gvimrc) shouldn't that be -u NORC
(i.e., with small u: don't source $HOME/.vimrc but do source
Nikolaos A. Patsopoulos wrote:
Hi,
I would like to delete all end of lines (\n) inside a given pattern
that runs through a text. The pattern is like this:
PubmedArticle
text1 \n
text2 \n
text3 \n
text4 \n
text5 \n
text6 \n
... \n
PubmedArticle
Does
Ramashish Baranwal wrote:
Hi,
I would like to know how to define file specific settings (based on
file extension/type). I would prefer modifying my .vimrc file instead
of language specific .vim files. I am trying to achieve something
like-
if file-extension is .c or .cpp
# expand tabs to
Nikolaos A. Patsopoulos wrote:
Ηι,
I'm want to group a text that has the following text pattern (values
and number of lines vary across instances):
PMID16893921/PMID
Volume164/Volume
Issue7/Issue
Year2006/Year
ISOAbbreviationAm. J. Epidemiol./ISOAbbreviation
ArticleTitleImplications of
Hello, Scott!
I mentioned how there were lots of garbage notes that have been
appended to nearly all tips; as an example, I gave out tip#1. I see
that the garbage has been cleaned from tip#1, but tips #12-1393 also
need cleaning. Seems like it needs some automation to do it, especially
if
Silva, Paulo wrote:
Nope, that didn't helped much.
But no worries, the simple replace when visual is still selected works
fine.
I gess I'll never know why, but then again it dosen't matter really if I
can do it some other way.
In that case, you may wish to consider vis.vim -- it allows you
John Cordes wrote:
I have *very* little experience writing 'map' commands for my
.vimrc (Linux). For some years I've had the following two
commands for reformatting with the par utility.
reformat paragraph with no arguments:
map ** {!}par^M}
reformat paragraph with arguments:
map *^V
John Cordes wrote:
On [2007-01-09 at 10:50am] Charles E Campbell Jr [EMAIL PROTECTED] wrote:
John Cordes wrote:
They both work well, but I frequently would like to run par
on a visual selection. I naively tried
vmap *^V {!}par
but this fails with the message (when I try * 55
Tim Chase wrote:
Thanks for the response. I usually would be using Shift-V to
select the lines for formatting; I take it vis.vim wouldn't
work in that case?
Heh, Dr. Chip answered the other half of my response. :)
Normal ranges operate linewise. Dr. Chip's vis.vim plugin overcomes
this
Silva, Paulo wrote:
Greetings,
I'm trying to do a replace in a selection.
After selecting the area, with v, directional keys, v again (or not -
both give the same result).
Then I type
:%s/\%V20/21/
and I get:
E71: Invalid character after \%
This works the same with any caracter that I put
Suresh Govindachar wrote:
(snip)
Enter following text:
if(1)
{
/* --- {{{3 */
}
Now try to jump between { using %.
Bug: The { in the manual fold-markers interferes with %-jumping.
[comments on using the matchit plugin]
% is a feature of Vim -- I am not
Peng Yu wrote:
gvim a b
The above command will open a and b. But only one file will be show at
one time. How to show them in to split windows?
Tim already showed how to open the two files in split windows by
modifying the command above.
However, if one has already typed gvim a b and then
Hello!
Looks like the spammers have been adding their pollution to the tips.
Our (unfortunately) hardworking tip inspectors have been getting rid of
new spamtips, but the spammers have now started using the Additional
Notes process. I note that many of my own tips seem to have four or
more
[EMAIL PROTECTED] wrote:
Hi vimmers, I've got some question when writing my syntax highlight script.
Q1.
The language requires a ^M character as a keyword. The ^M character is by
default highlighted but I want to highlight it to some other color, at
least it should be different from ^L and
1 - 100 of 335 matches
Mail list logo