$PATH.
:help mac-faq
As it says there, the system vimrc files in the versions distributed at
macvim.org/OSX already use this method. The same method should work for
other environment variables ... but AFAIK the only one that matters is
$PATH.
HTH --Benji Fisher
and vim. Do you have a problem with gvim or
with vim running in other terminals? I use gnome-terminal, but I get
the same (expected) result when I try with uxterm.
HTH --Benji Fisher
should have help tags for v_a% . See also
:help matchit-newlang
for how to recognize your custom tags.
HTH --Benji Fisher
ft? syntax?
What do you get? Also, do you have syntax highlighting for other file
types?
HTH --Benji Fisher
will be clearer than my
earlier post.
[snip]
Can you try making the question shorter?
--Benji Fisher
ma right,
then chaining guibg is not going to help. Try
:hi Search ctermbg=14
instead.
:help :hi
in general and
:help highlight-args
in particular.
HTH --Benji Fisher
at it.
--Benji Fisher
.
HTH --Benji Fisher
find the option you did not know existed,
:options
HTH --Benji Fisher
with
disabled menus.
--Benji Fisher
.
--Benji Fisher
.
Thanks for reporting this. In the future, you can make things a
little easier for Bram if you produce a patch, like the one below. For
details on patch format, see my tip at
http://www.vim.org/tips/tip.php?tip_id=618
HTH --Benji Fisher
*** /usr/local/share
, or if the screen
redraws, then I see the bla bla. Aha: this seems to help:
:nnoremap * :execute norm! * Bar redraw Bar echomsg bla blaCR
HTH --Benji Fisher
On Mon, Nov 06, 2006 at 07:28:35PM +0800, Eddy Zhao wrote:
2006/11/6, Benji Fisher [EMAIL PROTECTED]:
[snip]
Part of the problem is that you defined the :map commands with
notation before setting 'nocp'. From another post on this thread, I see
that you want to try this with gvim
in the status line is too terse, you could be a
little fancier. For example,
:set laststatus=2 stl=%{imd?'IM\ disabled':'IM\ enabled'}
HTH --Benji Fisher
Dictionary? Of course, the old
ones would have to be kept around for compatibility for a few releases
...
HTH --Benji Fisher
? I do not use this, so I have no idea what the syntax of the
:VCSVimDiff command is.
HTH --Benji Fisher
-diff windows, I suggest the
following command:
Diffdo command applies :command in all windows where 'diff' is set.
:command! -nargs=+ -complete=command Diffdo
\ windo if diff Bar execute q-args Bar endif
HTH --Benji Fisher
in the first case and preserve in the
second, but I was stuck with termi and preser.
HTH --Benji Fisher
P.S. Has there been a patch that affects this? I am still using vim
7.0.000 .
line up.
Has anyone got any suggestions or am I asking too much from my editor?!
:help 'preserveindent'
:help 'copyindent'
HTH --Benji Fisher
--Benji Fisher
file, then looking at these messages should point to it.
HTH --Benji Fisher
, and it should be
pretty easy to use the same idea for your function. (It just takes a
little :while loop.)
HTH --Benji Fisher
autoload/vimball.vim doc/pi_vimball.txt
plugin/vimballPlugin.vim
Like you, I had some wrong files installed at this point. I
cleaned up with
$ cd ~/.vim
$ rm -i */*[[[*
HTH --Benji Fisher
''
Then follow the links to :keepjumps (in the same file) or
restore-position (different file) and try '' or C-O in either case.
HTH --Benji Fisher
, but it is hard
to find a volunteer to work on this problem. If none of the suggestions
at http://macvim.org/OSX/index.php#FAQ (item #2) then you will have to
wait until someone fixes the problem.
HTH --Benji Fisher
(Problem
Exists Between Keyboard And Vim).
HTH --Benji Fisher
. Is
this a matter of my configuration? Or where is the ` waiting?
On Wed, Oct 25, 2006 at 08:23:40PM +0200, Alexander 'boesi' Bösecke wrote:
Hi
Am 25.10.2006 15:08:23 schrieb Benji Fisher:
[snip]
I suggest typing CTRL-V before the back-tick and before the
space. Just to be sure, I would also try
-in functions,
:help functions
HTH --Benji Fisher
of an index function than a table-of-contents function: it
searches for words (matching a given regular expression) and appends
them to the end of the file, one per line.
/plug
HTH --Benji Fisher
. If you want to use [% with ruby, first get the
latest matchit.vim from
http://www.vim.org/scripts/script.php?script_id=39 .
HTH --Benji Fisher
--Benji Fisher
. Both the web site and his e-mail
address (the latter somewhat obfuscated) are in the comments at the top
of the syntax file.
HTH --Benji Fisher
with u and repeat it with .?
HTH --Benji Fisher
--Benji Fisher
On Fri, Oct 20, 2006 at 03:31:33PM -0400, Benji Fisher wrote:
B. Next version. This is not too hard to do. What viewer do you use?
xdvi maybe?
I forgot: you mentioned Kdvi in an earlier post.
I have not tried it, but there is already a script that translates
various non-ASCII
that
does it.
I suspect you are right, but then the question is where 'acd' was
set. The way to find out is
:verbose set acd?
It is also possible that an autocommand (perhaps from a system vimrc
file) is causing the directory changes.
HTH --Benji
it is less likely
to annoy. So one bails out when 'cp' is set, and the other saves and
restores.
HTH --Benji Fisher
listed suffixes lower priority,
and the second removes them completely.
:help 'suffixes'
:help 'wildignore'
:verbose set suffixes? wildignore?
HTH --Benji Fisher
? . l:pattern . \CR
and
execute normal / . l:pattern . \CR
HTH --Benji Fisher
. In the long run, it is easier to
fix things in your own vim directory.
Thanks,
Uday
HTH --Benji Fisher
use CVS or SVN (and , if so, what command did
you use)?
HTH --Benji Fisher
it on files that matter!
HTH --Benji Fisher
On Sat, Oct 14, 2006 at 03:36:19AM +0200, A.J.Mechelynck wrote:
Yongwei Wu wrote:
Hi Benji,
On 10/12/06, Benji Fisher [EMAIL PROTECTED] wrote:
Perhaps you can package your vim functions as a plugin so that they can
be used without adding anything to the vimrc file.
:help write-plugin
:verbose set fdm?
foldmethod=manual
--Benji Fisher
fdm=marker
:diffsplit bar.txt
do some editing ending in bar.txt
:wq
:diffoff
:set fdm?
foldmethod=manual
This is the expected behavior.
HTH --Benji Fisher
l:ignorecase to access (read and write) the local value of the option.
If the option happens to be global, I do not think using the l: prefix
will cause any problems.
HTH --Benji Fisher
functions as a plugin so that they can
be used without adding anything to the vimrc file.
:help write-plugin
HTH --Benji Fisher
.
HTH --Benji Fisher
:, )
(untested).
HTH --Benji Fisher
about what you are trying to do,
someone can give a more helpful answer.
HTH --Benji Fisher
in
Insert mode (except for a slight delay on some terminals) and actually
goes to Insert mode from Normal mode if you manage to get there.
HTH --Benji Fisher
(+) or not (-):
[snip]
I can confirm the problem. I am cc'ing the vim-mac list. Maybe
someone there can look into it.
HTH --Benji Fisher
with this distinction.) Thus g is used in vim for a wide
variety of commands, with gchar usually meaning some variant of
char. See
:help g
for a list.
HTH --Benji Fisher
--Benji Fisher
the search history.
(It does affect the , and ; commands, though.)
HTH --Benji Fisher
a function to take advantage of local variables.
fun! TabMessage(cmd)
redir = message
silent execute a:cmd
redir END
tab split
put=message
endfun
command! -nargs=+ -complete=command TabMessage call TabMessage(q-args)
HTH --Benji Fisher
be changed for the preview window, but
the Search highlight group is not syntax-based.
--Benji Fisher
in keys(s:abbs)
execute 'iunabbrev buffer' lhs
endfor
let b:myabbrev_set = 0
return 0
else unrecognized parameter
return 1
endif
endfun
HTH --Benji Fisher
for translating umlauts into teX
sequences.
HTH --Benji Fisher
On Mon, Sep 25, 2006 at 12:04:45PM -0300, Matias Grana wrote:
On Tue, Sep 19, 2006 at 08:36:13AM -0400, Benji Fisher wrote:
On Mon, Sep 18, 2006 at 04:47:14PM -0300, Matias Grana wrote:
[snip]
excerpt of .vimrc -
augroup acentos
autocmd
with
setline():
:call setline(', sort(a, MyCmp))
Yes, it can all be done in one line (exercise for the reader).
:help getline()
:help setline()
:help sort()
HTH --Benji Fisher
as such.
What are the three features you miss most from AucTeX?
HTH --Benji Fisher
).
HTH --Benji Fisher
On Thu, Sep 21, 2006 at 04:32:31PM -0700, Max Dyckhoff wrote:
Addendum:
You actually have to drag with the mouse. Just double clicking on a
word will not cause this erroneous behaviour. [1-4]-clicking and then
dragging will make
--Benji Fisher
your log files come from? Are you using a script to
compile vim? If you tell me what you do to configure and build, I can
try to reproduce the problem.
HTH --Benji Fisher
:
:helpgrep [EMAIL PROTECTED]
HTH --Benji Fisher
--Benji Fisher
with
older versions of vim, you can see how this is done in the Mark()
function defined in foo.vim, my file of example vim functions:
http://www.vim.org/script.php?script_id=72
HTH --Benji Fisher
in .tex and are not being recognized as LaTeX
(i.e., the 'filetype' option is not being set to tex) then the
simplest solution is probably to add the line
let tex_flavor = latex
to your vimrc file. See
:help ft-tex-plugin
HTH --Benji Fisher
On Fri, Sep 15, 2006 at 01:37:57PM +0100, Edd Barrett wrote:
On 15/09/06, Benji Fisher [EMAIL PROTECTED] wrote:
I think the decision of
whether to include the p tags should be based on principles of logical
mark-up: are these naturally paragraphs?
This depends upon if you are writing
the cursor somewhere other than
at the start of the match.
HTH --Benji Fisher
for the
contribution.
HTH --Benji Fisher
: variable.
I agree that a List of patch numbers would be convenient. You can
test for a specific patch with has(patch86).
:help has-patch
HTH --Benji Fisher
.
--Benji Fisher
On Wed, Sep 06, 2006 at 02:15:36AM +0200, A.J.Mechelynck wrote:
Benji Fisher wrote:
Now that the problem has been pointed out, I think the patch should
be made in the official distribution. How about (simple but oh, so
clever)
let plist = split(matchpairs, '.\zs.')
which
On Wed, Sep 06, 2006 at 11:54:23AM +, Yakov Lerner wrote:
On 8/7/06, Benji Fisher [EMAIL PROTECTED] wrote:
Let me take this opportunity to try once again to drum up support
for an idea that I have proposed before. IMO it is too restrictive to
make options (such as syntax
with
multibyte characters? Are these even allowed in 'matchpairs'?
HTH --Benji Fisher
P.S. cc'ed to vim-dev for further discussion
--Benji Fisher
, your setting pairs ? with : and = with ; .
The matchparen plugin uses the 'matchpairs' option as well. For more
details,
:help 'matchpairs'
HTH --Benji Fisher
with
multibyte characters? Are these even allowed in 'matchpairs'?
HTH --Benji Fisher
P.S. cc'ed to vim-dev for further discussion
On Sat, Sep 02, 2006 at 01:36:06AM +0300, Ilya wrote:
Benji Fisher wrote:
On Fri, Sep 01, 2006 at 09:36:55AM +0300, Ilya wrote:
David Brown wrote:
[...]
However, tex.vim frequently will enclose large sections of the document
within a region and the cweb.vim which the webCRegion
set the EDITOR as vi , everything works. Any clues ?
-Ujjal
I think the problem is that, by default, gvim forks and immediately
returns control to the calling process. Try setting EDITOR to vim or
to gvim --nofork.
HTH --Benji Fisher
.
Is there another trick to not select any of the choices?
I get the same behavior on Linux (FC2). In vim (not gvim),
:echo confirm(Save changes?, Yes\nNo\nCancel, 0)
echoes 0 if I hit CR without making a choice.
HTH --Benji Fisher
synIDattr(synID(line(.), col(.), 1), name)
IIUC, synIDattr() always returns a syn-match or syn-keyword group.
It does not tell you whether you are in a syn-region.
HTH --Benji Fisher
On Tue, Aug 29, 2006 at 09:16:41PM +0200, Stefano Zacchiroli wrote:
On Tue, Aug 29, 2006 at 03:06:39PM -0400, Benji Fisher wrote:
I do not think there is any reliable way to distinguish between
plain TeX and LaTeX. After my RFC, I decided to treat plain TeX as the
default, since
to the list because some
server between my ISP and the vim-dev list is on its blacklist.
Do you have any plans to move the vim mailing lists to a new
server, where you (or someone more responsive) has administrative
control?
--Benji Fisher
Yes, b:match_skip is relevant here. The matchit default is to skip
strings and comments (unless you use % starting inside a string or
comment). The matchit script relies on the syntax mechanism to
recognize strings and comments.
HTH --Benji Fisher
more common now. I suggest adding
let tex_flavor = latex
to your vimrc file.
HTH --Benji Fisher
vim functions, foo.vim :
http://www.vim.org/script.php?script_id=72
This one is pretty old: I wrote it before there were such things as
buffer-local mappings and ftplugins.
HTH --Benji Fisher
(if they exist) as well as your personal vimrc files on the two
systems.
HTH --Benji Fisher
variables that control its behavior.
HTH --Benji Fisher
files. It does not matter whether you have installed the help files
with :helptags . Does this explain what you see?
HTH --Benji Fisher
that. So if you
want 'a\b', use 'a\\b' and if you want 'a\\b', then use 'ab'.
$0.02 --Benji Fisher
P.S. I cannot resist tweaking a vim function:
command! -nargs=* XX :call Test(f-args)
fun! Test(...)
echo XX: .a:0. args(
echo XX: a:0 args(
Both :echo
, then fixing the first problem will fix the second.
HTH --Benji Fisher
insert_text()CR
which solves the problem as the cursor doesn't jump out, but isn't
there a cleaner way to do this?
This is slightly simpler:
imap \sf xBSc-o:call insert_text()CR
HTH --Benji Fisher
Vim does a lot of optimization of regular expressions, but I do not
know how it would perform in this case. I would just try it and see.
If it does not work well, that would be a good reason to try :syn match
instead of :match .
HTH --Benji Fisher
On Sun
?
HTH --Benji Fisher
vim to treat different sections of a
file as having different file types. Examples:
* code snippets in an e-mail
* PHP in an HTML file (or vice-versa)
* perl/python/ruby inside a vim script
* comments, text, and math inside LaTeX/plain TeX/conTeXt
--Benji
--Benji Fisher
1 - 100 of 231 matches
Mail list logo