--Benji Fisher
--Benji Fisher
. Perhaps you missed my previous
note on this thread since I changed the subject line.
HTH --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
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
-2.4.0-1
so I guess I am using GTK2 2.4.0.
HTH --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
\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
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
want.
Bram: Can you add a link to 'formatexpr' from the docs for
'textwidth'?
HTH --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
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
--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
reliable it is, but searching for the Maxima
assignment operator (I assume that is what := is.) looks like a
possibility.
HTH --Benji Fisher
be able to tweak this to get a
rectangle.
HTH --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
me to
Visual mode instead of Normal mode. AFAICT this is undocumented.
HTH --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
autocommand is not
triggered when vim first starts up. This should work:
autocmd VimEnter,BufEnter * silent! lcd %:p:h
HTH --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
--Benji Fisher
version are you using.
HTH --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
: move the line
set history=100
to the end of your vimrc files.
HTH --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
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
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
you have? Does
:hardcopy temp.ps
work?
HTH --Benji Fisher
that mean that the problem is solved now?
HTH --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
the patch to the author of
this script.
HTH --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
HTH --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
the context menu and when started normally.
:scriptnames
:echo $VIM
:echo $HOME
:echo $VIMRUNTIMEjust in case, why not?
HTH --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
there with instructions.
HTH --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
--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
to this plugin so that I know exactly what script you are using.
HTH --Benji Fisher
this sort of task:
http://www.vim.org/scripts/script.php?script_id=294
HTH --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
need to know
which one you tried.
HTH --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
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
[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
. 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
' . paste#paste_cmd['n'] . 'gi'
---
let paste#paste_cmd['i'] = 'xBSEsc' . paste#paste_cmd['n'] . 'gi'
HTH --Benji Fisher
CRNN?Up
else
cmap PlugNext Nop
endif
return
endfun
The other direction is left as an exercise.
HTH --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
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
the current version and send the browser a command to re-load
the file.
HTH --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
).
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
--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
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
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
for future reference, you can use
:scriptnames
to help diagnose this sort of problem.
HTH --Benji Fisher
in the docs:
:au FileChangedShell * let v:fcs_choice=(v:fcs_reason=~e$)?:ask
HTH --Benji Fisher
--Benji Fisher
PROTECTED]/
HTH --Benji Fisher
. Look at the plugin and search for the
BMShow function.
HTH --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
'ff'
HTH --Benji Fisher
diagnosis.
HTH --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
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
--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
(xterm or gnome-terminal for
example) is grabbing these keys instead of letting vim process them.
HTH --Benji Fisher
--Benji Fisher
any file ending in .c as a
C file and apply the settings from ~/.vim/ftplugin/c/c.vim .
HTH --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
,
it automatically inserts the range ',' .
HTH --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
be affected, but
they might be god enough.
:help :noautocommand
:help 'eventignore'
HTH --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
? cpo?
:help 'compatible'
:help 'cpo'
HTH --Benji Fisher
of the new features in vim 7.0 will help here.
:help getpos()
:help setpos()
HTH --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
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
'
:help 'includeexpr'
See, for example, the ftplugin files for plaintex and tex.
HTH --Benji Fisher
the maintainer of ftplugin/php.vim .
HTH --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
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
them for any problems, but it is too early to make that
decision now.
HTH --Benji Fisher
--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
(%) =~? '\.exe$' | bdel | endif
(Optional spaces added because I find it more readable that way.)
HTH --Benji Fisher
--Benji Fisher
machine. We may all
have to re-subscribe.
HTH --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
.
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
--Benji Fisher
weird. Maybe you have some other breakpoint defined?
:breaklist
I cannot reproduce this problem with $VIMRUNTIME/optwin.vim .
HTH --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
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
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 - 100 of 231 matches
Mail list logo