Re: weird LaTeX highlighting in updated vim6.4

2006-04-10 Thread Benji Fisher
--Benji Fisher

Re: bug? abbreviate does not work properly gvim-70d02

2006-04-13 Thread Benji Fisher
--Benji Fisher

Re: a question

2006-04-13 Thread Benji Fisher
. Perhaps you missed my previous note on this thread since I changed the subject line. HTH --Benji Fisher

Re: Vim 7 slows down when highlighting cursor line

2006-04-15 Thread Benji Fisher
' it says, in part, Will make screen redrawing slower. If it bothers you, turn it off ... or get yourself a faster computer. (I figure most people on this list are looking for excuses to do just that. ;) HTH --Benji Fisher

Re: Segv with gvim 7.d and 7.e

2006-04-17 Thread Benji Fisher
for error messages. HTH --Benji Fisher On Sun, Apr 16, 2006 at 11:35:34PM -0400, Eddie Ash wrote: I am running on debian sarge. With the flag prefix=/home/elash1/usr/local I have set the CFLAG to be -DDEBUG but when I run gdb it doesn't find the symbols :( any clue

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-18 Thread Benji Fisher
-2.4.0-1 so I guess I am using GTK2 2.4.0. HTH --Benji Fisher

Re: intermitent SEGV with gvim 6.4

2006-04-18 Thread Benji Fisher
means that all the air is gone. HTH --Benji Fisher P.S. It might help to use :!latex %:r instead of :make, and it may help to re-compile vim with a lower level of optimization than the default. I know there are problems with gcc 4.x on Mac OS X. I think

Re: vim70e - ruby syntax error

2006-04-18 Thread Benji Fisher
\vimfiles\ should contain your own vim scripts, not the ones that come with vim. So I think you need to fix your script. HTH --Benji Fisher

Re: GVim File Dialog -- Remeber last opened directory?

2006-04-19 Thread Benji Fisher
On Wed, Apr 19, 2006 at 12:00:00PM +0200, Bram Moolenaar wrote: Benji Fisher wrote: :set browsedir=last does not generate an error. When I try :browse e I get a similar error: (gvim:30150): libgnomevfs-CRITICAL **: file gnome-vfs-utils.c: line 749

Re: Tweaking linebreaks when using 'textwidth'

2006-04-19 Thread Benji Fisher
want. Bram: Can you add a link to 'formatexpr' from the docs for 'textwidth'? HTH --Benji Fisher

Re: beta 7.0e and cmdline_comp on ubuntu

2006-04-20 Thread Benji Fisher
On Thu, Apr 20, 2006 at 11:45:41AM +0200, Raphael Bauduin wrote: Hi, I have compiled beta 7.0e on ubuntu, but command completion doesn't seem to work. A tab displays ^I. Did I miss something obvious? :set nocp :help 'compatible' HTH --Benji Fisher

Re: search() in vim7

2006-04-24 Thread Benji Fisher
changes to search(), but I think only adding new flags and a new optional argument. :help version7 /search() Onemore question: Is it possible in vim7 to have the tablne to the right or at the bottom? I don't like it when it is above. No. HTH --Benji Fisher

Re: Minor bug :marks col vals?

2006-04-25 Thread Benji Fisher
--Benji Fisher

Re: Insert Visual mode

2006-04-25 Thread Benji Fisher
seen it? Or do you think there should be some such mode? :help vim-modes (For the sake of lurkers: we see -- INSERT --- and so on because we have 'showmode' set.) HTH --Benji Fisher

Re: Distinguishing Maxima (computer algebra) scripts from assembler files

2006-04-25 Thread Benji Fisher
reliable it is, but searching for the Maxima assignment operator (I assume that is what := is.) looks like a possibility. HTH --Benji Fisher

Re: line,col regex works with match not syn match..

2006-04-25 Thread Benji Fisher
be able to tweak this to get a rectangle. HTH --Benji Fisher

Re: Highlight matched string under cursor

