Re: copy a word without moving cursor

2006-10-01 Thread A.J.Mechelynck
Osho GG wrote: Hi All, I know this mustbe pretty simple but I can't figure this out. I want to copy a word into a buffer without moving the cursor. Currently I do something like *ayw^O:nohCR to get this effect. But, this seems like such a round about way to do this. Is there a simpler way to

Problem with accents

2006-10-01 Thread Giovanni Funchal
Hello all! I've recently installed kubuntu linux over vmware, then I used the adept package manager to install the following packages (6.4-006) vim vim-gtk vim-gui-common vim-latexsuite vim-runtime I have a french keyboard, and accents works everywhere: terminal, openoffice, etc BUT when I

Re: vim backspace

2006-10-01 Thread cga2000
On Sat, Sep 30, 2006 at 03:25:08PM EDT, samitj wrote: [..] 2) I modified my .vimrc file with some color settings. However, now I just get a blank screen with my xterm color covering the whole screen - cant see any text. HOw do I fix this? I find that rather than making extensive changes to

Re: vim backspace

2006-10-01 Thread A.J.Mechelynck
cga2000 wrote: On Sat, Sep 30, 2006 at 03:25:08PM EDT, samitj wrote: [..] 2) I modified my .vimrc file with some color settings. However, now I just get a blank screen with my xterm color covering the whole screen - cant see any text. HOw do I fix this? I find that rather than making

Re: Problem with accents

2006-10-01 Thread A.J.Mechelynck
Giovanni Funchal wrote: Hello all! I've recently installed kubuntu linux over vmware, then I used the adept package manager to install the following packages (6.4-006) vim vim-gtk vim-gui-common vim-latexsuite vim-runtime I have a french keyboard, and accents works everywhere: terminal,

Mapping of keysequences...

2006-10-01 Thread Meino Christian Cramer
Hi, is it possible to map the sequence of C-CC-Fb to anything (and how?)? I tried as a first brute-force experiment noremap C-CC-Fb echo works But it does not works... :) Any chance to do such a trick? Thanks a lot for any help ! keep hacking! mcc

Re: copy a word without moving cursor

2006-10-01 Thread Yakov Lerner
On 10/1/06, Osho GG [EMAIL PROTECTED] wrote: Hi All, I know this mustbe pretty simple but I can't figure this out. I want to copy a word into a buffer without moving the cursor. Currently I do something like *ayw^O:nohCR to get this effect. But, this seems like such a round about way to do

Re: imd don't take effect under linux

2006-10-01 Thread Bram Moolenaar
Eddy Zhao wrote: I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. I'm using gvim 7.0, with xim support, under linux, desktop is ion3 . :verbose map! Esc

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: Hi, is it possible to map the sequence of C-CC-Fb to anything (and how?)? I tried as a first brute-force experiment noremap C-CC-Fb echo works But it does not works... :) Any chance to do such a trick? Thanks a lot for any help ! keep hacking!

Re: first character cutted when v,j,x

2006-10-01 Thread cga2000
On Sat, Sep 30, 2006 at 08:35:04PM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] What you highlighted includes the cursor Misuse of v was the issue and explains why Vim thus behaves. Since v is per character visual mode .. vjj does not make much sense in the first place .. using the

Re: .vim_logout ???

2006-10-01 Thread Yakov Lerner
On 10/1/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: .vim_logout ??? Date: Sat, 30 Sep 2006 11:05:28 +0200 Meino Christian Cramer wrote: Hi, I am looking for a way to execute some lines of vim-script everytime when ich leave

Re: first character cutted when v,j,x

2006-10-01 Thread A.J.Mechelynck
cga2000 wrote: [...] .. sounds fishy .. in a cell terminal how could a character be between characters.. except by being invisible? :-) [...] Windows, even more than modern Unixes (those with X11), is GUI-oriented. On Windows, IIUC, only old Dos hands like me, hackers, and Unix users ever

Re: Mapping of keysequences...

2006-10-01 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 15:09:17 +0200 Meino Christian Cramer wrote: Hi, is it possible to map the sequence of C-CC-Fb to anything (and how?)? I tried as a first brute-force experiment

