How to jump to an existing tab page when jumping to an tag?
I use ctags for my c++ files. Normally, I opened many of such c++
files in different tag pages. But, when I using Ctrl-] to jump a tag
under cursor, gvim will open the target file in current tab page, even
when the target file
Michael F. Lamb wrote:
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run *xmodmap
~/.speedswapper* in a terminal, I follow the
Hi vimmers,
Any help for my query?
Regards
Jagpreet
-Original Message-
From: Jagpreet [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 3:00 PM
To: vim@vim.org
Subject: how to . compiler
Hi There,
I can't make use of built-in compiler facility in vim.
Tried
Jagpreet [EMAIL PROTECTED] 写于 2007-06-04 15:46:54:
But again not much details mentioned in the doc file(csupport.txt) about
external make.
To use the external make, just
:set makeprg=make
then you can use
:make
to call external make.
How can I run my makefile(external) within vim. Further
.
But again not much details mentioned in the doc file(csupport.txt) about
external make.
How can I run my makefile(external) within vim. Further How to check and add
,if missing, compiler support in vim( say HP-UX xompiler aCC).
Everything you need to know should be here,
:help
Robert Cussons wrote:
Michael F. Lamb wrote:
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run
*xmodmap ~/.speedswapper* in a
[EMAIL PROTECTED] wrote:
Robert Cussons wrote:
Michael F. Lamb wrote:
jaywee wrote:
*! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
*to a file named .speedswapper to the home directory, and run
Hi jaywee,
The simplest way is using a mapping
inoremap { {cr}escO
which should do what you want.
But I myself find this terrible annying because it always inserts those
closing braces.
That's why I've written some kind of context sensitive completion
On Fri, Jun 01, 2007 at 01:05:53PM +0800, jaywee wrote:
mostly when I press {, I have to press one more } after, because
they are always appears at the same time! the same as () [], and
also the quote mark(). so I wonder how can I add the feature that when
I insert { or the other
(csupport.txt) about
external make.
How can I run my makefile(external) within vim. Further How to check and add
,if missing, compiler support in vim( say HP-UX xompiler aCC).
I'm using Console version of vim via putty.
Regards,
Jagpreet
mostly when I press {, I have to press one more } after, because
they are always appears at the same time! the same as () [], and
also the quote mark(). so I wonder how can I add the feature that when
I insert { or the other punctuations above, it will automatically add
} !!!
besides, I
On 2007-05-22, Natesh Kedlaya [EMAIL PROTECTED] wrote:
From: Gary Johnson [EMAIL PROTECTED]
Sent: Monday, May 21, 2007 5:30:52 PM
On 2007-05-21, Natesh Kedlaya [EMAIL PROTECTED] wrote:
Hi,
I am using Vim6.3
My cscope db was built on a source directory structure 'src1' which was
,
Natesh
- Original Message
From: Gary Johnson [EMAIL PROTECTED]
To: Natesh Kedlaya [EMAIL PROTECTED]
Cc: vim@vim.org
Sent: Tuesday, May 22, 2007 9:05:30 AM
Subject: Re: How to alter the cscope search results in the vim so that they
refer to the right files.
On 2007-05-22, Natesh Kedlaya
. The cscope db still has referrers to the /dir1
based on which
it was built.
I don't want to rebuild the cscope db with the new mount point.
How do I make use of the existing cscope db by somehow modifying the
cscope search results to point to /dir2 instead of /dir1? I would like to
see
the errors and the renaming of 'cscopeprg',
though, it looks more like something changing 'cscopeprg' than a
problem with the sed command.
I don't have an explanation for the errors from /etc/vimrc or
/home/myname/.vimrc yet. I don't know how the contents of
/usr/bin/cscope would affect the behavior
Hi, everyone:
I am a beginner user of vim and I use it to write my C/C++ code in
Ubuntu. Every time I finished a C code and I want to compile it, I have
to type:
:gcc -o mycfile.out mycfile.c
How can I map this command to a shortcut key like F12?
Thanks a lot.
TJ
I am a beginner user of vim and I use it to write my C/C++ code in
Ubuntu. Every time I finished a C code and I want to compile it, I have
to type:
:gcc -o mycfile.out mycfile.c
How can I map this command to a shortcut key like F12?
See `:help :make` and `:help compiler-select` and `:help :map`
Hi TJ,
On Tue, 2007-05-22 at 21:56 -0500, Ting Jiang wrote:
Hi, everyone:
I am a beginner user of vim and I use it to write my C/C++ code in
Ubuntu. Every time I finished a C code and I want to compile it, I have
to type:
:gcc -o mycfile.out mycfile.c
How can I map this command
On 5/21/07, Antony Scriven [EMAIL PROTECTED] wrote:
On 5/20/07, Yakov Lerner [EMAIL PROTECTED] wrote:
In a script, how do I get the value of ~ -- the last used
replace-to string, as used in s//~/ ?
Yakov
Quick hack. --Antony
fun! EchoTilde()
$ put=''
s/^/~/
let tilde
=auto
All produced the same error:
E25: GUI cannot be used: Not enabled at compile time
I chose not to perform make install in order to preserve the integrity of
my existing Vim 7.0 that came with Mandriva 2007.
Anyone know how to compile graphical Vim on Mandriva 2007, or at least
On 5/21/07, Yakov Lerner [EMAIL PROTECTED] wrote:
On 5/21/07, Antony Scriven [EMAIL PROTECTED] wrote:
On 5/20/07, Yakov Lerner [EMAIL PROTECTED] wrote:
In a script, how do I get the value of ~ -- the
last used replace-to string, as used in s//~/ ?
Yakov
Quick
On 2007-05-21, Natesh Kedlaya [EMAIL PROTECTED] wrote:
Hi,
I am using Vim6.3
My cscope db was built on a source directory structure 'src1' which was
mounted on /dir1. If I use this cscope db in my vim, my cscope query would
yeild following results.
[...]
Any pointers appreciated.
You
In a script, how do I get the value of ~ -- the last used
replace-to string, as used in s//~/ ?
Yakov
existing Vim 7.0 that came with Mandriva 2007.
Anyone know how to compile graphical Vim on Mandriva 2007, or at least some
diagnostic tests I can use to narrow down the problem?
Thanks
SteveT
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/
install in order to preserve the integrity of my
existing Vim 7.0 that came with Mandriva 2007.
Anyone know how to compile graphical Vim on Mandriva 2007, or at least some
diagnostic tests I can use to narrow down the problem?
You need to install gtk2-devel package. Also, the x11-devel package
In a script, how do I get the value of ~ -- the last used
replace-to string, as used in s//~/ ?
While I've wondered this in the past, and don't have an answer at
the moment, I found a small bug in the help text (or in the :help
command) while hunting.
In Vim7, if I type
:help
On 5/21/07, Tim Chase [EMAIL PROTECTED] wrote:
In a script, how do I get the value of ~ -- the last used
replace-to string, as used in s//~/ ?
While I've wondered this in the past, and don't have an answer at
the moment,
It seems natural to patch expand() function to return
cannot be used: Not enabled at compile time
I chose not to perform make install in order to preserve the integrity of
my existing Vim 7.0 that came with Mandriva 2007.
Anyone know how to compile graphical Vim on Mandriva 2007, or at least
some diagnostic tests I can use to narrow down
Tim Chase wrote:
In a script, how do I get the value of ~ -- the last used
replace-to string, as used in s//~/ ?
While I've wondered this in the past, and don't have an answer at
the moment, I found a small bug in the help text (or in the :help
command) while hunting.
In Vim7, if I type
: Not enabled at compile time
I chose not to perform make install in order to preserve the integrity of
my existing Vim 7.0 that came with Mandriva 2007.
Anyone know how to compile graphical Vim on Mandriva 2007, or at least
some diagnostic tests I can use to narrow down the problem?
You need
On 5/20/07, Yakov Lerner [EMAIL PROTECTED] wrote:
In a script, how do I get the value of ~ -- the last used
replace-to string, as used in s//~/ ?
Yakov
Quick hack. --Antony
fun! EchoTilde()
$ put=''
s/^/~/
let tilde = getline('.')
d
echo tilde
endfun
On Fri, 18 May 2007 20:24:17 -0600, Russell Bateman
[EMAIL PROTECTED] wrote:
As far as I know, Vim won't autowrap blocks of text you paste in.
Something could be written I suppose, but I don't know of something
already doing it.
It depends how you paste. If you type +p in normal mode
hi all,
can you guide me how to display a column line at right margin, e.g.
80, as gedit and eclipse do.
i find this thread in mails archive:
http://tech.groups.yahoo.com/group/vim/message/33159
but the method told in this thread is useless, it has some erros when
i start vim in gnome
On 5/19/07, Ken YANG [EMAIL PROTECTED] wrote:
hi all,
can you guide me how to display a column line at right margin, e.g.
80, as gedit and eclipse do.
i find this thread in mails archive:
http://tech.groups.yahoo.com/group/vim/message/33159
but the method told in this thread is useless
Yakov Lerner wrote:
On 5/19/07, Ken YANG [EMAIL PROTECTED] wrote:
hi all,
can you guide me how to display a column line at right margin, e.g.
80, as gedit and eclipse do.
i find this thread in mails archive:
http://tech.groups.yahoo.com/group/vim/message/33159
but the method told
Matthew Winn wrote:
On Fri, 18 May 2007 20:24:17 -0600, Russell Bateman
[EMAIL PROTECTED] wrote:
As far as I know, Vim won't autowrap blocks of text you paste in.
Something could be written I suppose, but I don't know of something
already doing it.
It depends how you paste. If you
Hi!
I frequently copy and paste text from web pages and would like to break
lines at (say) 72 without splitting words.
It sounds strange, but I use to do the following:
:set noai nosi tw=72 fo
Then I copy the text of the web page to the clibboard, enter
Insert mode, and do C-R* to paste the
I frequently copy and paste text from web pages and would like to break
lines at (say) 72 without splitting words.
My preference is to do this either on the command line
or by
ESC :command
vim wrapmargin=40 testfile
does not work.
The best thing I've seen so far is, in vi
:set wm=0 or
suggests gggqG
but I can't see how to do this from either command line or EX command.
vim wrapmargin=40 testfile
does not work.
The best thing I've seen so far is, in vi
:set wm=0 or :set wm=5
both of which cause vi to wrap lines at 0 or 5 characters from the
_right_ margin which comes
I'm posting the solution to my own question from experiments tonight.
To easily force VIM to paste text wrapped at 72 characters do the following:
1. Copy the old ~/.vimrc to ~/.vimrcp
2. Edit ~/.vimrcp and comment out the existing line
autocmd FileType text setlocal textwidth=78
and
Sorry to answer so late. I use (g)vim to write my papers and books, with a lot
of quotations from ancient Greek. It works like a charm!
Steps:
* make sure to set encoding to utf8
* see if you have a keymap called (exactly) greek_utf-8.vim. In my system
(Linux Mandriva) it is
Guido Milanese wrote:
[...]
Important: use a font with a decently complete set of chars. In Linux you
should be able to use Gentium, I believe, but personaly I prefer a fixed font
and use Bitstream\ Vera\ Sans\ Mono with excellent results.
[...]
Except in the GTK+2 version of gvim,
On Friday 18 May 2007 05:23, A.J.Mechelynck wrote:
Yes, Bitstream Vera Sans Mono is a good-looking font. For any language
whose glyphs are not present, try Courier New if it exists on your system.
It is not so good-looking but it has a large number of different alphabets.
Not CJK double-width
Dear all,
The search command '*' in normal mode will highlight the cursor word.
The command ':noh' in command mode will stop the highlighting. But how
to get the current highlighting status for the search command '*' in a
vim script?
Can anyone give me some hints?
Thanks.
Lht
How does one make a function that will surround a visual selection?
Example:
Hello, my name is fREW.
Select my name and say, :Bang()
and the text should now be
Hello, bmy name/b is fREW.
I presume it will have something to do with using ' and ', but
beyond that I am not really sure.
Thanks
On 5/14/07, fREW [EMAIL PROTECTED] wrote:
How does one make a function that will surround a visual selection?
Example:
Hello, my name is fREW.
Select my name and say, :Bang()
and the text should now be
Hello, bmy name/b is fREW.
I presume it will have something to do with using
On 5/14/07, Ian Tegebo [EMAIL PROTECTED] wrote:
On 5/14/07, fREW [EMAIL PROTECTED] wrote:
How does one make a function that will surround a visual selection?
Example:
Hello, my name is fREW.
Select my name and say, :Bang()
and the text should now be
Hello, bmy name/b is fREW.
I
Hi,
could somebody tell me how to type complex Greek characters like ῷ or ἅ. I am
using vim7.0 with multibyte and myltilang enabled on Kubuntu 6.06. In other
applications I change the language to polytonic greek and use a composer key.
Is there a similar way in vim possible, too? How can I
Informationen wrote:
Hi,
could somebody tell me how to type complex Greek characters like ῷ or ἅ. I am
using vim7.0 with multibyte and myltilang enabled on Kubuntu 6.06. In other
applications I change the language to polytonic greek and use a composer key.
Is there a similar way in vim
Informationen wrote:
Hi,
could somebody tell me how to type complex Greek characters like ῷ or ἅ. I am
using vim7.0 with multibyte and myltilang enabled on Kubuntu 6.06. In other
applications I change the language to polytonic greek and use a composer key.
Is there a similar way in vim
whose path is f2 location/../i/f4.
Any trick to do this?
From: Taylor Venable [EMAIL PROTECTED]
To: lin q [EMAIL PROTECTED]
CC: vim@vim.org
Subject: Re: how to open an already opened file into an new tab?
Date: Tue, 8 May 2007 17:54:57 -0400
On Tue, 08 May 2007 15:45:40 -0600
lin q [EMAIL
lin q wrote:
Great, this works.
Another question, :tabe % can open the same file, is there an easy way
to open another file which locates in the same or very similar directory
of the current file?
For example, I am viewing f2 now, and I want to open f3 which is of same
directory of f2
On 5/10/07, lin q [EMAIL PROTECTED] wrote:
Great, this works.
Another question, :tabe % can open the same file, is there an easy way to
open another file which locates in the same or very similar directory of the
current file?
For example, I am viewing f2 now, and I want to open f3 which is of
Hi,
Let us say VIM already have f1 and f2 opened in 2 tabs, when I opened f2 I
use this command:
vim --servername GVIM1 --remote-tab f2
This causes that on the tabline, the full path of f2 shows after some
abbreviation. Now I want to open f2 into another tab, but I do not find an
easy
On Tue, 08 May 2007 15:45:40 -0600
lin q [EMAIL PROTECTED] wrote:
This causes that on the tabline, the full path of f2 shows after
some abbreviation. Now I want to open f2 into another tab, but I do
not find an easy way to do that.
If use :tabe, I need to type in the full path of f2,
lin q wrote:
Hi,
Let us say VIM already have f1 and f2 opened in 2 tabs, when I opened
f2 I use this command:
vim --servername GVIM1 --remote-tab f2
This causes that on the tabline, the full path of f2 shows after some
abbreviation. Now I want to open f2 into another tab, but I do not
Am Freitag 04 Mai 2007 schrieb A.J.Mechelynck:
IIUC, in this case every transfer requires inputting a username and
password -- at least if you cannot configure the server and client
yourself, see
I never type a password wenn using netrw. See:
http://en.wikipedia.org/wiki/Ssh-agent
Wikipedia
Lucida ConsoleP-12 -bg black -fg grey
and in your .bashrc:
export TERM=rxvt-cygwin-native
your mouse should work fine with rxvt (mine does!)
Cheers
Now I can use mouse to jump from one split window to another under
rxvx, but how to resize one? I can't do it by mouse in my case, can
you?
sun
rxvt -ls -sr -sl 1500 -fn Lucida ConsoleP-12 -bg black -fg grey
and in your .bashrc:
export TERM=rxvt-cygwin-native
your mouse should work fine with rxvt (mine does!)
Cheers
Now I can use mouse to jump from one split window to another under
rxvx, but how to resize one? I can't do it by mouse
to jump from one split window to another under
rxvx, but how to resize one? I can't do it by mouse in my case, can
you?
You should be able to drag the status lines and vertical dividers to resize
the split windows.
I can confirm that this seems to not work, using the cygwin Vim version
On 5/4/07, sun [EMAIL PROTECTED] wrote:
I'm using cygwin and rxvt. It works quite well, since you don't need to
start an X server for the application - it just runs.
Put the following in your cygwin launcher (cygwin_rxvt.bat for me):
@echo off
C:
chdir C:\cygwin\bin
set
one split window to another under
rxvx, but how to resize one? I can't do it by mouse in my case, can
you?
You should be able to drag the status lines and vertical dividers to resize
the split windows.
I can confirm that this seems to not work, using the cygwin Vim version when
run in rxvt
In ubuntu linux:
I have a remote (ssh) connection through nautilus (gui file manager).
When I right-click a file, I can open, edit and save the file in text
editor without any problem. When I open the file in gvim, it is empty.
What can I do to solve this?
Thanks for any help
ben lieb wrote:
In ubuntu linux:
I have a remote (ssh) connection through nautilus (gui file manager).
When I right-click a file, I can open, edit and save the file in text
editor without any problem. When I open the file in gvim, it is empty.
What can I do to solve this?
Thanks for any help
yes, I like this way. But when I open the vim, it is extremely slow,
it needs about half minute to open a file, what is the problem?
try 'vim -X'
Yakov
yes, it works, thanks!
sun
and the mouse doesn't work for me, either, in neither rxvt locally
nor in xterm over an ssh connection. Unfortunately, I don't have
the time to investigate it further at the moment.
HTH,
Gary
the mouse state of my vim --version is:
+mouse +mouseshape -mouse_dec -mouse_gpm
-mouse_jsbterm
On 4/18/07, sun [EMAIL PROTECTED] wrote:
hello,
I know that both vim and gvim can jump from one window to another by
clicking the mouse, also many other easy facilities.
Here I am using cygwin under XP and my gvim works fine with mouse, but
the vim doesn't in both cmd.ext environment and xterm
You need to set ':set mouse=all'. Then your vim-in-xterm will
reacti to the mouse.
yes, that works.
The cmd box is different case, I beleive that mouse events are
not passed to vim in cmd box.
Yakov
en..., I was used to opening cygwin by cmd.exe, and also vim in it. It
is not necessary to
sun wrote:
You need to set ':set mouse=all'. Then your vim-in-xterm will
reacti to the mouse.
yes, that works.
The cmd box is different case, I beleive that mouse events are
not passed to vim in cmd box.
Yakov
en..., I was used to opening cygwin by cmd.exe, and also vim in it. It
is not
I'm using cygwin and rxvt. It works quite well, since you don't need to
start an X server for the application - it just runs.
Put the following in your cygwin launcher (cygwin_rxvt.bat for me):
@echo off
C:
chdir C:\cygwin\bin
set SHELL=/bin/bash
rxvt -ls -sr -sl 1500 -fn Lucida
ConsoleP-12 -bg black -fg grey
and in your .bashrc:
export TERM=rxvt-cygwin-native
your mouse should work fine with rxvt (mine does!)
Cheers
Now I can use mouse to jump from one split window to another under
rxvx, but how to resize one? I can't do it by mouse in my case, can
you?
sun
/cscope/cscope.out none
As one can see from the output, the prepend path is set to none.
How do I set the prepend path to some value that I want?
I am able to use -P argument of cscope outside the vim to get the intended
results but, not in the vim.
I am using the Vim 6.3.
Please help.
Thanks
On Wed, 2 May 2007 09:05:38 -0700 (PDT)
Natesh Kedlaya [EMAIL PROTECTED] wrote:
As one can see from the output, the prepend path is set to none.
How do I set the prepend path to some value that I want?
I am able to use -P argument of cscope outside the vim to get the
intended results
if the CSCOPE_DB env is set the prepend path stuff does not
work.
Thanks,
Natesh
- Original Message
From: Taylor Venable [EMAIL PROTECTED]
To: Natesh Kedlaya [EMAIL PROTECTED]
Cc: vim@vim.org
Sent: Wednesday, May 2, 2007 10:40:28 AM
Subject: Re: How to set -P argument for the cscope being run
How to delete all comment line in one command line(C/C++)?
Before:
//
/*comment1*/
//
int Fun()
{
int a = 5; // number 1;
int b = 10;// number 2;
return a+b;// number 1 + number 2;
}
After:
int Fun()
{
int a = 5;
int b = 10;
return a+b
is not correct.
How do set up the .vimrc file to key off of the currently detected
file type and disable the cindent option?
Andy
regards,
Tony.
hi, but how do I know whether my Cygwin support the mouse or how to
make it support.
You can find out either by executing
:version
within vim or by executing
vim --version
at the bash prompt. My Cygwin vim :version report includes the
following:
+mouse
, when I edit TCL scripts, the
indenting behavior is not correct.
How do set up the .vimrc file to key off of the currently detected
file type and disable the cindent option?
Try
au FIleType tcl set nocindent
, that assuming your filetype is spelled 'tcl'.
To check how exactly filetype
the starting for all files, when I edit TCL scripts, the
indenting behavior is not correct.
How do set up the .vimrc file to key off of the currently detected
file type and disable the cindent option?
Try
au FIleType tcl set nocindent
:au FileType tcl setlocal nocindent
otherwise it'll
.
I tried sending email to [EMAIL PROTECTED], but it was bounced back. How
do I get help? Thanks.
As far as I know (but I May be wrong), there is no flesh-and-bones person
administering the Vim newsgroups. IIUC (but again, maybe I understand wrong),
there is an old PC acting as a router
thanks!
will get an auto-reply to that mail. It is important that you read that
auto-reply, because it will tell you how to make the unsubscribe final (with a
secret code contained in the auto-reply email). This is to avoid that a
malevolent third party would unsubscribe you (or me) without our permission
A.J.Mechelynck wrote:
Bob Li wrote:
thanks!
To unsubscribe from the Vim list:
1. Send an email to [EMAIL PROTECTED] -- the Subject and body can
[...]
Oops! [EMAIL PROTECTED]
hi, but how do I know whether my Cygwin support the mouse or how to
make it support.
Best Regards,
sun
If it's a Cygwin build, you may need to make sure that Cygwin can get mouse
actions (which may need running the gpm daemon, or something) and that Vim has
the corresponding feature
I recently installed vim 7.x and I'm very impressed with all the new
features, especially the new tab stuff ..
On the other hand, I'm sorry to say that there is _ONE_ feature that's
literally driving me _NUTS_.
If I hit the CTRL-P combo by accident .. p is very close to [ ..
and I use CTRL-[ a
of the absolute evils of the web .. I'm
unsure why this should have become a default feature of the current
version vim and I sincerely hope it will cease to be the default with
the next release.
I don't really see how this relates to the Internet, but I for one find
this feature highly useful
cga2000 wrote:
I recently installed vim 7.x and I'm very impressed with all the new
features, especially the new tab stuff ..
On the other hand, I'm sorry to say that there is _ONE_ feature that's
literally driving me _NUTS_.
If I hit the CTRL-P combo by accident .. p is very close to [ ..
whenever you hit Return in Insert mode. What more do you want?
...or at least that's how I think it works.
o, now I get your point. This mapping indeed inserts the space.
However, I think the disavantage of this way is one has to append all
inserting commands, e.g, o O, with .BS.
Best regards
Gary Johnson schrieb:
On 2007-04-16, fREW [EMAIL PROTECTED] wrote:
On 4/16/07, Tom Whittock [EMAIL PROTECTED] wrote:
What I need is to always keep the auto-indented spaces. So next time
I can start to insert from the spaced cursor.
Alternatively use cc to edit the ostensibly blank line.
Hi all,
When type '(',how to autocommplete ')'?And move the cursor in the (_).
Also the '{', autocommplete the '}' in a new line. And insert the
cursor in a new line.
Like this:
{
_
}
Thanks.
---
Best regards
陈方荣
hello,
I know that both vim and gvim can jump from one window to another by
clicking the mouse, also many other easy facilities.
Here I am using cygwin under XP and my gvim works fine with mouse, but
the vim doesn't in both cmd.ext environment and xterm cases.
Please help me.
Best Regards,
sun
sun wrote:
hello,
I know that both vim and gvim can jump from one window to another by
clicking the mouse, also many other easy facilities.
Here I am using cygwin under XP and my gvim works fine with mouse, but
the vim doesn't in both cmd.ext environment and xterm cases.
Please help me.
Best
Please search before you ask.
http://tech.groups.yahoo.com/group/vim/message/29162
next time
I can start to insert from the spaced cursor.
The typing S is a reasonable way although I really want to know how to
change indent-deleting behavior for a empty line in vim.
Best Regards,
sun
sun [EMAIL PROTECTED] wrote on 2007-04-16 15:57:21:
What I need is to always keep the auto-indented spaces. So next time
I can start to insert from the spaced cursor.
The typing S is a reasonable way although I really want to know how to
change indent-deleting behavior for a empty line
What I need is to always keep the auto-indented spaces. So next time
I can start to insert from the spaced cursor.
Alternatively use cc to edit the ostensibly blank line. This will open
the line using the correct auto indent. Get into this habit and it
doesn't matter what state the line was
On 4/16/07, Tom Whittock [EMAIL PROTECTED] wrote:
What I need is to always keep the auto-indented spaces. So next time
I can start to insert from the spaced cursor.
Alternatively use cc to edit the ostensibly blank line. This will open
the line using the correct auto indent. Get into this
Return, hit dot,
hit backspace, i.e., the insertion-deletion game is played automatically
whenever you hit Return in Insert mode. What more do you want?
...or at least that's how I think it works.
Best regards,
Tony.
--
Speer's 1st Law of Proofreading:
The visibility of an error
Dear all,
The question is:
When I insert a line then Esc to edit other place, vim of C filetype
delete the auto-indented space. But i want to keep the indent there
for the future editing? Then how to make the auto-indent always insert
the indent-space regardless whether the line is empty
sun wrote:
Dear all,
The question is:
When I insert a line then Esc to edit other place, vim of C filetype
delete the auto-indented space. But i want to keep the indent there
for the future editing? Then how to make the auto-indent always insert
the indent-space regardless whether the line
1 - 100 of 726 matches
Mail list logo