Hi All,
Kind of a wierd problem, but when I start 'vim -g' from IRIX64 version
6.5, when I'm logged in from my MacBook Pro (running X11) I get a bus
error. This does
not happen when initiated from my PC running X.
Any ideas what the problem might be? Thanks.
The vim version info and stack trace
Hello all,
How do I prevent the jumplist from getting modified in a scratch window
(buftype = nofile)? I can remap all of the keys that cause the jumplist to be
modified like this:
for k in [G, n, N, L, M, H]
exec nnoremap buffer silent k :keepjumps normal! k.cr
endfor
But that will
Alexey Froloff wrote:
There is bug in vim...
According to :help :map-alt-keys :
By default Vim assumes that pressing the ALT key sets the 8th bit
of a typed character.
This is wrong for 8-bit non-ascii locales. Example:
:imap M-i something
maps CYRILLIC CAPITAL I (in KOI8-R
* Bram Moolenaar Bram@ [061020 23:04]:
Read again: Vim _assumes_ the Alt key sets the 8th bit.
What about GVim?
If this doesn't happen, then you need to map the character that
is produced instead of M-x.
So, M-x is a shortcut for (x | 0x80)? This is not right. Not
_always_ right. In
Many windows apps support a clipboard pasting format of HTML. This is
how you can copy code in Visual Studio 2005 and paste it into outlook
and see syntax highlighting.
I recommend something similar be done for VIM. Today, we have toHTML,
that's reasonable, but ideally we'd able to yank as HTML.
Alexey I. Froloff wrote:
* Bram Moolenaar Bram@ [061020 23:04]:
Read again: Vim _assumes_ the Alt key sets the 8th bit.
What about GVim?
When Bram talks about Vim without specifying Console or GUI version, he means
all of them unless the opposite is obvious from the context.
If this
On 10/20/06, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Akbar wrote:
Hi, I use vim7 ( compiled from source )
This is my situation:
open bla.rb
def bla ( type def bla, enter )
print bla( type two spaces and print bla, enter )
print bli ( no need to type two
hi,all
I don't know how to say that.
I just remember that I can type [ control - a ] before a number
to let it add 1, for example let 1 change to 2.
But it doesn't work in gvim 7.0 for windows.
Is there any other method to do that?
thank you very much.
Li
I remember someone posting a patch to add a new event called GetChar to
receive an event for every keypress. This trick is not as powerful and
flexible as that, but it can be very useful for a plugin, and is
supported in Vim7.0 with no patches.
Often there are questions on this list on how to
李 俊燕 [EMAIL PROTECTED] 写于 2006-10-20 14:17:55:
hi,all
I don't know how to say that.
I just remember that I can type [ control - a ] before a number
to let it add 1, for example let 1 change to 2.
But it doesn't work in gvim 7.0 for windows.
Is there any other method to do that?
thank you
vim wrote:
Hi everobody,
I recently had a very similar conversation with three guys on #vim
(irc.freenode.net).
Basicaly, there is two official help for Vim:
- the vimtutor
- :help
And that's basically it.
:help being your Vim dictionnary/encyclopedia/bible, it's very complete
and
vim [EMAIL PROTECTED] 写于 2006-10-20 15:50:36:
Hi everobody,
I believe that there is room between vimtutor and :help to have some
beginner to intermediate tutorial that will take you by the hand and
bring you through the Vim universe in a nice and easy way.
There already is one close to your
Hi all,
I would like to know if by any chance, someone here have the same
screen problem (this is not a vim problem) :
I uses screen under rxvt-unicode, in my .vimrc, I map the Shift-Up key
combination like this:
noremap ^[[a zc
I also have another declaration that doesn't works with rxvt :
On Thu, Oct 19, 2006 at 11:26:53PM -0700, Hari Krishna Dara wrote:
[snip]
imap buffer silent expr F12 Double(\F12)
function! Double(mymap)
try
let char = getchar()
catch /^Vim:Interrupt$/
let char = \Esc
endtry
exec BPBreakIf(char == 32, 1)
if char == '^\d\+$' ||
that would be very interesting
I´m a little lazy, I like to learn things quickly. I really found that
something is missing between the first tut and :help universe.
I also like the idea of making people discover new things and understand
why-it-works...
vim-2 wrote:
Hi everobody,
I
Great.
Yeah it always bothered me that there's no way to monitor every keypress
unless you map every key, which is quite ugly.
--Matt
On Thu, Oct 19, 2006 at 11:26:53PM -0700, Hari Krishna Dara wrote:
I remember someone posting a patch to add a new event called GetChar to
receive an event
Meghdad Azriel wrote:
that would be very interesting
I´m a little lazy, I like to learn things quickly. I really found that
something is missing between the first tut and :help universe.
I actually appreciate the idea of making people discover new things and
understand
On 10/18/06, Gary Johnson [EMAIL PROTECTED] wrote:
The way to fix this problem is to create two new directories:
$VIM\vimfiles\after
$VIM\vimfiles\after\ftplugin
on Windows or
~/.vim/after
~/.vim/after/ftplugin
on Unix. Then create a new file in the after/ftplugin directory
From: Hari Krishna Dara, Fri, October 20, 2006 2:26 am
Often there are questions on this list on how to capture every key
press from a user, and the answer is that it can't, unless you map
all keys. But even if you map all keys, it is not flexible enough.
Here is a trick with recursive expr
On Fri 20-Oct-06 1:17am -0600, ? ?? wrote:
I don't know how to say that.
I just remember that I can type [ control - a ] before a number
to let it add 1, for example let 1 change to 2.
But it doesn't work in gvim 7.0 for windows.
Is there any other method to do that?
It works fine, as does
Dnia piątek, 20 października 2006 08:26, Hari Krishna Dara napisał:
Here is a demo that shows how to use it in insert mode. What the
function does is to double every key you press, except Esc and C-C,
when it breaks the loop.
If world could be so beautiful...
In Linux terminal and GTK2
For some reason, using to indent a line of code no longer works correctly!
Repro steps:
1. Press
2. Observe appear in the command line where pending commands live
3. Watch nothing happen
4. Press another key (esc, a, whatever) and watch the indent happen
5. It looks like the is waiting for
On Fri, 20 Oct 2006 at 8:33am, Benji Fisher wrote:
On Thu, Oct 19, 2006 at 11:26:53PM -0700, Hari Krishna Dara wrote:
[snip]
imap buffer silent expr F12 Double(\F12)
function! Double(mymap)
try
let char = getchar()
catch /^Vim:Interrupt$/
let char = \Esc
endtry
Max Dyckhoff wrote:
For some reason, using to indent a line of code no longer works correctly!
Repro steps:
1. Press
2. Observe appear in the command line where pending commands live
3. Watch nothing happen
4. Press another key (esc, a, whatever) and watch the indent happen
5. It looks like
On 2006-10-18, A.J.Mechelynck [EMAIL PROTECTED] wrote:
Benji Fisher wrote:
On Wed, Oct 18, 2006 at 01:21:31AM +0200, A.J.Mechelynck wrote:
1. Em dashes should normally be set apart from the neighbouring words by
blank spaces -- like this -- and if they are, they won't be mistaken for
On 10/20/06, Max Dyckhoff [EMAIL PROTECTED] wrote:
For some reason, using to indent a line of code no longer works correctly!
Repro steps:
1. Press
2. Observe appear in the command line where pending commands live
3. Watch nothing happen
4. Press another key (esc, a, whatever) and watch the
Re-including the list.
I only have about 30 maps, and none of them start with .
The only thing that I can see which might be affecting anything are these two:
,,b :%s/\(^\t*\):/\1/ecr:%s/\(^\t*\) /\1: /ecr:let @/=cr
,,B :%s/\(^\t*\):/\1/ecr:let @/=cr
Now ,, is the localleader for vo_base, the
Max Dyckhoff wrote:
Re-including the list.
I only have about 30 maps, and none of them start with .
The only thing that I can see which might be affecting anything are these two:
,,b :%s/\(^\t*\):/\1/ecr:%s/\(^\t*\) /\1: /ecr:let @/=cr
,,B :%s/\(^\t*\):/\1/ecr:let @/=cr
Now ,, is the
Hi,
On 10/19/06, Yegappan Lakshmanan [EMAIL PROTECTED] wrote:
Hi,
On 10/19/06, Marius Roets [EMAIL PROTECTED] wrote:
On 10/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
1) I would like to open a new window/tab, rather than use the one
above the quickfix window.
:h 'switchbuf'
Using Debian Etch and
$vim --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 10 2006 00:14:41)
Included patches: 1-122
When I do mksession and load the session with gvim -S, the window sizes in
both the cases is not the same. Is there any way restore the window size as
well?
I do not
On Mon, Sep 25, 2006 at 08:07:22PM +0200, Meino Christian Cramer wrote:
[snip]
After I wrote my first TeX-text without Emacs/AucTeX spontaneous I
would say the following things are missing:
A Keystrokes to insert {\bf X }, {\it X \/} and such where X marks the
cursor position
Hi all,
:verbose map shows nothing. I have no mappings with at the start (or in
fact, anywhere in the mapping).
Removing the two ,, mappings did nothing useful. The only interesting map
that I have is one right at the end of the list which is some non-printing
character duplicating another
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
I find that the problem is that I installed gVim the first time and I was
already thinking about how making it highlight the codes, highlight errors,
auto complete control structures, tags and functions...
I'm trying to find out if there is a way to make vim show tips
automatically, tips about
I use pyGTD, a text file-based todo list from within Vim. Here's the basic
workflow:
1. I edit task lines in a file called todo.txt, updating properties such as
percentage completed, and save my changes.
2. I execute the gtd.py script from within Vim using the following command:
* :silent
On 10/20/06, Max Dyckhoff [EMAIL PROTECTED] wrote:
Hi all,
:verbose map shows nothing. I have no mappings with at the start (or in
fact, anywhere in the mapping).
Removing the two ,, mappings did nothing useful. The only interesting map that I
have is one right at the end of the list which
On 2006-10-20, Max Dyckhoff [EMAIL PROTECTED] wrote:
Hi all,
:verbose map shows nothing. I have no mappings with at the
start (or in fact, anywhere in the mapping).
Removing the two ,, mappings did nothing useful. The only
interesting map that I have is one right at the end of the
Hi Gary, and Yakov,
I'm sorry, I'm feeling terrible today so my bug reports aren't very
comprehensive. More information!
WinXP, GVIM 7.0 compiled by Bram.
I don't have many plugins, the major ones being Lookupfile and associated
plugins and vimoutliner. I seriously suspect vimoutliner is the
In my plugin, I catch 6 search ops (n,N,*,#,/,?).
Remapping [*#nN] is straightforward. Regarding / and ?
what I do is 'cmap enter' then checking cmdtype().
(You can see details at http://www.vim.org/scripts/script.php?script_id=1682)
This works, but causes some bad side-effects when user has
Let's say I edit file x (vim x) which is a symlink, x-y.
(Linux). How can I make a script that opens y
instead of x in the buffer (chases the symlinks and opens it)
Yakov
Hello,
* On Fri, Oct 20, 2006 at 11:39:10PM +0200, Yakov Lerner [EMAIL PROTECTED]
wrote:
Let's say I edit file x (vim x) which is a symlink, x-y.
(Linux). How can I make a script that opens y
instead of x in the buffer (chases the symlinks and opens it)
Are you looking for realpath?
In case
On 2006-10-20, Max Dyckhoff [EMAIL PROTECTED] wrote:
Hi Gary, and Yakov,
I'm sorry, I'm feeling terrible today so my bug reports aren't
very comprehensive. More information!
WinXP, GVIM 7.0 compiled by Bram.
I don't have many plugins, the major ones being Lookupfile and
associated
Hi Gary,
Thanks for the tip. I actually dived in and opened up the session file and
compared it to an identically generated (same files and everything) session
file which didn't exhibit the problem. There were no occurrences of in the
session file, however I did find these lines which for
On 10/21/06, Luc Hermitte [EMAIL PROTECTED] wrote:
Hello,
* On Fri, Oct 20, 2006 at 11:39:10PM +0200, Yakov Lerner [EMAIL PROTECTED]
wrote:
Let's say I edit file x (vim x) which is a symlink, x-y.
(Linux). How can I make a script that opens y
instead of x in the buffer (chases the symlinks
Hello Vim List,
When I open a session created by mksession, a [No Name]
buffer is created for each tab that is created. My
'sessionoptions' contains all the options except sesdir,
slash and unix. I checked buffers with 'ls!' before saving
the session. I startup with:
gvim -S
On Fri, 20 Oct 2006 at 4:34pm, Mikolaj Machowski wrote:
Dnia pi±tek, 20 pa¼dziernika 2006 08:26, Hari Krishna Dara napisa³:
Here is a demo that shows how to use it in insert mode. What the
function does is to double every key you press, except Esc and C-C,
when it breaks the loop.
If
On Fri, 20 Oct 2006 at 8:24am, Steve Hall wrote:
From: Hari Krishna Dara, Fri, October 20, 2006 2:26 am
Often there are questions on this list on how to capture every key
press from a user, and the answer is that it can't, unless you map
all keys. But even if you map all keys, it is not
Meghdad Azriel wrote:
[...]
I wanna be a guru in a blink of eyes :P
[...]
You can't: TANSTAAFL. (And if you haven't read R. A. Heinlein's /The Moon is a
Harsh Mistress/, TANSTAAFL is an acronym for: 'T ain't no such thing as a free
lunch.)
The only way to become a guru is by hard labour:
Kamaraju Kusumanchi wrote:
Using Debian Etch and
$vim --version
VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 10 2006 00:14:41)
Included patches: 1-122
When I do mksession and load the session with gvim -S, the window sizes in
both the cases is not the same. Is there any way restore the
Tom Purl wrote:
I use pyGTD, a text file-based todo list from within Vim. Here's the basic
workflow:
1. I edit task lines in a file called todo.txt, updating properties such as
percentage completed, and save my changes.
2. I execute the gtd.py script from within Vim using the following
50 matches
Mail list logo