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: ` 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: 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: 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: 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: RFC: (x)html completion support in Vim7

2006-04-24 Thread Benji Fisher
for new files. HTH --Benji Fisher

Re: Mappings fail me, yet again

2006-04-24 Thread Benji Fisher
functions) then you do not have to hit CR after entering your motion. It is not entirely smooth, and adding silent does not help much, but please tinker. HTH --Benji Fisher fun! Dummy(mode) endfun fun! Gat() call inputsave() silent let mtn = GetMotion

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: 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: 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: Possible utf-8 bug

2006-04-18 Thread Benji Fisher
. I have no idea why it would fail for you... There was a problem like this, specifically with encoding=utf8, but it was fixed several versions ago. Srinath, can you post your full :version output? HTH --Benji Fisher

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: 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: 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

:!gvim does not work

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

Re: :!gvim does not work

2006-04-13 Thread Benji Fisher
On Thu, Apr 13, 2006 at 09:16:17AM -0700, Yegappan Lakshmanan wrote: Hi Bram, On 4/13/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Benji Fisher wrote: I just tried :!gvim and all I got was Vim: Caught deadly signal SEGV Vim: Finished. Command terminated

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: weird LaTeX highlighting in updated vim6.4

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

<    1   2   3