On May 31, 2007, at 3:02 PM, A.J.Mechelynck wrote:
Lev Lvovsky wrote:
I have two files which I'd like to compare via diffsplit in an
existing vim session - trying to do so by issuing ':diffsplit
' when the other one is already in the window gets me
the error:
E97: Cannot
I have two files which I'd like to compare via diffsplit in an
existing vim session - trying to do so by issuing ':diffsplit
' when the other one is already in the window gets me the
error:
E97: Cannot create diffs
I can properly open the diff in a separate instance via 'vimdiff', as
wel
Is there a way for vim to resize windows automatically after a
terminal has been resized (or reattached from a different computer as
in the case of 'screen')?
thanks!
-lev
I'm having a problem with help files which are gzipped not
decompressing. I get the error message 'can't find tag pattern'
after which the gz binary appears on screen. Does anyone know why
this is?
thanks!
-lev
On Apr 4, 2007, at 9:13 AM, Tim Chase wrote:
The visual indicator of the fold-column can help you prevent
overlapping sections, which in turn, should help you avoid the
behavior you see.
Very cool - I didn't have a good idea of what was going on with
folding until I turned this on - thank
I'm experiencing a problem when folding visual blocks - if I have a
section folded directly above another section that I want to fold,
they end up merging once I fold the second section, sometimes they
even add unfolded text to the fold - am I doing something wrong?
thanks!
-lev
From: [EMAIL PROTECTED]
Subject:Re: need help with xml.vim plugin
Date: March 9, 2007 1:00:00 PM PST
To: [EMAIL PROTECTED]
On Mar 9, 2007, at 12:36 PM, A.J.Mechelynck wrote:
":ftplugin type on" should get you "E492: Not an editor command:
On Mar 9, 2007, at 12:08 PM, [EMAIL PROTECTED] wrote:
Lev,
(I should probably know, but...) Can I use this with Vim 6.x? I'm
one of
those who takes forever to get around to sharpening the saw and just
haven't bothered with 7 yet.
Russ
You know, it looks like it's specified for version 6.0
I'm hoping someone can help me with this problem, as it would be
really nice to get the XML plugin working.
I've downloaded the plugin described here:
http://www.vim.org/scripts/script.php?script_id=301
I've put the file both in my local ftplugin, and plugin directory,
and set ':ftplugin ty
On Feb 27, 2007, at 6:57 AM, Charles E Campbell Jr wrote:
Lev Lvovsky wrote:
I'm sure there's a fancy word for this, but is there any way to
pull text to the right?
suppose I have the following:
COL1 INT,
COL2 INT,
COL3 INT,
I'd like to get "CO
Thank you for everyone's help so far (reply below)
On Feb 27, 2007, at 12:48 AM, Yakov Lerner wrote:
On 2/26/07, Lev Lvovsky <[EMAIL PROTECTED]> wrote:
I'm sure there's a fancy word for this, but is there any way to pull
text to the right?
suppose I have the follow
I've a couple of visual selection questions:
1. with blockwise, is there any way when using 'p' after yanking,
that it would add as many lines below the one I'm pasting to, as I'm
pasting? Currently a blockwise yank and subsequent paste simply
replaces that a block of the same size in the
I'm sure there's a fancy word for this, but is there any way to pull
text to the right?
suppose I have the following:
COL1 INT,
COL2 INT,
COL3 INT,
I'd like to get "COL3" aligned to "COL1" and "COL2", but to do that,
I need to put the cursor behind "COL3", hit space severa
I often times rename a file that I'm working on after I realize (or
am told ;) that renaming it is in order. Is there any way I can take
the changes to that "new" file from the buffer along with the new name?
thanks!
-lev
On Feb 21, 2007, at 4:15 PM, A.J.Mechelynck wrote:
[snip very useful advice]
See the other replies in this thread for details.
blargh! I only saw the one reply from Gene (sent to me directly),
and completely missed the long thread actually going on in my vim
folder - reading up on that n
Hi Gene - sorry for the delay in replying -
On Feb 16, 2007, at 8:11 AM, Gene Kwiecinski wrote:
I often find myself copy/pasting via my GUI text that I might have on
the screen, and then pasting it into the command to be performed - is
there any way to cut/paste text into the command area when
I often find myself copy/pasting via my GUI text that I might have on
the screen, and then pasting it into the command to be performed - is
there any way to cut/paste text into the command area when I have it
highlighted with just the keyboard?
thanks!
-lev
Hello, I'm almost positive that this is OT, but if someone point me
in the right direction, that would be great - I'm finding (through
the help of vim actually), that text highlighted and copied from
Terminal (or even X11 xterm) on OS X ends up with an extra space at
the end of a line where
I'm looking for a simple XML plugin that'll do highlighting of XML
documents
I've tried both of the following plugins:
http://www.vim.org/scripts/script.php?script_id=1397
http://www.vim.org/scripts/script.php?script_id=301
And am unable to get even block navigation (%) working. Does the XML
On Dec 11, 2006, at 11:19 AM, Yakov Lerner wrote:
On 12/11/06, Lev Lvovsky <[EMAIL PROTECTED]> wrote:
The feature that I'm looking for specifically is being able to edit a
patch, and have vim do the line numbering math for me. Also the
splitting or combining of hunks.
Isn
On Dec 11, 2006, at 10:07 AM, Yakov Lerner wrote:
You get syntax coloring when editing patches/diffs. Regarding
jumping by chunks and file boundaries -- it's
fairly easy to to map some your 4 keys to these jumps:
Just map your 4 favourite keys to
?^@@@?
/^@@@/
I know I've asked this before, however I might not have explained my
question well enough.
Can vim do something like what's described here:
http://atrey.karlin.mff.cuni.cz/~pavel/patch-mode.html
This is apparently a built-in ability of emacs now, it would be super-
sweet if I could find some
how can I align text under and after the cursor position to a
specific column number? and probably just as important, how can I
find out which column number a cursor is at ;)?
thanks!
-lev
On Dec 1, 2006, at 4:53 PM, Yakov Lerner wrote:
On 12/2/06, Lev Lvovsky <[EMAIL PROTECTED]> wrote:
Can anyone suggest the best way to be able to highlight tabs (versus
softtabs) selectively? meaning, at the push of a button I can have
that feature turned on, and pressing it again turns
Can anyone suggest the best way to be able to highlight tabs (versus
softtabs) selectively? meaning, at the push of a button I can have
that feature turned on, and pressing it again turns it off - all the
while not messing with my search buffer?
thanks!
-lev
On Nov 15, 2006, at 4:41 PM, Mike Rollins wrote:
That much is true. I guess I kept thinking of how bad my carpeted
mats looked instead of thinking brand new carpeted mats...then
again, for the money invested, I'm still not convinced - ~$20 for
rubber mats that look great or at least doub
On Nov 9, 2006, at 9:45 AM, Tim Chase wrote:
It's helpful to understand that the uppercase and lowercase
registers are exactly the same place of storage. Uppercase just
instructs Vim to append rather than overwrite any preexisting
contents.
:help :let-register
:help qu
So I just discovered the wonders of being able to append to named
registers - how though, do I then clear them out once I'm done with
their contents?
thanks!
-lev
For some reason, with the many buffers that I have open, the path
that a particular file takes, is instead of the initial directory
where I started from (which is what I want), the directory that the
file resides in. Trying ":cd", or ":lcd" only temporarily changes
it, and in a few seconds
On Oct 17, 2006, at 4:36 PM, David Thompson wrote:
Why go to the trouble of highlighting it?
Have you discovered the * key? Just press the * key while in
normal mode and vim searches for the word under the cursor.
I have indeed, very useful, however this is for multiple words
separated by
Is it possible to search for a string by selecting that string in
visual mode? Meaning, if I highlight something, and then want to
search for that thing which is highlighted in the rest of the doc?
otherwise, is there a way to copy that string so that I can later put
it into the :/ command
On Oct 16, 2006, at 4:33 PM, Peter Hodge wrote:
You can also try:
inoremap l
which will work a little quicker in a terminal Vim.
works great, thanks!
-lev
On Oct 16, 2006, at 10:31 AM, Charles E Campbell Jr wrote:
Seems a reasonable choice, to me. Any choice would be arbitrary.
Now, to turn it off: don't use insert. Use append.
if you mean 'a' as opposed to 'i' for the modes, it still does the
same thing in my version.
thanks,
-lev
Hello,
I've never actually figured out why upon after typing in insert mode,
the cursor moves back one character to the left after pressing
escape. What's the reason behind this, and is there any way to turn
it off?
thanks!
-lev
I'm using a version control app called darcs, which allows me to view
a diff hunk by hunk, to pick and choose the changes that I want to
apply. darcs aside, is there an in-depth howto for editing patches
and such? Specifically, I'm looking for a way to split single hunks
into two hunks, w
cool, thanks for the help guys!
-lev
On Aug 28, 2006, at 11:31 AM, Tim Chase wrote:
for the lazy, is there any way to automatically append vim
options to the ~/.vimrc file?
I presume that there are select options that you want to preserve.
You could do something like this *untested* script
for the lazy, is there any way to automatically append vim options to
the ~/.vimrc file?
thanks :)
-lev
assuming a file has been changed underneath vim, and I know about it,
how can I reopen that file replacing the current file's buffer contents?
thank you!
-lev
On Aug 24, 2006, at 12:49 PM, Charles E Campbell Jr wrote:
Does this only work horizontally? Seems that there is limited
ctrl-w vertical functionality.
:vert sta word
does a vertical split. You may define a mapping to do that in your
<.vimrc> if you wish.
ahh, perfect! the "vert" wa
In regards to moving around buffers, is there any way to move between
the last two buffers that were worked on? Meaning, if I have 10
files in buffers, and I'm working on buffer 5, switch to buffer 8,
how can I switch back to buffer 5 without knowing its number (but
knowing it was the last
can vim keep track of each file's undo history, so that when
switching between two or more files, the undo history is reloaded, or
does one need to write the history to a file before switching?
thanks!
-lev
On Aug 8, 2006, at 1:04 PM, Charles E Campbell Jr wrote:
Lev Lvovsky wrote:
When following a tag through to the file where it's defined, is
there any way to get vim to keep the existing window open, and
simply open (vertically and/or horizontally) a new window as
opposed to repl
When following a tag through to the file where it's defined, is there
any way to get vim to keep the existing window open, and simply open
(vertically and/or horizontally) a new window as opposed to replacing
the existing one?
Also, somewhat related - I'm using the TagList plugin, and I'd l
On Aug 4, 2006, at 10:56 AM, Tim Chase wrote:
Thanks Tim - is that to say that this functionality doesn't
exist in vim?
It doesn't exist exactly as you describe. You can highlight all
hits of the thing actually searched for (":set hls"), and you can
highlight the current word incremental
Thanks Tim - is that to say that this functionality doesn't exist in
vim?
-lev
On Aug 4, 2006, at 10:47 AM, Tim Chase wrote:
:help incsearch
:help hls
Using 'incsearch' doesn't highlight them all as you type, just the
current match. However, with 'hls' set, once you hit enter, it
will h
Thanks everyone for your help on this! The advice below seems to be
all that I need.
I forgot to ask one last thing - if I'm searching for something in a
text file, can I have vim select every existing string that matches
up to what I've typed at that point? Meaning, if the first two
ch
I recently started work at a company where the predominant text
editor happens to be emacs. I've been using vim for a while now,
though only recently started getting into the more advanced
functionality beyond simple editing (highlighting, folding, tags
etc...). Watching one of my co-work
47 matches
Mail list logo