2006-04-26 Thread Benji Fisher
use :nnoremap if you want, but :nmap is good enough. If this solution works well for you, please consider posting it as a vim tip: http://www.vim.org/tips/add_tip.php HTH --Benji Fisher

Re: Insert Visual mode

2006-04-26 Thread Benji Fisher
me to Visual mode instead of Normal mode. AFAICT this is undocumented. HTH --Benji Fisher

Re: line,col regex works with match not syn match..

2006-04-26 Thread Benji Fisher
On Tue, Apr 25, 2006 at 11:00:37PM -0600, Eric Arnold wrote: On 4/25/06, Benji Fisher [EMAIL PROTECTED] wrote: I think the problem is that \%5l is a zero-width pattern. I do not know whether the docs say this, or if it is supposed to work this way, but perhaps the point

Re: autochdir doesnt work right

2006-04-27 Thread Benji Fisher
autocommand is not triggered when vim first starts up. This should work: autocmd VimEnter,BufEnter * silent! lcd %:p:h HTH --Benji Fisher

Re: Insert Visual mode

2006-04-27 Thread Benji Fisher
on heavily by many. Does anybody else have an opinion on this? :) I agree that a change like this might break existing scripts. I cannot think of any off hand. HTH --Benji Fisher

Re: ` visual selection -- inconsistent?

2006-04-29 Thread Benji Fisher
--Benji Fisher

Re: the dash and the '.' repeat command

2006-04-29 Thread Benji Fisher
version are you using. HTH --Benji Fisher

Re: How to customize the default display of Vim?

2006-04-30 Thread Benji Fisher
of :scriptnames to see what is going on. If you do not like how it looks, please describe it: for example, what does :hi Normal show? HTH --Benji Fisher

Re: History and set history=xx

2006-04-30 Thread Benji Fisher
: move the line set history=100 to the end of your vimrc files. HTH --Benji Fisher

Re: ` visual selection -- inconsistent?

