To comment/uncomment a visual block, just type \x.
and also you can map this key to any other keys
dan123 wrote:
dan123 wrote:
Xi Juanjie wrote:
If you just want to comment/uncomment your source in a easy way, try
this plugin EnhancedCommentify
I am a newbie. How to use it? I installed
From: OnionKnight [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Troubles configuring vim (multi-questions)
Date: Thu, 12 Apr 2007 17:22:06 -0700 (PDT)
[deleted]
* I wanted the Home-button to act so that it first jumps to the first
non-whitespace character of the current line (i.e. skip the
Hi,
First, some background.
At my work I spend a lot of time editing data files in CSV format.
Because some of the lines can have many empty fields (it's not unusual
to have 20+ empty fields consecutively) I've developed a function which
allows me to toggle highlighting of every 5th and 10th
Xi Juanjie wrote:
To comment/uncomment a visual block, just type \x.
and also you can map this key to any other keys
dan123 wrote:
dan123 wrote:
Xi Juanjie wrote:
If you just want to comment/uncomment your source in a easy way, try
this plugin EnhancedCommentify
I am a
As a convert from the dark side, I'm still learning Vim and have started to use
it for editing mails (from mutt) to get some practice. One thing that I haven't
managed to find is how I get rid of the (what I think) is some smart indenting
after ( , ), / and , So if I type
Hello all,
and press
Typically, just after I sent my message I realised how to do it - just
use 'cterm=NONE'.
Spencer
--
Eagles may soar, but weasels don't get sucked into jet engines
8:53am up 44 days 15:36, 20 users, load average: 0.32, 0.28, 0.27
Registered Linux User #232457 | LFS ID 11703
:help autoindent
Tomas Pihl wrote:
As a convert from the dark side, I'm still learning Vim and have started to use
it for editing mails (from mutt) to get some practice. One thing that I haven't
managed to find is how I get rid of the (what I think) is some smart indenting
after ( , ), / and ,
Spencer Collyer [EMAIL PROTECTED] 写于 2007-04-13 15:55:48:
Typically, just after I sent my message I realised how to do it - just
use 'cterm=NONE'.
Spencer
This is not perfect, since it removes ALL properties.
Suppose something is highlighted as cterm=reverse,underline,bold
The cterm=NONE,
Hi,
Tomas Pihl wrote:
As a convert from the dark side, I'm still learning Vim and have started to
use
it for editing mails (from mutt) to get some practice. One thing that I
haven't
managed to find is how I get rid of the (what I think) is some smart indenting
after ( , ), / and , So if
OnionKnight wrote:
inside a script you're in command-mode, and the command w you've meant
to should be in normal-mode, the correct way might be :normal w, :normal
g0w, etc...
Couldn't find anything about command-mode. How is it different from normal
mode? Is each line treated as one command?
* Jürgen Krämer [EMAIL PROTECTED] [2007-04-13 10:20:33 +0200]:
probably the cindent option is set. You can check this (and from where
it has been set) with
That was the option! Thanks for the help!
/topi
Ananya M (RBIN/ECM1) wrote:
Hi,
I m very new to Vim. But I'm smitten by it nevertheless.
I use Gvim 7.0. I also have cygwin installed in my winnt system. Cygwin
defines $HOME to a network drive and places its own .vimrc file in it.
I don’t want gvim to use this rc file since it sits on a
Thank you for the useful info.
I've two more annoying problems:
1. Whenever I try to edit my rc file using :e $MYVIMRC or :e
$VIM/_vimrc, gvim just hangs. It opens the rc file (I can see the file
attributes being displayed, and a swap file is created) but the contents
are not seen. No response
陈方荣 wrote:
---
Best regards
陈方荣
-邮件原件-
发件人: Tim Chase [mailto:[EMAIL PROTECTED]
发送时间: 2007年4月13日 :09:44
收件人: Ricky Zhou
抄送: 陈方荣; Vim
主题: Re: [Help]How can I add some char before a block?
How can I add some char before a block? Just like C++
comment.
Use V
Easwy Yang wrote:
If you use Vim in windows, see here:
http://www.vim.org/tips/tip.php?tip_id=1440
http://www.vim.org/tips/tip.php?tip_id=1314
In Unix, you can use
gvim --remote-tab-silent filename
But there's no way to do that for just the drag-and-drop operation in gvim?
--
View
On 4/13/07, OnionKnight [EMAIL PROTECTED] wrote:
Couldn't find anything about command-mode. How is it different from normal
mode?
Dont confuse 'commandline mode' with 'command mode'.
'comand mode' is same as 'normal mode', they are synonyms [1].
'commandline mode' is a mode which you enter
Are there any plans to make the highlight-the-matching-thing
feature disabled by default in a future release of Vim ?
--
André Majorel URL:http://www.teaser.fr/~amajorel/
Do not use this account for regular correspondence.
See the URL above for contact information.
OnionKnight wrote:
* Is it possible to make the cursor stay at it's position even after
scrolling it out of view?
Not at the current time.
* At the beginning of an indented line, why does normal mode put the cursor
at the end of the first tab whereas insert mode is position at the
lo there,
i am using visual mode and shift to indent a block of code.
the problem i am having is that once i do this, the visual mode is
gone. So, i have to re-select everything and do it again. Is there a
command to repeat the last shift ?
or better yet, is there a better way to shift code
i am using visual mode and shift to indent a block of code.
the problem i am having is that once i do this, the visual mode is
gone. So, i have to re-select everything and do it again. Is there a
command to repeat the last shift ?
Think I ran into this once/twice, and yeah, I vaguely recall
I'm not entirely sure what you want here; does having
set nosol
in your .vimrc help?
No it didn't make a difference. When you put the cursor in normal mode over
a tab character, which spans several characters, the cursor will be
displayed at the end of that area whereas insert mode will put the
i am using visual mode and shift to indent a block of code.
the problem i am having is that once i do this, the visual mode is
gone. So, i have to re-select everything and do it again. Is there a
command to repeat the last shift ?
or better yet, is there a better way to shift code right and
Op vrijdag 13 april 2007, schreef shawn bright:
lo there,
Hi
i am using visual mode and shift to indent a block of code.
the problem i am having is that once i do this, the visual mode is
gone. So, i have to re-select everything and do it again. Is there a
command to repeat the last shift
If you know you want to operate on teh same visual block and move it in the
same direction.. you could just repeat the operation with . Otherwise, you can
reselect the visual are with gv to move it in the other direction
-dan
On Fri, 13 Apr 2007, Gene Kwiecinski wrote:
i am using visual mode
On Fri, 13 Apr 2007, Gene Kwiecinski wrote:
5
to shove it over 5 shiftwidths.
Also gv recovers the visual selection.
fwiw,
Alan Isaac
[...]
Swt. Lotta things I didn't know about, should come in handy, tnx!
Especially the } thing. Man, can't tell you how many times I just
eyeball code and do things like
10
whups, make that
15
bah, too many...
14
Ah, better.
and so on.
If you know you want to operate on teh same visual block and move it in
the
same direction.. you could just repeat the operation with . Otherwise,
you can
reselect the visual are with gv to move it in the other direction
Yeh, the tips from you, Tim. and Alan, are all gonna come in handy.
I've
i absolutely agree! tim, great tip... i will use } tons!
On Fri, Apr 13, 2007 at 01:32:54PM -0400, Gene Kwiecinski wrote:
[...]
Swt. Lotta things I didn't know about, should come in handy, tnx!
Especially the } thing. Man, can't tell you how many times I just
eyeball code and
Swt. Lotta things I didn't know about, should come in handy, tnx!
Especially the } thing. Man, can't tell you how many times I just
eyeball code and do things like
10
whups, make that
15
bah, too many...
14
Ah, better.
Glad it
Eg, when deleting whole blocks of the same repetitive code
(eg, consolidating multiple tables into just one big-ass
table, and just need to delete the end-table from table N, and
the begin-table for table N+1), I'll visually select the text
to be deleted, note the status line that says
Seconded. Built-in gdb integration (whether it be with vimgdb or any
other solution) would be quite handy.
-tom
On 4/12/07, Tobias Pflug [EMAIL PROTECTED] wrote:
Am Donnerstag, den 12.04.2007, 17:18 +0200 schrieb Tobias Pflug:
hi everyone,
I was wondering how likely inclusion of the
For some reason autoindent go turned on again with Vim 7.0.
In earlier versions, I disabled it via set textwidth=0 at the bottom
of my .vimrc, however, now, somehow this setting is being overwritten
somewhere, and textwidth is being set to something else (i.e 78 last
I checked).
How do I fix
For some reason autoindent go turned on again with Vim 7.0.
In earlier versions, I disabled it via set textwidth=0 at the bottom
of my .vimrc, however, now, somehow this setting is being overwritten
somewhere, and textwidth is being set to something else (i.e 78 last
I checked).
Well,
[EMAIL PROTECTED] wrote:
For some reason autoindent go turned on again with Vim 7.0.
In earlier versions, I disabled it via set textwidth=0 at the bottom
of my .vimrc, however, now, somehow this setting is being overwritten
somewhere, and textwidth is being set to something else (i.e 78 last
I
Hi,
you can look at this manual here:
http://wiki.mutt.org/?MuttFaq/Charset
I think it is your terminal or your locale settings.
It didn't work for me with normal xterm so I had to use uxterm.
You can try if it works for you too.
Secondly, some email clients don't set the charset correctly.
Mutt
I normally use a plugin for commenting:
http://www.vim.org/scripts/script.php?script_id=23
For inserting chars before a block I use ctrl-v
and then I to insert code.
,
Dimitar
* 陈方荣 [EMAIL PROTECTED] [070413 07:10]:
Hi all,
How can I add some char before a block?
hi,
I found vimcommander which is a wonderful file management script for vim, but
when I select a file, say foo.pdf, it just open it in vim, not xpdf I expect,
so I have a question, whether vimcommander can use other progam to open the
file and how, or it's taget is just simple file
37 matches
Mail list logo