Thus spake Eric Arnold on Mon, May 01, 2006 at 12:19:41AM -0600 or thereabouts:
<[EMAIL PROTECTED]> [2006-05-01 02:38]:
> Do you have these set?
>
> setlocal formatoptions+=bcroqan2t " better without w
> setlocal linebreak
>
Not that I know of.
I tried:
:set ?formatoptions
:set ?formato
Hi,
Is there a way for a script to determine, whether a certain
key-shortcut is used in any mode ?
Kind regards,
mcc
Thus spake Gary Johnson on Sun, Apr 30, 2006 at 11:18:00PM -0700 or
thereabouts: <[EMAIL PROTECTED]> [2006-05-01 02:38]:
> On 2006-05-01, cga2000 <[EMAIL PROTECTED]> wrote:
>
> [...]
>
> > Now, after doing the above a number of times I began to think there must
> > be a better way to handle this
Do you have these set?
setlocal formatoptions+=bcroqan2t " better without w
setlocal linebreak
On 4/30/06, cga2000 <[EMAIL PROTECTED]> wrote:
When writing email messages I use the following settings:
:set wrap
:set textwidth=72
Say, I do the following:
1. I enter insert mode
2. I st
On 2006-05-01, cga2000 <[EMAIL PROTECTED]> wrote:
[...]
> Now, after doing the above a number of times I began to think there must
> be a better way to handle this type of situation:
>
> 1. When I end up with (4) above, is there a better strategy than using
>'J' to join line #2 and line #3 .
When writing email messages I use the following settings:
:set wrap
:set textwidth=72
Say, I do the following:
1. I enter insert mode
2. I start to type the following introductory text:
I am writing this short email message to ask the friendly and
highly competent folks at vim@vim.org fo
On Mon, 1 May 2006, Michael Naumann wrote:
Is there a way to highlight a sequence of non-tabs followed by a sequence
of tabs (/^[^\t]\+\t\+/) differently from the next such sequence?
For example in the line
a\tb\t\tc\td
I want
"a\t" to be color1,
"b\t\t" to be color2 and
"c\t" to be col
On Sun, 30 Apr 2006, Yakov Lerner wrote:
On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
On Sun, 30 Apr 2006, Yakov Lerner wrote:
> On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
>> On Sun, 30 Apr 2006, Yakov Lerner wrote:
>>
>> > On 4/30/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>> >
Thus spake Eric Arnold on Sat, Apr 29, 2006 at 04:43:56PM -0600 or thereabouts:
<[EMAIL PROTECTED]> [2006-04-29 18:55]:
> Have you seen the "fold-expr" section?
>
> EXPR *fold-expr*
>
> The folds are automatically defined by their foldlevel, like with the
In every beta of gVim I've tried on Linux/GTK2 (through 70g) I get the
following error with :hardcopy :
E673: Incompatible multi-byte encoding and character set.
This is with utf-8 and latin1. My binary is feature-full, it includes
everything except:
-ebcdic -footer -gettext -hangul_input -
This works great!
Thanks
Eddy
2006/5/1, Yakov Lerner <[EMAIL PROTECTED]>:
On 4/30/06, Eddy Zhao <[EMAIL PROTECTED]> wrote:
> Very often, when I
> - snip some notes from web
> - paste them into an empty buffer
> - yank the key sentence as filename
> - then try to :write
>
> Vim report "E77:
Is there a way to highlight a sequence of non-tabs followed by a sequence
of tabs (/^[^\t]\+\t\+/) differently from the next such sequence?
For example in the line
a\tb\t\tc\td
I want
"a\t" to be color1,
"b\t\t" to be color2 and
"c\t" to be color3 (or probably color1 again)
Is this eve
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 'nocom
On 2006-04-30, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
> > The 'compatible' option is one that clobbers settings, but for a good
> > reason. It determines whether Vim should work like Vi, or take on the
> > modern Vim capabilities. It's a big swi
Announcing: Vim (Vi IMproved) version 7.0g BETA
This is the last BETA release of Vim 7 (hopefully). The last few days
there have been too many changes to do a release. This is the last
chance to report problems. It would be very disappointing to discover a
problem just after sending out the
On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
On Sun, 30 Apr 2006, Yakov Lerner wrote:
> On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
>> On Sun, 30 Apr 2006, Yakov Lerner wrote:
>>
>> > On 4/30/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>> >> > :help 'compatible'
>> >> >
>> >> > wher
On Sun, 30 Apr 2006, Russell Bateman wrote:
Gerald Lai wrote:
On Sat, 29 Apr 2006, Tomasz Kalkosi???ski wrote:
Hello
This is a good idea! I have a couple of suggestions:
(1) HiLink txtString Normal
The highlight for alphabetic text may be too strong if linked to
Identifier.
Yes, it is l
On Sun, 30 Apr 2006, Yakov Lerner wrote:
On 4/30/06, Eddy Zhao <[EMAIL PROTECTED]> wrote:
Very often, when I
- snip some notes from web
- paste them into an empty buffer
- yank the key sentence as filename
- then try to :write
Vim report "E77: Too many file names". How can the spaces
in
Really, Gerald, I think you put these screens shots up here just to draw
attention to your interesting backgrounds!
;-)
Russ
Gerald Lai wrote:
On Sat, 29 Apr 2006, Tomasz Kalkosi�ski wrote:
Hello
This is a good idea! I have a couple of suggestions:
(1) HiLink txtString Normal
The highli
On Sun, 30 Apr 2006, Yakov Lerner wrote:
On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
On Sun, 30 Apr 2006, Yakov Lerner wrote:
> On 4/30/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>> > :help 'compatible'
>> >
>> > where (among other things) you can find the warning
>> >
>> > This
On 4/30/06, Gerald Lai <[EMAIL PROTECTED]> wrote:
On Sun, 30 Apr 2006, Yakov Lerner wrote:
> On 4/30/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
>> > :help 'compatible'
>> >
>> > where (among other things) you can find the warning
>> >
>> > This is a special kind of option, because when
On 4/30/06, Eddy Zhao <[EMAIL PROTECTED]> wrote:
Very often, when I
- snip some notes from web
- paste them into an empty buffer
- yank the key sentence as filename
- then try to :write
Vim report "E77: Too many file names". How can the spaces
in filename be automatically escaped when I sa
On Sun, 30 Apr 2006, Yakov Lerner wrote:
On 4/30/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> :help 'compatible'
>
> where (among other things) you can find the warning
>
> This is a special kind of option, because when it's set or reset,
> other options are also changed as a sid
Very often, when I
- snip some notes from web
- paste them into an empty buffer
- yank the key sentence as filename
- then try to :write
Vim report "E77: Too many file names". How can the spaces
in filename be automatically escaped when I save the file?
Thanks
Eddy
On 4/30/06, Bram Moolenaar <[EMAIL PROTECTED]> wrote:
> :help 'compatible'
>
> where (among other things) you can find the warning
>
> This is a special kind of option, because when it's set or reset,
> other options are also changed as a side effect. CAREFUL: Setting or
> rese
1. Fold all lines in a file that contain only comments.
I think some others on the list posted some ideas
here--particularly the syntax-folding.
You don't mention what language you're using...the syntax
definition may already provide it. Alternatively, you might
be able to make a foldexpr
Kyku wrote:
> I get a SEGV signal after doing the following in Vim 7.0f05 under Linux
> (both console and gtk2):
>
> 1) start vim
> 2) :tab help
> 3) :bd
There was a problem in the 7.0f05 version that may cause a crash when
closing the current window if it's the last one in a tab page. It
wil
Benji Fisher wrote:
> On Sun, Apr 30, 2006 at 05:38:34PM +0200, Meino Christian Cramer wrote:
> > result:
> >
> > set nocompatible
> >
> > sets
> >
> > set history=20
> >
> > .
> >
> > Why this is implemented that way and why one has to debug step
> > through his .vimrc to find out
Hi Kyku,
On 4/30/06, Kyku <[EMAIL PROTECTED]> wrote:
Hello,
I get a SEGV signal after doing the following in Vim 7.0f05 under Linux
(both console and gtk2):
1) start vim
2) :tab help
3) :bd
Yes. This problem/crash was introduced in the 7.0f04 version.
This should be fixed in the next versio
Hello,
I get a SEGV signal after doing the following in Vim 7.0f05 under Linux
(both console and gtk2):
1) start vim
2) :tab help
3) :bd
Yours,
Kyku
From: Benji Fisher <[EMAIL PROTECTED]>
Subject: Re: History and "set history=xx"
Date: Sun, 30 Apr 2006 12:02:11 -0400
> On Sun, Apr 30, 2006 at 05:38:34PM +0200, Meino Christian Cramer wrote:
> > result:
> >
> > set nocompatible
> >
> > sets
> >
> > set history=20
> >
> > .
> >
> >
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
> >
On Sun, Apr 30, 2006 at 05:38:34PM +0200, Meino Christian Cramer wrote:
> result:
>
> set nocompatible
>
> sets
>
> set history=20
>
> .
>
> Why this is implemented that way and why one has to debug step
> through his .vimrc to find out isn't obvious to me. And I fear,
> I am not the
Hello everybody,
I have been using vim for a couple years, and I'll go on using this
great piece of software.
I've just subscribed to this mailing list in order to learn something
new about my favourite editor. Probably I'll only lurk, but I wanted to
greet everybody and to thank the developers fo
From: Benji Fisher <[EMAIL PROTECTED]>
Subject: Re: History and "set history=xx"
Date: Sun, 30 Apr 2006 09:04:28 -0400
> On Sun, Apr 30, 2006 at 02:16:23PM +0200, Meino Christian Cramer wrote:
> > From: "Yakov Lerner" <[EMAIL PROTECTED]>
> > Subject: Re: History and "set history=xx"
> > Date: Sun,
Yakov
I've tried similar way before. It works, but the window flashes when I'm saving
(because the buffer switches between dummy and "this")
which is not very decent.
:w:e
works simple and great !
Thanks
Eddy
2006/4/30, Yakov Lerner <[EMAIL PROTECTED]>:
On 4/30/06, Eddy Zhao <[EMAIL PROTECTED
On 4/30/06, Eddy Zhao <[EMAIL PROTECTED]> wrote:
At some point, I want to permanently save the buffer with out the
possibility of
accidentally undo the changes I've made (this happens sometimes). How
can I clear
the undo stack (without leaving the current buffer). Or any other simpler way of
achi
Great tip and super fast reply ! : )
Thanks Bryce
2006/4/30, Bryce Wagner <[EMAIL PROTECTED]>:
Eddy Zhao wrote:
> At some point, I want to permanently save the buffer with out the
> possibility of
> accidentally undo the changes I've made (this happens sometimes). How
> can I clear
> the undo s
I'm using minibufexpl.vim 6.3.2. The configuration like below
let g:miniBufExplorerMoreThanOne=0
When I
- open only one file
- move cursor to minibufexpl
- use 'd' to close that file buffer
Problem happens
- minibufexpl window disappears (which should be persistent on)
- the file buffer not c
At some point, I want to permanently save the buffer with out the
possibility of
accidentally undo the changes I've made (this happens sometimes). How
can I clear
the undo stack (without leaving the current buffer). Or any other simpler way of
achieving this?
Thanks
Eddy
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, col 2. Hit ^V or (^Q whichever works).
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, col 2. Hit ^V or (^Q whichever works). Type kkll
> >> until you've highlighted
> >> abc
> >>
I did try running depends before I posted.. trying to depends profile
explorer is quite noisy though. :)
It was finding a msvcr80.dll from my SQL 2005 installation. The dll was
identical to the one in my MSVC CRT redist directory though. I tried copying
the redist file into my system32 path b
On Sun, Apr 30, 2006 at 02:16:23PM +0200, Meino Christian Cramer wrote:
> From: "Yakov Lerner" <[EMAIL PROTECTED]>
> Subject: Re: History and "set history=xx"
> Date: Sun, 30 Apr 2006 14:41:58 +0300
>
> > How about this.
> > (1) Add this
> >
> > echo "11 history=".&history
> >
> > to yo
On Sat, Apr 29, 2006 at 12:11:29PM -0700, Chen Long wrote:
> Thank you. I tried them. Only the command for colorscheme doesn't
> work. After I start Vim, I can change the color scheme by typing
>
> :colorscheme darkblue
>
> But if I put it into .vimrc. It doesn't work.
>
> Long
It is con
From: "Yakov Lerner" <[EMAIL PROTECTED]>
Subject: Re: History and "set history=xx"
Date: Sun, 30 Apr 2006 14:41:58 +0300
> On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > From: "Yakov Lerner" <[EMAIL PROTECTED]>
> > > On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
On 4/30/06, shello <[EMAIL PROTECTED]> wrote:
Is there any quick way to move to the end of the line in insert mode ?
i map a key to do that
: inoremap $a
But it doesn't work ! Where is my mistake?
There is no mistake. does not work on some terminals.
Try control-keys, or Fn keys, or key if y
On Sun, Apr 30, 2006 at 14:33 +0300, Yakov Lerner wrote:
>
> For me, In virtual terminal on Linux, Ctrl-F1 sends same
> sequence as F1. Accordingly, vim responds to Ctrl-F1 as
> if I pressed F1.
>
> Yakov
I think the problem is really caused by this. But the binding
:map
doesn't work neither
Is there any quick way to move to the end of the line in insert mode ?
i map a key to do that
: inoremap $a
But it doesn't work ! Where is my mistake?
Thanks in advance.
On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
From: "Yakov Lerner" <[EMAIL PROTECTED]>
> On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > In my ${HOME}/.vimrc I
> > set history=100
> > after restarting vim I did
> >:set history
> > output is
> > 2
On 4/30/06, Anton <[EMAIL PROTECTED]> wrote:
On Sun, Apr 30, 2006 at 14:11 +0300, Yakov Lerner wrote:
> In x11, it's possible that window manager intercepts Ctrl-FN.
> For example, my WM (kde) binds Ctrl-Fx to workspace switch.
> So application doesn't get it. You need to unbind it from WM first
From: "Yakov Lerner" <[EMAIL PROTECTED]>
Subject: Re: History and "set history=xx"
Date: Sun, 30 Apr 2006 14:14:11 +0300
> On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
> > in the help there is mentioned:
> >
> > Use the 'history' option to set the number of lines that are rememb
On Sun, Apr 30, 2006 at 14:11 +0300, Yakov Lerner wrote:
> In x11, it's possible that window manager intercepts Ctrl-FN.
> For example, my WM (kde) binds Ctrl-Fx to workspace switch.
> So application doesn't get it. You need to unbind it from WM first.
>
> Also depends on configuration of termina
On 4/30/06, Akbar <[EMAIL PROTECTED]> wrote:
I want to install this script:
http://www.2072productions.com/?to=phpindent.txt
install details:
Just make sure the name of the file is php.vim and copy it under your
vimfiles/indent folder.
PHP syntax coloring must be turned on.
But where is the vim
On 4/30/06, Meino Christian Cramer <[EMAIL PROTECTED]> wrote:
in the help there is mentioned:
Use the 'history' option to set the number of lines that are remembered
(default: 20).
In my ${HOME}/.vimrc I
set history=100
after restarting vim I did
:set history
output is
2
On 4/30/06, Anton <[EMAIL PROTECTED]> wrote:
I found such a problem:
I can't use key combinations with functional keys, so I can't map
something on Ctrl+F9 for example. If I map it on Ctrl+
everything works.
In help I found that such a binding should look like
:map
But if doesn't work. Where is
cga (?) wrote:
> > Weird. I can't reproduce it.
> >
> > What version of Vim?
>
> VIM - Vi IMproved 6.3 (2004 June 7, compiled Jul 30 2005 12:40:41)
> Included patches: 1-71, 81-82
> Compiled by [EMAIL PROTECTED]
[...]
> > What system?
>
> Linux turki 2.4.27.060305-2 #1 Sun Mar 5 03:40:55
On Sun, Apr 30, 2006 at 04:13 -0600, Eric Arnold wrote:
> This should work, unless your keyboard does not send control-funckey combos.
>
> map :echo 'hi'
>
> BTW, in insert mode, if you hit ^v or matbe ^q then any key, it will
> show you the fornat to use for thar key.
>
Yes, ^V really helped.
Hi,
in the help there is mentioned:
Use the 'history' option to set the number of lines that are remembered
(default: 20).
In my ${HOME}/.vimrc I
set history=100
after restarting vim I did
:set history
output is
20
How can I set the numbers of lines to be remembered by
This should work, unless your keyboard does not send control-funckey combos.
map :echo 'hi'
BTW, in insert mode, if you hit ^v or matbe ^q then any key, it will
show you the fornat to use for thar key.
On 4/30/06, Anton <[EMAIL PROTECTED]> wrote:
I found such a problem:
I can't use key combi
I found such a problem:
I can't use key combinations with functional keys, so I can't map
something on Ctrl+F9 for example. If I map it on Ctrl+
everything works.
In help I found that such a binding should look like
:map
But if doesn't work. Where is my mistake?
Hi,
I want to install this script:
http://www.2072productions.com/?to=phpindent.txt
install details:
Just make sure the name of the file is php.vim and copy it under your
vimfiles/indent folder.
PHP syntax coloring must be turned on.
But where is the vimfiles directory?
$ locate vimfiles
nothi
On 4/29/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
I put undojoin as the first line in a function which is called by a
CursorMoved autocommand.
Then when ever the function is called, I get the message:
E790: undojoin not allowed after undo
I assume this is because there are parts of the fun
On Sat, 29 Apr 2006, Tomasz Kalkosi?ski wrote:
Hello
This is a good idea! I have a couple of suggestions:
(1) HiLink txtString Normal
The highlight for alphabetic text may be too strong if linked to
Identifier.
Yes, it is linked to Identifier. The point is that Normal text is usually
64 matches
Mail list logo