Re: Mapping of keysequences...

2006-10-01 Thread Mikolaj Machowski
Dnia niedziela, 1 października 2006 14:54, Meino Christian Cramer napisał: Hi, is it possible to map the sequence of C-CC-Fb to anything (and how?)? I tried as a first brute-force experiment noremap C-CC-Fb echo works If you want to print it in the buffer it should be::

Re: forms support for Vim

2006-10-01 Thread Mikolaj Machowski
Hello, Interesting concept. The most difficult thing are Vim habits. Seeing spelling error in line before I tend to make Esck than S-Tab which is obviously messing things. - Use Esc in fields to cancel changes and restore old value. This doesn't work. I am getting Plug17|v$h Cannot accept

Re: Problem with accents

2006-10-01 Thread Christian Ebert
* Giovanni Funchal on Sunday, October 01, 2006 at 13:52:08 +0200: I've recently installed kubuntu linux over vmware, then I used the adept package manager to install the following packages (6.4-006) vim vim-gtk vim-gui-common vim-latexsuite vim-runtime I have a french keyboard, and

Re: Mapping of keysequences...

2006-10-01 Thread Meino Christian Cramer
From: Mikolaj Machowski [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 1 Oct 2006 15:09:56 +0200 Dnia niedziela, 1 października 2006 14:54, Meino Christian Cramer napisał: Hi, is it possible to map the sequence of C-CC-Fb to anything (and how?)? I

Re: vim backspace

2006-10-01 Thread cga2000
On Sun, Oct 01, 2006 at 08:34:50AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] There are a number of colorschemes in $VIMRUNTIME/colors/ ; I'm adding my own rather simple one (attached) as an additional source of inspiration. To invoke a colorscheme, use the :colorscheme command with

Re: first character cutted when v,j,x

2006-10-01 Thread cga2000
On Sun, Oct 01, 2006 at 09:33:37AM EDT, A.J.Mechelynck wrote: cga2000 wrote: [...] .. sounds fishy .. in a cell terminal how could a character be between characters.. except by being invisible? :-) [...] Windows, even more than modern Unixes (those with X11), is GUI-oriented. On

change right arrow behaviour in normal mode

2006-10-01 Thread Kamaraju Kusumanchi
Say I have a file with two lines line abcd line efgh Normally when I press right arrow (or k), the cursor moves one character right! However if my cursor is at the end of line 1 (i.e. on 'd'). Then if I press right arrow (or k for that matter) vim just beeps. However I would like it to go the

Re: change right arrow behaviour in normal mode