2006-04-30 Thread Benji Fisher
, but I can't remember exactly what the conditions were. If you want to determine the selected text from a script, I guess the answer is that you should exclude the character at ` if selection == exclusive col(') col(') HTH --Benji Fisher

Re: ` visual selection -- inconsistent?

2006-04-30 Thread Benji Fisher
On Sun, Apr 30, 2006 at 08:36:14AM -0600, Eric Arnold wrote: On 4/30/06, Benji Fisher [EMAIL PROTECTED] wrote: On Sat, Apr 29, 2006 at 04:11:21PM -0600, Eric Arnold wrote: :set selection=exclusive Use this text: 123456 2abcde 3abcde 4abcde 5abcde Go to line 4

Re: History and set history=xx

2006-04-30 Thread Benji Fisher
On Sun, Apr 30, 2006 at 07:03:03PM +0200, Bram Moolenaar wrote: Benji Fisher wrote: There is a remark about this right at :help 'history'. Yes. Bram: Would it be possible for vim to add a note, something like Last set from ~/.vimrc along with 'nocompatible

Re: :hardcopy E673 in gVim on GTK2

2006-05-01 Thread Benji Fisher
you have? Does :hardcopy temp.ps work? HTH --Benji Fisher

Re: :hardcopy E673 in gVim on GTK2

2006-05-01 Thread Benji Fisher
that mean that the problem is solved now? HTH --Benji Fisher

Re: Tabline function sometimes recalled when highlighting set/changed.

2006-05-02 Thread Benji Fisher
Now, starting from Normal mode, I open a new line and type some characters: o The message shows up, and the number increases by 2 each time I add a character. HTH --Benji Fisher

Re: Patch for AsNeeded to define proxy commands

2006-05-11 Thread Benji Fisher
the patch to the author of this script. HTH --Benji Fisher

Re: Python syntax coloring: what are keywords?

2006-05-11 Thread Benji Fisher
if you want. A similar exercise shows that for is colored as a Statement, not a Keyword ... but :hi Keyword shows that Keyword links to Statement. HTH --Benji Fisher

Re: Question about using variable with RegEx counter

2006-05-12 Thread Benji Fisher
HTH --Benji Fisher

Re: [Re: russian]

2006-05-12 Thread Benji Fisher
if there is no such an option for ./configure script. Read the instructions in the comments of src/Makefile . There is an easy way and a hard way. Easy: configure with big features. Hard: edit src/feature.h to define FEAT_KEYMAP HTH --Benji Fisher

Re: $HOME\_vimrc isn't read when file is opened over context menu

2006-05-13 Thread Benji Fisher
the context menu and when started normally. :scriptnames :echo $VIM :echo $HOME :echo $VIMRUNTIMEjust in case, why not? HTH --Benji Fisher

Re: :bd should NOT close the Window

2006-05-13 Thread Benji Fisher
newfile.txt To then immediately get rid of oldfile.txt :bd# ... and if you want an empty buffer, use :enew instead of :bd . As above, you can then do :bd# if you want. I guess I never use :bd myself, so maybe I am missing the point. HTH --Benji Fisher

Re: CVS service resumed?

2006-05-14 Thread Benji Fisher
there with instructions. HTH --Benji Fisher

Re: keymaps in vim7.0, where are they?

2006-05-14 Thread Benji Fisher
On Thu, May 11, 2006 at 09:22:37AM +0200, Andrei A. Voropaev wrote: On Wed, May 10, 2006 at 10:02:59PM -0400, Benji Fisher wrote: On Wed, May 10, 2006 at 10:36:52AM +0200, Andrei A. Voropaev wrote: Hi! I've installed vim 7 from sources. This did the installation for the RT

Re: Syntax Highlighting problem

2006-05-14 Thread Benji Fisher
--Benji Fisher

Re: sourcing vimrc files

2006-05-15 Thread Benji Fisher
Source_vimrc() no need for the !, this should never be read twice. ... BTW, another post on this thread pointed out that your vimrc file knows its own name. As of vim 7.0, this name is also stored in the $MYVIMRC environment variable. HTH --Benji Fisher

Re: issues..compilation,

2006-05-15 Thread Benji Fisher
to this plugin so that I know exactly what script you are using. HTH --Benji Fisher

Re: Replace Insert: Filling in whitespaces till position 15

2006-05-15 Thread Benji Fisher
this sort of task: http://www.vim.org/scripts/script.php?script_id=294 HTH --Benji Fisher

Re: Is there a way to move tabs around via the mouse?

2006-05-15 Thread Benji Fisher
). For the last month or more, Bram has been concentrating on stability rather than adding new features. You will have to wait at least a couple of weeks, maybe several, before you hear from him again. HTH --Benji Fisher

Re: issues..compilation,

2006-05-15 Thread Benji Fisher
need to know which one you tried. HTH --Benji Fisher

Re: not opening correct syntax file for .prg files

2006-05-15 Thread Benji Fisher
,*.cfm set filetype=cf augroup END What am I doing wrong? My first guess is that :au filetype BufRead will give you the hint you need. HTH --Benji Fisher

Re: not opening correct syntax file for .prg files

2006-05-16 Thread Benji Fisher
one. Depending on which comes first, it may make a difference whether you use :setf or :set ft , since the former has no effect if 'filetype' is already set. HTH --Benji Fisher

Re: Tables.

2006-05-18 Thread Benji Fisher
[idx]) ---or--- normal (twtabs[idx] - getpos('.')[2])l --Suresh I already implemented that. See the VarTab() function in foo.vim (my file of example vim functions): http://www.vim.org/script.php?script_id=72 HTH --Benji Fisher

Re: Tables.

2006-05-18 Thread Benji Fisher
. C's Align plugin can do (2) and his DrawIt plugin can help with the rest. http://www.vim.org/scripts/script.php?script_id=294 http://www.vim.org/scripts/script.php?script_id=40 HTH --Benji Fisher

Re: Indentations - possible Vim7 bug [PATCH]

2006-05-18 Thread Benji Fisher
' . paste#paste_cmd['n'] . 'gi' --- let paste#paste_cmd['i'] = 'xBSEsc' . paste#paste_cmd['n'] . 'gi' HTH --Benji Fisher

Re: search next, prev while in /pattern editing

2006-05-18 Thread Benji Fisher
CRNN?Up else cmap PlugNext Nop endif return endfun The other direction is left as an exercise. HTH --Benji Fisher

Re: Vertical selection

2006-05-19 Thread Benji Fisher
. It is different if you start the Visual selection at the right and move left. Second, if you want to append at the ends of the lines, use $ (end of line) while in Blockwise-Visual mode. HTH --Benji Fisher

Re: Split not visible in putty

2006-05-19 Thread Benji Fisher
installed. Let's see: $ rpm -qa | grep vim vim-common-6.2.457-1 vim-enhanced-6.2.457-1 vim-minimal-6.2.457-1 vim-X11-6.2.457-1 (Currently running vim 7.0 compiled myself.) You probably want to get some other RPM's. HTH --Benji Fisher

Re: Tables.

2006-05-19 Thread Benji Fisher
the current version and send the browser a command to re-load the file. HTH --Benji Fisher

Re: FW: Vimspell on mac problems

2006-05-25 Thread Benji Fisher
On Thu, May 25, 2006 at 09:39:37AM -0400, Benji Fisher wrote: On Mon, May 22, 2006 at 06:42:36AM -0700, Furash Gary wrote: My vimspell with 7.0 seems to work okay on the mac os x at first - it shows words with problems, but if I right click and pick a replacement word it crashes. Gary

Re: Jumping to Headline in h1Headline/h1

2006-05-26 Thread Benji Fisher
). You can pop to their description at :help f My advice is to read all of :help motion.txt and then you will be on your way to joining the ranks of vim experts. HTH --Benji Fisher

Re: Copying everything (not the complete line, only the matching pattern) which matches a pattern

2006-05-31 Thread Benji Fisher
--Benji Fisher On Wed, May 31, 2006 at 04:06:20PM +0530, SHANKAR R-R66203 wrote: This will copy the entire line. I do not want to copy the entire line, but just the pattern. -Original Message- From: Vishnu [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 31, 2006 3:53 PM

Re: regex question

2006-06-01 Thread Benji Fisher
know the above format isn't this.) I know I could do it if I could use an expression, but syntax highlighting doesn't allow that, so I'm wondering if I can do it with regex alone. Do you mean like /\dir\%[ectory]/ ? :help /\%[] HTH --Benji Fisher

Re: Copying everything (not the complete line, only the matching pattern) which matches a pattern

2006-06-06 Thread Benji Fisher
Did you try using the Pippo() function from foo.vim , as I suggested in my previous post? http://www.vim.org/script.php?script_id=72 HTH --Benji Fisher On Thu, Jun 01, 2006 at 10:13:22AM +0530, SHANKAR R-R66203 wrote: This is assuming that the each line

Re: E108: No such variable: b:current_syntax (I'm an idiot)

2006-06-06 Thread Benji Fisher
for future reference, you can use :scriptnames to help diagnose this sort of problem. HTH --Benji Fisher

Re: W16 warning message (mode of file...has changed) - can this be turned off?

2006-06-09 Thread Benji Fisher
in the docs: :au FileChangedShell * let v:fcs_choice=(v:fcs_reason=~e$)?:ask HTH --Benji Fisher

Re: comment out block for perl program

2006-06-09 Thread Benji Fisher
--Benji Fisher

Re: negative match pattern, again

2006-06-12 Thread Benji Fisher
PROTECTED]/ HTH --Benji Fisher

Re: Error detected while processing function SNR1_BMShow

2006-06-13 Thread Benji Fisher
. Look at the plugin and search for the BMShow function. HTH --Benji Fisher

Re: feature request: priority=N in :match and in :syn match

2006-06-23 Thread Benji Fisher
tried :set list :match Search /:\k\+/ and some other variants, including matching tabs and EOL. In all cases, the :match highlighting still worked. HTH --Benji Fisher

Re: using vimrc

2006-06-23 Thread Benji Fisher
'ff' HTH --Benji Fisher

Re: Errors when editing via FTP (netrw -- ?)

2006-06-23 Thread Benji Fisher
diagnosis. HTH --Benji Fisher

Re: Man command not working with Vim 7

2006-06-26 Thread Benji Fisher
to figure this out. You can try :redir vimlog.txt :12 verbose Man cvs :redir END and then look at vimlog.txt or send it to the list. HTH --Benji Fisher

Re: Man command not working with Vim 7

2006-06-26 Thread Benji Fisher
m31mstdarg.hm11;8H32mvoidm 36mva_startm(32mva_listm ap, las It looks like some errors followed by the beginning of the man page. Can anyone help me? Thanks. Have a nice day. On Mon, Jun 26, 2006 at 04:47:19PM -0600, Trent Michael Gamblin wrote: Benji Fisher wrote: What version

Re: copy highlighted text to a temporary file

2006-06-27 Thread Benji Fisher
--Benji Fisher

Re: Man command not working with Vim 7

2006-06-27 Thread Benji Fisher
On Mon, Jun 26, 2006 at 10:56:48PM -0600, Trent Michael Gamblin wrote: Benji Fisher wrote: I think this is important, but I do not understand it completely. When I try $ man cvs | col -b | less or simply $ man cvs | less I get a similar error message, Error executing

Re: Not able to switch between tabs on newly compiled vim 7

2006-06-29 Thread Benji Fisher
(xterm or gnome-terminal for example) is grabbing these keys instead of letting vim process them. HTH --Benji Fisher

Re: turning on vim spell in xml documents

2006-07-06 Thread Benji Fisher
--Benji Fisher

Re: set textwidth=80 and c mode

2006-07-07 Thread Benji Fisher
any file ending in .c as a C file and apply the settings from ~/.vim/ftplugin/c/c.vim . HTH --Benji Fisher

Re: Out of sequence messages from python

2006-07-07 Thread Benji Fisher
%s' % command) cw = vim.current.window print cw.cursor normal('1G01l') print cw.cursor EOF and I got (97,1) (1,1) Can you construct a similarly simple example with a more convincing problem? HTH --Benji Fisher

Re: register problem

2006-07-11 Thread Benji Fisher
, it automatically inserts the range ',' . HTH --Benji Fisher

Re: Vim problems on Centos-4

2006-07-11 Thread Benji Fisher
. As a first step toward figuring out the highlighting problems, try :verbose set ft? syntax? in a file where it works and one where it does not. HTH --Benji Fisher On Mon, Jul 10, 2006 at 09:28:59AM +0100, dave--uk wrote: I'm not really convinced

Re: [VIM] Anyway to disable the autocmd group and then enable it?

2006-07-11 Thread Benji Fisher
be affected, but they might be god enough. :help :noautocommand :help 'eventignore' HTH --Benji Fisher

Re: Vim7.0 isntallation in the Unix/Solaris

2006-07-11 Thread Benji Fisher
More precisely, edit src/Makefile . IIRC, there is also a Makefile in the top-level directory. HTH --Benji Fisher On Tue, Jul 11, 2006 at 01:54:44PM +0800, [EMAIL PROTECTED] wrote: Edit the Makefile directly. Hope that helps. -- Sincerely, Pan, Shi

Re: why does this mapping interpret the literal and not work?

2006-07-11 Thread Benji Fisher
? cpo? :help 'compatible' :help 'cpo' HTH --Benji Fisher

Re: Script to surround text with ()

2006-07-11 Thread Benji Fisher
of the new features in vim 7.0 will help here. :help getpos() :help setpos() HTH --Benji Fisher

Re: Error detected while processing BufRead Auto commands for httpd.conf*: E492:Not an editor command. (fix) (Centos-4)

2006-07-11 Thread Benji Fisher
BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,apache.conf*,apache2.conf*,/etc/apache2/*.conf* call s:StarSetf('apache') In fact, a search for auth in my copy of filetype.vim fails. HTH --Benji Fisher

Re: Remapping - how to get the count

2006-07-11 Thread Benji Fisher
not just use C-U in the mapping (after the : ) to clear the command line, then use v:count or v:count1 instead of the second argument? HTH --Benji Fisher

Re: Awareness of python import semantics for [i, etc.?

2006-07-13 Thread Benji Fisher
' :help 'includeexpr' See, for example, the ftplugin files for plaintex and tex. HTH --Benji Fisher

Re: matchit doesn't work for php

2006-07-13 Thread Benji Fisher
the maintainer of ftplugin/php.vim . HTH --Benji Fisher

Re: script installation from remote url

2006-07-13 Thread Benji Fisher
? Thanks Yakov Have a look at $VIMRUNTIME/autoload/spellfile.vim . Since this is already in an autoload file, maybe it should be rewritten to make it more generic. HTH --Benji Fisher

Re: seaching for selected multiline expression

2006-07-13 Thread Benji Fisher
the same error message. What is ^@ ? How can I have \n instead of thes ^@ - characters to make the search work? Thank You Joachim :execute / . substitute(@, \C-J, '\\n', 'g') or :execute / . substitute(@, \n, '\\n', 'g') :help NL-used-for-Nul HTH --Benji

Re: Can't put text with P, but p still works

2006-07-14 Thread Benji Fisher
them for any problems, but it is too early to make that decision now. HTH --Benji Fisher

Re: R: matchit doesn't work for php

2006-07-19 Thread Benji Fisher
--Benji Fisher

Re: Patch for vimtips.vim

2006-07-19 Thread Benji Fisher
. --Benji Fisher P.S. I do not always keep up with this list, and I have set up procmail to sort mail into folders based on the To and Cc lines. I will experiment with filtering on the Delivered-To line. In the mean time, if I do not respond when you have sent

Re: delete buffers matching pattern

2006-07-19 Thread Benji Fisher
(%) =~? '\.exe$' | bdel | endif (Optional spaces added because I find it more readable that way.) HTH --Benji Fisher

Re: test if insert mode

2006-07-19 Thread Benji Fisher
--Benji Fisher

Re: posting to vim

2006-07-19 Thread Benji Fisher
machine. We may all have to re-subscribe. HTH --Benji Fisher

Re: Visible Spaces

2006-07-20 Thread Benji Fisher
scheme with my terminal.) I will choose DiffChange . Second step: :match DiffChange / / Ahh! That looks awful, so :match NONE will get me back to normal. HTH --Benji Fisher P.S. I think that :match NONE only works with vim 7.0, but I think the rest

Re: Awareness of python import semantics for [i, etc.?

2006-07-21 Thread Benji Fisher
. If you get this to work, please send it to the maintainer of ftplugin/python.vim . I think others would like to use it, too. HTH --Benji Fisher

Re: gvimdiff and gvim 7 in windows

2006-07-21 Thread Benji Fisher
--Benji Fisher

Re: debugging with breakadd

2006-07-26 Thread Benji Fisher
weird. Maybe you have some other breakpoint defined? :breaklist I cannot reproduce this problem with $VIMRUNTIME/optwin.vim . HTH --Benji Fisher

Re: please, comment my script

2006-07-26 Thread Benji Fisher
set textwidth=0 endif endfun map C-S :call PySort()CR How about calling it directly from Visual mode? :vmap C-S :C-U PySort()CR === Please, comment! HTH --Benji Fisher

Re: please, comment my script

2006-07-27 Thread Benji Fisher
On Thu, Jul 27, 2006 at 09:34:59AM +0200, Christian Ebert wrote: * Benji Fisher on Wednesday, July 26, 2006 at 22:58:07 -0400: On Tue, Jul 25, 2006 at 12:36:44AM +0400, Pavel Volkovitskiy wrote: map C-S :call PySort()CR How about calling it directly from Visual mode? :vmap C-S :C-U

Re: Ctl key mapping problems

2006-08-01 Thread Benji Fisher
might be going wrong with the Ctl-key mappings? Best, S. :imap C-e C-v092 seems to work. :help i_CTRL-V_digit HTH --Benji Fisher

  1   2   3   >