Hello all,
I am trying to compile vim with gui support on Mac OS X 10.2, but it doesn't
seem to work. I use
./configure --enable-gui=auto
And this is the only line of output I get containing the word 'gui':
...
checking --enable-gui argument... no GUI support
...
Do I need to install
Hi,
I'm having trouble using the #vim channel on irc.freenode.net and the Wiki FAQ
isn't operational at the moment. I've registered my nick with nickserv but
still I join #vim and I don't see any conversation happening, does anyone know
if I have left something out?
output of /whois toomuchphp:
Hi,
Just discovered GetLatestVimScripts command, but it doesn't work on my Mac
because I don't have the 'wget' tool. Does anyone know where I could get it
from?
regards,
Peter
regards,
Peter
On Yahoo!7
Dating: It's free t
Hi,
I should probably add this to vim.org as a Plugin or something at some stage.
Drop all this stuff in your .vimrc and then 'gf' will jump to the file + line
number, and 'gsf' will split the window then jump to the file + line number.
===
vim using a filename which doesn't exist?
regards,
Peter
--- Richard Hull <[EMAIL PROTECTED]> wrote:
> --- In [EMAIL PROTECTED], Peter Hodge <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I am trying to compile vim with gui support on Mac OS X
Hi,
So you want something like:
" highlight all var options using this match
syntax match allVarOptions "\%(\s\|^\)\zs-\w\+"
" highlight the keywords within allVarOptions:
" note: because '-' is an iskeyword character, you have to
" use a match instead.
syntax match allVarOptionKeywo
Hello all,
I have recently been given the go-ahead to take over maintenance of the PHP
syntax
file (
http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/2006-May/002857.html
), and have added several modifications, but I'm unable to host the file on my
own web server. Stefano mentioned I
Hello all,
I have recently taken over maintainance of the PHP syntax file which was rather
neglected for around 2 years. PHP is growing quite rapidly and unfortunately
that means that by now there are well over 1700 keywords which need to be
correctly identified, and my next release of the syntax
Hi,
You can achieve this by setting setting foldmethod=marker, which automatically
creates folds at all {{{ and }}} pairs. See :help fold-marker for more
information. Adding to the syntax file should not be necessary.
regards,
Peter
--- Silent1 <[EMAIL PROTECTED]> wrote:
> i added this to
Hi,
According to the help file, the function 'cursor()' should accept 2 or 3
arguments, or a list with 2 or 3 items. However, when I execute this command:
:call cursor([5, 5])
It does *not* move the cursor, even though the equivalent:
:call cursor(5, 5)
... will work. I must provide a 3r
Greetings fellow PHP developers,
You may not be aware that as of a month ago, I have taken up maintenance of the
PHP syntax file for Vim, and the latest versions can be found here:
http://www.vim.org/scripts/script.php?script_id=1571
Version 0.9 (the initial upload) is currently distributed with
Hi Vincent,
An abbreviation cannot begin with a non-keyword character and end in more than
one keyword character, thus ...' instead.
>From the manual:
Examples of strings that cannot be abbreviations: "a.b", "#def", "a b", "_$r"
See ':help abbreviations' for more information.
regards,
Peter
Hi,
Does enabling the legacy code option fix the problem? Try:
:let cobol_legacy_code = 1
:syntax on
and
:help cobol
... for more information.
regards,
Peter
--- "John R. Culleton" <[EMAIL PROTECTED]> wrote:
> At present if syntax is on and the filetype is e.g., cbl and
> the file
Hello all,
I want to make a mapping like this:
:inoremap foreach foreach() {}k$3hi
The end result being that when I type:
foreach
I should get
foreach() {
}
However, if I type anything beginning with 'for', the letters disappear until I
type something that is not part of the mapping.
--- Tim Chase <[EMAIL PROTECTED]> wrote:
> > I want to make a mapping like this:
> >
> > :inoremap foreach foreach() {}k$3hi
> >
> > The end result being that when I type:
> >
> > foreach
> >
> > I should get
> >
> > foreach() {
> > }
>
> Sounds more like you're reaching for an abbr
Hi Hari, Yakov,
Thank you very much for your help! Yakov, thank you for an effective solution,
Hari thank you for providing such a flexible way to use it!
kind regards,
Peter
On Yahoo!7
Dating: It's free to join and check o
Hello,
I do believe that if you 'set verbose=2' and then 'set isk?' vim will tell you
where it was last set. I was having the same problem Saturday night when the
ftplugin/php.vim was adding '$' to isk. I found that adding "set isk-=$" to
~/.vim/ftplugin/php.vim did *not* work, but adding it to
AIL PROTECTED]> wrote:
> Oh. Grr, I hate it when plugins go changing the absolute value of your
> settings. I had a perl_doc.vim ftplugin that was "setlocal
> iskeyword=a-z,A-Z,48-57,:,/,."ing, which must have been being sourced after
> perl.vim.
>
> Thanks, Peter.
>
Hi Ralf,
The colorscheme 'morning' has very little Cyan in it - cyan is the default for
the 'Identifier' group, which is used for $variables and functions().
Just add something like this to colors/morning.vim:
highlight Identifier ctermfg=Red guifg=Red
If you want function calls in a distingu
Hi Bill,
You do not have to program a new colorscheme. If you run this command:
:source $VIMRUNTIME/syntax/hitest.vim
... you will get a window containing all the highlighting colours used by Vim.
There's hundreds of colours listed, but there are prossibly only two that you
want to change, un
Hi Malahal,
You can use ':S' to open a new File Explorer window or ':E' to open file
explorer in the current window.
regards,
Peter
--- [EMAIL PROTECTED] wrote:
> What is the easiest way to edit a file that is in the same directory as
> the current file? E.g. I open a file like this: vim /x/y
Hi Marc,
I am assuming that you have output like this:
---
| Field1 | Field2 | Field3 | Field4 | ... |
---
| Value1 | Value2 | Value3 | Value4 | ... |
---
In which ca
Hello all,
I just want to throw this idea out there as a potential solution to the
problems I am having with the PHP syntax. It would be helpful to be able to
name sequential 'nextgroups' for regions and matches, so that the syntax will
highlight an area using certain groups in specific order. I.
Some GUIs will allow you to use the command
set guifont=*
Which brings up a font selection window. If that works, you can select a font
and then use
set guifont
to find out exactly what to add to your .vimrc
regards,
Peter
--- Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 7/31/06, Robert
Hi Bill,
vimrc is read before plugins, so your au! command in .vimrc can't replace the
AsNeeded autocommand because AsNeeded hasn't been defined yet.
regards,
Peter
--- Bill McCarthy <[EMAIL PROTECTED]> wrote:
> Hello Vim List,
>
> Suppose two plugins define autocmds, so after start Vim,
>
Hi Tien,
You can use ':e[dit]' to reload the current file. Perhaps you could set up
something with an autocommand based on the CursorHold event and reduce the
updatetime to half a second? For example:
set updatetime=500
augroup RefreshFile
autocmd!
autocmd CursorHold somefile.log edit
>
> Thank you very much for the tip. ":e" works so nicely. I will try out those
> commands soon. Should I insert them in my vimrc file ?
>
Hi Tien,
Sorry, it seems I was a little naive with that autocommand I showed you, it
doesn't work because CursorHold won't trigger again until you press a ke
Hi Eric,
I am assuming you want to re-order the columns horizontally, in which case
Visual Block Mode is what you want. Press CTRL+V to start selecting a column,
use 'x' to delete it, and 'P' (upper-case P) to paste it (I find upper-case P
is more logical for Visual Block paste).
HTH,
regards,
P
Hi,
You can use CTRL-E and CTRL-Y to scroll up and down without moving the cursor.
regards,
Peter
--- Eric Leenman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using page-up and page-down to scroll.
> Also ctrl-home and ctrl-end.
> This moves the cursor to the beginning of the line.
> How can th
Hi Yakov,
As far as I can remember, all PHP syntax items begin with 'php', with the
exception of the preg* pattern items (these are only available if you've
downloaded the new PHP syntax from vim.org), and they start with 'preg'. Sorry
I don't have a copy of Vim installed at this location so I ca
Hi Yakov,
--- Yakov Lerner <[EMAIL PROTECTED]> wrote:
> Must be possible using CursorMoves autoevent, except
> that I don't see in syntax/html.vim how is handled.
> Is is indeed in syntax /html.vim ?
PHP stuff is in syntax/php.vim which loads html.vim inside it.
regards,
Peter
Send instant m
Hi David,
If you begin your pattern with '\v', then every character except [_a-z0-9]
becomes 'special'. This allows you to use tokens like '?', '(' and '+' without
a backslash. Unfortunately, you can't use '(?:' and friends.
Maybe there should be a modifier like '\v' which makes the pattern com
Hi Martin,
Unfortunately, I don't think there's any way to use \v by default for every
pattern.
It may help to remember that when you have the default 'magic' option set, Vim
only recognizes 5 special characters without backslash:
^
$
.
*
[ (if there is a matching ] to make a collection
Hello,
I am just curious as to why after/colors/ scripts are disabled instead of
behaving like after/ftplugin and after/syntax scripts?
regards,
Peter
On Yahoo!7
Messenger - Make free PC-to-PC calls to yo
Hello,
Is there any way to make % jump to the correct parenthesis and ignore a '('
inside a single-quoted string? For example:
if('string(string')
Pressing % while the cursor is at the end of the line will jump to the wrong
'('. Is there any way to fix this? The help page on % does not ment
Sorry, disregard last post, % wasn't working because I didn't actually have %
in cpoptions yet.
--- Peter Hodge <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is there any way to make % jump to the correct parenthesis and ignore a '('
> inside a single-quoted s
Hello,
Another way to get around this is to add something like this to your _vimrc:
augroup MyColors
au!
au ColorScheme * highlight Comment guifg=Darkgreen
au ColorScheme * highlight Identifier guifg=Blue
[ ... etc ... ]
augroup end
" execute the commands now in case they aren't tr
Hello Vu,
I don't know the indenting features very well, but I can tell you:
1) I'm not sure that lines are indented after ' wrote:
> I'm very sorry but could you tell me how to indent *.php file in vim7?
> I'm using winXP. I created test.php file, open it and type hit Enter
> But it not inden
Hello Barry,
For PHP, I use a command like ':!php %' (or ':!php "%"' for windows) to run a
file through PHP. From there, it's not hard to set up a mapping ':nnoremap
:!python %' or a menu command ':nnoremenu Python.Run :!python %', or an
auto-command to run the script when it is saved ':autocmd!
Hello,
--- Elliot Shank <[EMAIL PROTECTED]> wrote:
> What I'm trying to do is create a plugin that acts based upon the contents of
> an arbitrary file buffer as soon after it has loaded its contents as
> possible.
>
> For existing files, using a BufReadPost autocmd is fine.
>
> For new file buf
Hi Paul,
You are doing the same as this:
:set highlight <- shows contents of 'highlight' option
:set cursorline <- activates 'cursorline' option
... but in the one command:
:set highlight cursorline <- shows contents of 'highlight' option and
activate 'cursorline' option
Just use 'set cu
Hello,
I don't know what I was smoking last time I posted this question, but it
definitely is not working for me now: If I have the following code:
if('string(string')
and I press % while the cursor is on the last ')', it correctly jumps to the
first '('. But, if I change the quotes to singl
Sorry,
In my example I meant to use
if("string(string")
and not
if('string(string')
because double-quotes DO work, single-quotes do not.
- Peter
--- Peter Hodge <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I don't know what I was smoking
Hey,
Thanks for that important clue. It seems the secret to making it work is in
the values of the b:match_skip and b:match_words variables. Thank you, this
problem has been bugging me for a while.
regards,
Peter
>
> Addendum: It depends on the 'filetype' and possibly on whether %-jumping
>
--- Tim Chase <[EMAIL PROTECTED]> wrote:
> > Is there a way to highlight unmatched strings for " and ' in a syntax file?
>
> What is an "unmatched string"?
Here's two matches which will find a string that extends to the end of the
line:
syntax match Error /"\%(\\.\|[^"]\)*$/
syntax match E
Hello Jorge,
The problem is solved if you change this line:
768 sub reloadlist{
to this:
768 sub reloadlist {
It looks as though it is a bug in the perl syntax file. You should send the
maintainer an email with your perl code snippet, and he should be able to fix
it. It probably never ev
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
>
> It doesn't. After pasting into an empty buffer via the clipboard,
> block-deleting the column of numbers (from the left margin up to, but
> not including, the s in "sub" at top and the last } at bottom) and
> setting 'filetype' to perl, I see
--- Jorge Almeida <[EMAIL PROTECTED]> wrote:
>
> It appears there is a bug in the syntax file (see reply by Peter Hodge).
> This brings up the question: How to install a syntax file without
> poluting the distribution system? In gentoo, the file is (for version
> 6.4):
&
Hello all,
Given the following text:
inte
integ
intege
integer
inter
interv
interva
interval
is there any easy way to make these two commands work?
syntax match Error /int\%[eger]/
syntax match Error /int\%[erval]/
The second match begins taking priority as soon as the word
Hello everyone,
Thank you for your help ...
>
> syn keyword Error inte[ger] inte[rval]
>
Unfortunately I need to use matches because the 'words' contain the '.'
character, and I also need to be able to use a look-behind assertion. The
thing is, I wanted to be able to write each match so that
Hello,
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
>
> So, it matches a part-word. Try adding an end-of-word pattern atom \>
> before the ending slash (but after the ending bracket) on each line. You
> wouldn't want "session.cookie_nomatch" to be matched as far as
> "session.cookie_" woul
Hello,
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
>
> If you have found a colorscheme which satisfies you "almost, but not
> completely", copy it to ~/.vim/colors/ under a different name (ending in
> .vim) and modify it there. Then you can set gui=bold for Function or
> cFunction in your
Hello,
Is it possible to run the clientserver feature on Mac OS X? I cannot see
anywhere in the help that directly states that clientserver only runs on
Windows or X11.
regards,
Peter
regards,
Peter
On Yahoo!7
Answers: 25
Hello,
>
> Does this actually work for you? IIRC, "after" colorschemes didn't work
> for me, so I concluded that ":colorscheme foobar" is equivalent to
> ":runtime colors/foobar.vim" not ":runtime! colors/foobar.vim".
>
I'm not quite sure what you mean. 'after' colorschemes had never worked
Hello,
In Vim 6.2, insert-completion would start when I type or , but
it would stop as soon as I used typed another letter or pressed backspace. Now
in Vim 7, when I type or another character, insert-completion does a
'refresh' to give me the complete list of ... er, completions. While this
ma
--- Benji Fisher <[EMAIL PROTECTED]> wrote:
>
> :nnoremap = @='3l'
>
Thank you! I've been trying to figure out how to do that for 2 years.
cheers,
Peter
Do you Yahoo!?
Yahoo! Dating: Get busy flirting with your 7-day fr
Hello,
--- Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
>
> 1.) Splitting line into two from normal mode.
> My current "concept" (hu...great word...;) to split a line into
> two is (starting and ending in normal mode, which is wanted):
>
> i Ctrl-j
>
> A
> Do you have more of these multi-solver tips
> for me, Peter ??? :)))
The Vim Book (http://iccf-holland.org/click5.html#oualline) will get you up to
speed quickly on most of Vim's important features, and teach you how to use
some important tools you might miss otherwise. Most complex commands ca
--- Andrea Spadaccini <[EMAIL PROTECTED]> wrote:
>
> Well.. the vim book is for vim 5.7.. Are there any plans to make a new
> version for vim 7.x?
>
> I would buy it if only it was up-to-date! :)
>
Many of Vim's best features were included in 5.7. It is still a great book to
get you from a nov
Hello,
What * picks up depends on the value of the 'iskeyword' option. It seems as
though your value of 'iskeyword' is including '('. Try ':set isk-=('. Also
have a look at ':set iskeyword?' and ':help iskeyword'.
regards,
Peter
--- Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
--- Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to accomplish three "tricks":
>
> 1.) Suppose you have a source code and have started an new search
>task recently. With "n" you are jumping from match to
>match. Sometimes the "next match" is right on the la
Hello,
> Finally, when spell check is enabled and syntax highlighting is also
> enabled, there vim is highlighting some text in a way that the
> foreground and background colors are the same -- so the text vanishes
> from view. Maybe the solution is to not have syntax and spell
> highlighting ena
Hello,
> I found no way to change Gvim's default highlighting for
> these groups. What I found is a mapping of the groups to
> group names in the setting 'highlight'.
I believe you're supposed to change these default mappings in your .vimrc file,
but unfortunately your changes will get lost as s
Hello all,
I am having trouble with getchar() detecting . If I use getchar(0) or
getchar(1), it will not pick up an keystroke. You can replicate this by
using the command:
:sleep 3 | echo getchar(0)
... and pressing quickly before the getchar() function is called. In GUI
Vim, I correctly
Hello,
> Hi,
>
> when writing a function in vim script sometimes it makes sense to
> change options of vim.
>
> Are these changes local to the function ?
No, they persist after the function is ended. As a simple example, you could
use a function like the following to toggle the 'number' opt
Hello,
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Muhammad Farooq-i-Azam wrote:
> > I have to replace every occurrence of % in a file with
> > % |. I have been effectively replacing text using the
> > following construct:
> >
> > :%s/\/replacement/g
> >
> > However when I try to do the
Hello Aaron,
You could do something like this:
syn match Sel1 /^\.selector/ nextgroup=Items1 skipwhite
syn region Items1 start=/{/ end=/}/ contained keepend
\ nextgroup=Sel2 skipwhite skipempty
hi Sel1 guibg=#44
hi Items1 guibg=#44
syn match Sel2 /^\.selector/ containe
Hello Kamaraju,
The distributed ftplugin file for fortran sets a variable called
'b:fortran_fixed_source' to let the syntax file know how to highlight. The
'bad highlighting' is because the ftplugin file isn't being executed (for some
reason?) and so the syntax defaults to using wrong highlightin
Hello,
You'll need to use syntax commands, and you may need to open up the colour
viewer while you're setting these up. First, to highlight some words using the
existing color groups:
syn keyword Function containedin=ALL word1 word2
syn keyword Statement containedin=ALL word3 word4
syn ke
all .f90 files:
+ let s:extfname = expand("%:e")
+ if s:extfname ==? "f90"
+ let b:fortran_fixed_source = 0
+ else
+ let b:fortran_fixed_source = 1
+ endif
regards,
Peter
--- Kamaraju Kusumanchi <[EMAIL PROTECTED]> wrote:
> On Wednesday 11 October 2006 19:31
>
> Thanks a lot. Your solution works perfectly. One small question. In my
> previous .vimrc, I had this varible called fortran_free_source. Do I need to
> worry about it in ~/.vim/ftplugin/fortran.vim or can I just forget about its
> existence completely?
It shouldn't exist any more once you
--- Panos Laganakos <[EMAIL PROTECTED]> wrote:
> I searched the archives, but didn't find any reference to this.
Google can't find it either, so therefore it can't exist.
> Are there enough people out there users/developers that blog about Vim?
Personally I don't think so, but one way is to set
Hello David,
Can I suggest support for these commands:
:set/setlocal/setglobal
:syntax
:highlight (and maybe :HiLink because it is so commonly used)
Some examples:
set foldmethod=syntax
setlocal formatoptions+=roq
setglobal completeopt-=preview
syntax keyword phpFunction ...
sy
--- Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 10/16/06, Lev Lvovsky <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I've never actually figured out why upon after typing in insert mode,
> > the cursor moves back one character to the left after pressing
> > escape. What's the reason behind this,
--- Tomas Lovetinsky <[EMAIL PROTECTED]> wrote:
> Hi,
> I would like to ask you for help with my problem. I think it is simple but in
> fact I'm not able to
> find the solution as quickly as I need.
> I need to do sometink like
> :s/a/b/g :wq
> It means to substitute, write and close file.
Hello
--- Akbar <[EMAIL PROTECTED]> wrote:
> Hi, I have these words:
>
> 1. I am good
> 2. You sucks!
> 3. Take that, moron
>
> I want to change those sentences into:
> 1. I am good
> 2. You sucks!
> 3. Take that, moron
>
> How do I do that using vim replace command?
> All I can think is this:
> :%
--- Zheng Da <[EMAIL PROTECTED]> wrote:
> Hello.
> I want to open a file, and I know its name, but don't know the path.
> I want to use the command "find". For example I want to open the file
> space.cc, and use the command :find space.cc. I know the file may be
> in the current directory, or the
--- Benji Fisher <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 17, 2006 at 05:43:08AM -0500, Tim Chase wrote:
> > In some text, I've got compound words separated by a single
> > hyphen. For convenience of yanking, I've added the hyphen to my
> > iskeyword setting which works nicely for the most part
Perhaps you could use:
map [ctrl-v][ctrl-left] :tabp
map [ctrl-v][ctrl-right] :tabn
Except instead of typing 'ctrl-v' and 'ctrl-left' literally, you type those
combinations instead. This will map the exact escape sequences that your
terminal is sending.
regards,
Peter
--- J A G P R E E T
--- Gary Johnson <[EMAIL PROTECTED]> wrote:
> On 2006-10-18, eric1235711 <[EMAIL PROTECTED]> wrote:
>
> > Yakov Lerner-3 wrote:
> > >
> > > On 10/18/06, eric1235711 <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Hello
> > >>
> > >> I´m PHP programmer and I started programming in gVim last weak, and I
Hello,
When I have formatoptions=t, it makes comment lines wrap when they shouldn't,
and it also ignores whatever comment leader is defined in 'comments'. To
reproduce:
:set formatoptions=roc
:set comments=b:%
:set textwidth=30
% type these lines of text
% as one line, and notice
%
--- Peng Yu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have the following file segments. I want to concatenate all the
> lines with their next lines, except that it ends with "}}". I want to
> use the pattern "\(}}\)[EMAIL PROTECTED]". It seems not working.
[EMAIL PROTECTED] is the look-ahead asser
Hello,
If you change the background=light, Vim reloads the colorscheme so it has a
chance to give you new colors. But if the colorscheme changes background=dark
again, then Vim knows that the colorscheme isn't capable of picking colors for
a light background. In that case, Vim will just ignore w
--- Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>
> Peter Hodge wrote:
>
> > When I have formatoptions=t, it makes comment lines wrap when they
> > shouldn't, and it also ignores whatever comment leader is defined in
> > 'comments'. To r
Hello,
Can the person responsible please remove this spam from vim.org?
http://www.vim.org/tips/tip.php?tip_id=1367
regards,
Peter
Do you Yahoo!?
Yahoo!7 Time Capsule - Make your mark and be a part of history
http://www.ya
Hello,
I am having trouble with OS X GUI, none of the highlighting is in Bold. Is
this a Bug, or does Bold font just not work in the OS X gui?
regards,
peter
On Yahoo!7
Want to make technology work harder for your busines
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Peter Hodge wrote:
> > Hello,
> >
> > I am having trouble with OS X GUI, none of the highlighting is in Bold. Is
> > this a Bug, or does Bold font just not work in the OS X gui?
> >
> > re
--- Billy Patton <[EMAIL PROTECTED]> wrote:
> I'm in the semiconductor industry. My job is to create data and to run
> regression tests on that data for the validation of physical layout rules.
>
> Skip to bottom for questions, if you don't want to read my ramblings.
>
>
> The current problem
Hello,
I think it depends on what your terminal can understand. One way you can find
it out is to type ':map ' (using command mode), then press CTRL-V and then the
key sequence you want to map. For example, to map CTRL-L you could use ':map
'.
regards,
Peter
--- Zhaojun WU <[EMAIL PROTECTED]
--- Shark Wang <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was agonized by GVim 7.0, the editor always auto changed my cursor
> to next line, when I typed
> with long line ( less than the wrap margin ) or end tag element, such
> as "".
>
> the following is my vimrc, you could see that I had disabled
--- Ricardo SIGNES <[EMAIL PROTECTED]> wrote:
> * Panos Laganakos <[EMAIL PROTECTED]> [2006-11-07T12:59:57]
> > I made a mockup of a refreshed version of vim.org, trying to maintain
> > as much of the original look as possible:
> >
> > http://panos.solhost.org/mockups/vimorg-01.png
> >
> > vim
--- "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote:
> Neil Gabriel wrote:
> >> On 11/9/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
> >> > Neil Gabriel wrote:
> >> > > I did in fact look at that. Reading through the "internal" grep
> >> > > however, I do not see a way of running a recursive search
Hello,
The 'no{option}' options aren't really options, that's just a way of turning
them off. You can use:
if ! &startofline
(do something)
endif
regards,
Peter
--- Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> in a script I want to to something like:
>
> if
--- Troy Piggins <[EMAIL PROTECTED]> wrote:
> * A.J.Mechelynck <[EMAIL PROTECTED]> :
> > Troy Piggins wrote:
> > >I use 'R' replace mode when doing, for example, ascii art etc
> > >because it allows me to change characters without affecting the
> > >layout of the rest of the window/page.
> > >
>
Hello,
Probably the most straightforward way to do this in your ~/.vimrc file:
nnoremap :call CompileScript()
function! CompileScript()
" the name of the current file
let fname = expand('%')
" can't compile unless the file is saved
if &modified
echo printf('Please sav
Hello,
What does a 'php abbreviations configuration script' do?
regards,
Peter
--- KLEIN Stéphane <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I look for php abbreviations configuration script. There aren't ?
>
> Thanks
> Stephane
>
Send instant messages to your online friends http://au.messen
--- Ronald <[EMAIL PROTECTED]> wrote:
> I am new.
> Usually when I am in command mode (I mean when I pressed ESC), the
> cursor shape becomes a block, it is well that when I press `i' or `a'
> the cursor will become a bar at the left or right side of the block.
> But here is a problem, when I wan
gt; 2006/11/28, Peter Hodge <[EMAIL PROTECTED]>:
> > Hello,
> >
> > What does a 'php abbreviations configuration script' do?
> >
> > regards,
> > Peter
> >
> >
> > --- KLEIN Stéphane <[EMAIL PROTECTED]> wrote:
> >
>
Hello Yakov,
One way is to have Vim fold the { } regions. I think this is already set up in
the C syntax, so you just need to ':set foldmethod=syntax'. You may also want
to ':set foldcolumn=4' (or whatever number works for you). Note how the left
side of the display shows you where each fold (e
Hello,
Try:
/^.\{-}home.\{-}\zshome
for your reference:
\{-} makes the '.' match as little as possible
\zs makes the search match begin at this point in the pattern
regards,
Peter
--- zzapper <[EMAIL PROTECTED]> wrote:
> Hi given a sample text below
>
> home
>
> home gg home xxx
>
1 - 100 of 116 matches
Mail list logo