2006-10-01 Thread Yakov Lerner
On 10/1/06, Kamaraju Kusumanchi [EMAIL PROTECTED] wrote: Say I have a file with two lines line abcd line efgh Normally when I press right arrow (or k), the cursor moves one character right! However if my cursor is at the end of line 1 (i.e. on 'd'). Then if I press right arrow (or k for that

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: Mikolaj Machowski [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 1 Oct 2006 15:09:56 +0200 Dnia niedziela, 1 października 2006 14:54, Meino Christian Cramer napisał: Hi, is it possible to map the sequence of C-CC-Fb to anything

Re: vim backspace

2006-10-01 Thread Yakov Lerner
On 9/30/06, samitj [EMAIL PROTECTED] wrote: 2) I modified my .vimrc file with some color settings. However, now I just get a blank screen with my xterm color covering the whole screen - cant see any text. HOw do I fix this? Did you try all existing colorshemes before trying to come up with

I cannot install gvim7.0

2006-10-01 Thread Zheng Da
Hello. I try to install vim7.0 But I can't install vim with GUI. It seems that configure automatically looks for a GUI, but it always tells no in my system. checking --enable-gui argument... no GUI support And I'm sure there isn't gvim in my system. I read src/INSTALL. It tells me that I need

Re: I cannot install gvim7.0

2006-10-01 Thread Yakov Lerner
On 10/1/06, Zheng Da [EMAIL PROTECTED] wrote: Hello. I try to install vim7.0 But I can't install vim with GUI. It seems that configure automatically looks for a GUI, but it always tells no in my system. checking --enable-gui argument... no GUI support And I'm sure there isn't gvim in my system.

Re: I cannot install gvim7.0

2006-10-01 Thread A.J.Mechelynck
Zheng Da wrote: Hello. I try to install vim7.0 But I can't install vim with GUI. It seems that configure automatically looks for a GUI, but it always tells no in my system. checking --enable-gui argument... no GUI support And I'm sure there isn't gvim in my system. I read src/INSTALL. It tells

Re: I cannot install gvim7.0

2006-10-01 Thread A.J.Mechelynck
Zheng Da wrote: Hello. I try to install vim7.0 But I can't install vim with GUI. It seems that configure automatically looks for a GUI, but it always tells no in my system. checking --enable-gui argument... no GUI support And I'm sure there isn't gvim in my system. I read src/INSTALL. It tells

Re: copy a word without moving cursor

2006-10-01 Thread Osho GG
On 10/1/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/1/06, Osho GG [EMAIL PROTECTED] wrote: Hi All, I know this mustbe pretty simple but I can't figure this out. I want to copy a word into a buffer without moving the cursor. Currently I do something like *ayw^O:nohCR to get this

Re: Mapping of keysequences...

2006-10-01 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 18:40:47 +0200 Meino Christian Cramer wrote: From: Mikolaj Machowski [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 1 Oct 2006 15:09:56 +0200 Dnia niedziela, 1

Re: .vim_logout ???

2006-10-01 Thread Meino Christian Cramer
From: Yakov Lerner [EMAIL PROTECTED] Subject: Re: .vim_logout ??? Date: Sun, 1 Oct 2006 16:31:44 +0300 On 10/1/06, Meino Christian Cramer [EMAIL PROTECTED] wrote: From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: .vim_logout ??? Date: Sat, 30 Sep 2006 11:05:28 +0200 Meino Christian

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] Hi Tony ! nice to read you again! And thank you very much for your help,help,help... :) - BIG smiley! Slowly and surely I get my TeX macro working... What I have now is the following: inoremap C-CC-Fb {\bf #}ESC?#CRc/}CR inoremap C-CC-Fi {\it

Re: Mapping of keysequences...

2006-10-01 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 19:44:39 +0200 Meino Christian Cramer wrote: [...] Hi Tony ! nice to read you again! And thank you very much for your help,help,help... :) - BIG smiley! Slowly and surely I

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 19:44:39 +0200 Meino Christian Cramer wrote: [...] Hi Tony ! nice to read you again! And thank you very much for your help,help,help... :) - BIG smiley!

Re: Mapping of keysequences...

2006-10-01 Thread Meino Christian Cramer
From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 20:34:31 +0200 Meino Christian Cramer wrote: From: A.J.Mechelynck [EMAIL PROTECTED] Subject: Re: Mapping of keysequences... Date: Sun, 01 Oct 2006 19:44:39 +0200 Meino Christian

Re: Mapping of keysequences...

2006-10-01 Thread A.J.Mechelynck
Meino Christian Cramer wrote: [...] I think Bram should add :he Tony -support in vim which prints your email address... or may be it is not what you really want, isn't ir ;O) (just kidding) Keep hacking! mcc :-D Actually, my personal maibox is so full of spam that I read it only

Re: copy a word without moving cursor

2006-10-01 Thread Yakov Lerner
On 10/1/06, Osho GG [EMAIL PROTECTED] wrote: On 10/1/06, Yakov Lerner [EMAIL PROTECTED] wrote: On 10/1/06, Osho GG [EMAIL PROTECTED] wrote: I know this mustbe pretty simple but I can't figure this out. I want to copy a word into a buffer without moving the cursor. Currently I do something

Re: imd don't take effect under linux

2006-10-01 Thread Alexis S. L. Carvalho
Thus spake Eddy Zhao: Hello all, I'm use setting below to disable input method when enter normal mode inoremap ESC ESC:set imdCR The setting works under window, but under linux the setting don't take effect. I'm using gvim 7.0, with xim support, under linux, desktop is ion3 .

Vi use up-down-left-right in insert mode

2006-10-01 Thread samitj
Hi, I am a new vi user switching from emacs. Is it possible to use up-down-left-right,backspace and delete in Vi in insert mode. I find it hard to go out of insert mode just to edit my typos while typing. Secondly, I also wanrted to have Vi commands to be carried over to the previous line.

Re: Vi use up-down-left-right in insert mode

2006-10-01 Thread A.J.Mechelynck
samitj wrote: Hi, I am a new vi user switching from emacs. Is it possible to use up-down-left-right,backspace and delete in Vi in insert mode. I find it hard to go out of insert mode just to edit my typos while typing. Yes, it is. Didn't you try? If arrow keys don't work, maybe the

Take Two: Pasteboard sans HTML

2006-10-01 Thread Calvin Waterbury
Note: I realized after I sent this it was in HTML, I thought it was test only - please accept my apologies for any difficulty - Calvin Hello VIM, [Disclaimer] - I realize this is a long post, but if it results in triggering interest, the resultant increase in productivity will be worth it,

Re: Take Two: Pasteboard sans HTML

2006-10-01 Thread A.J.Mechelynck
Calvin Waterbury wrote: Note: I realized after I sent this it was in HTML, I thought it was test only - please accept my apologies for any difficulty - Calvin Hello VIM, [Disclaimer] - I realize this is a long post, but if it results in triggering interest, the resultant increase in

Re: forms support for Vim

2006-10-01 Thread Hari Krishna Dara
First, a big thank you for trying it and giving feedback. On Sun, 1 Oct 2006 at 4:11pm, Mikolaj Machowski wrote: Hello, Interesting concept. The most difficult thing are Vim habits. Seeing spelling error in line before I tend to make Esck than S-Tab which is obviously messing things. Yes,

Re: vim backspace

2006-10-01 Thread cga2000
On Sun, Oct 01, 2006 at 12:29:24PM EDT, A.J.Mechelynck wrote: cga2000 wrote: [..] I suppose it's explained under :help :highlight and below more than anywhere else (sections 12 and 13 of syntax.txt -- it's rather lengthy); but it's mainly something you have to learn by doing. I think I

RE: Take Two: Pasteboard sans HTML

2006-10-01 Thread Suresh Govindachar
Calvin Waterbury asked on Sunday, October 01, 2006 3:04 PM for a pasteboard feature. This is a feature that automatically captures clipboard content to a text file that has been designated as the Pasteboard. Perhaps an example would clarify. If I had this feature implimented in

RE: Outline feature

2006-10-01 Thread Suresh Govindachar
Calvin Waterbury asked on Sunday, October 01, 2006 3:00 PM about an Outline feature: The Outline feature is mainly intended to produce a much larger work, like a book**. The format that is in my present editor has a gutter on the side which has listed the headings of the

RE: Take Two: Pasteboard sans HTML

2006-10-01 Thread Hari Krishna Dara
On Sun, 1 Oct 2006 at 6:53pm, Suresh Govindachar wrote: Calvin Waterbury asked on Sunday, October 01, 2006 3:04 PM for a pasteboard feature. This is a feature that automatically captures clipboard content to a text file that has been designated as the Pasteboard. Perhaps an

Convert2HTML Again

2006-10-01 Thread Edd Barrett
(Sorry if you recieve this twice, I don't think the first one made it onto the list for whatever reason.) On 26/09/06, Edd Barrett [EMAIL PROTECTED] wrote: Ill add this in as soon as I can, but university work is coming in hard at the moment so it might not be until the weekend. Greetings

Re: Searching for selected text

2006-10-01 Thread Yakov Lerner
On 9/30/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching for a pattern. Since we might

Re: Searching for selected text

2006-10-01 Thread Bram Moolenaar
Tony Mechelynck wrote: Bram Moolenaar wrote: Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching for a pattern. Since we

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Bram Moolenaar
Laurent Blume wrote: I built vim 7.0.110 on Solaris 10 U1 x86, fully patched, using Sun Studio 11 or Solaris' GCC 3.4.3. Building went fine, however, test 16 failed (no output). What happens is that gvim fails on startup with a segfault: $ gvim GTK Accessibility Module initialized

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Laurent Blume
Bram Moolenaar a écrit : Smells like a problem in the GUI libraries. Or it could be a compiler optimizer bug again, try compiling without -O2. But I guess it's the libraries. Yes, you were right. After I found out that the very same binary worked on my Solaris Express install (the -dev

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Laurent Blume
Ali Akcaagac a écrit : For what reasons does gVIM require Bonobo on Solaris ? It's not gvim asking for it, but the JDS/GNOME libs (modified by Sun for the accessibility stuff). Laurent

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread A.J.Mechelynck
Ali Akcaagac wrote: Hello, For what reasons does gVIM require Bonobo on Solaris ? mfg, Ali Akcaagac It's not only on Solaris. On SuSE Linux 9.3, when I build gvim for Gnome2, I get [...] -I/opt/gnome/include/libbonobo-2.0 [...] -I/opt/gnome/include/bonobo-activation-2.0 [...] on the

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Ali Akcaagac
On Sun, 2006-10-01 at 18:00 +0200, A.J.Mechelynck wrote: It's not only on Solaris. On SuSE Linux 9.3, when I build gvim for Gnome2, I get [...] -I/opt/gnome/include/libbonobo-2.0 [...] -I/opt/gnome/include/bonobo-activation-2.0 [...] on the compilation line and [...] -lbonoboui-2 [...]

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread A.J.Mechelynck
Ali Akcaagac wrote: On Sun, 2006-10-01 at 18:00 +0200, A.J.Mechelynck wrote: It's not only on Solaris. On SuSE Linux 9.3, when I build gvim for Gnome2, I get [...] -I/opt/gnome/include/libbonobo-2.0 [...] -I/opt/gnome/include/bonobo-activation-2.0 [...] on the compilation line and [...]

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Ali Akcaagac
On Sun, 2006-10-01 at 19:16 +0200, A.J.Mechelynck wrote: -Wl,--export-dynamic This line tells the linker to link only necessary libraries dynamically. Rather than linking everything. This makes files usually become smaller and loading up much faster. This is no hack it's a valid linker

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread A.J.Mechelynck
Ali Akcaagac wrote: On Sun, 2006-10-01 at 19:16 +0200, A.J.Mechelynck wrote: -Wl,--export-dynamic This line tells the linker to link only necessary libraries dynamically. Rather than linking everything. This makes files usually become smaller and loading up much faster. This is no hack it's a

Re: Searching for selected text

2006-10-01 Thread Bram Moolenaar
Yakov Lerner wrote: On 9/30/06, Bram Moolenaar [EMAIL PROTECTED] wrote: Sometimes people ask me for a command to search for the text that is currently visually selected. You could add a mapping for the '/' key, but then you lose the possibility to extend the visual area by searching

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Bram Moolenaar
Ali Akcaagac wrote: After grep'ing through the VIM source I really detected Bonobo Dockitems inside it. Unfortunately that's all soon to be deprecated stuff and should be avoided as much as possible.. Why this ? a) BonoboUI elements are dead stuff and will be removed pretty soon. I

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Ali Akcaagac
On Sun, 2006-10-01 at 23:13 +0200, Bram Moolenaar wrote: The bonobo stuff is only used when compiling for GTK 2 with Gnome support. I generally discourage compiling with Gnome, it has its problems. This is mentioned in the Makefile. If you compile without Gnome, which is the default, no

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread A.J.Mechelynck
Bram Moolenaar wrote: [...] The bonobo stuff is only used when compiling for GTK 2 with Gnome support. I generally discourage compiling with Gnome, it has its problems. This is mentioned in the Makefile. [...] Yes, I saw that warning, and decided to try --enable-gnome-check nevertheless,

Re: gvim segfaulting on Solaris 10

2006-10-01 Thread Laurent Blume
Bram Moolenaar wrote: Is /usr/sfw a standard place for something? Then perhaps configure should be adjusted to check it. Checked that. No need anymore for it. Ir probably dated from my first builds on the Solaris 10 beta, 2 years ago. Laurent