Max: insert an 'x' on the line in the middle of the current buffer
Dyckhoff: delete to end of line and insert "ff" on a new line above ('k' goes
up a line, 'o' starts insertion on new line below)
:)
I think it would be fun to find a real name which did something actually
interesting in vim.
Ma
Thanks Tony,
A.J.Mechelynck wrote:
> Keeping things around is one thing, keeping them in memory is another. By
> using ":set hidden" you _tell_ Vim to keep in memory the _whole data_ of every
> single buffer you visited during the current session, which IMHO is a little
> overdoing it. By setting
On 4/4/07, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 4/4/07, Max Dyckhoff <[EMAIL PROTECTED]> wrote:
>> I do have 'hidden' set, because I like to keep things around.
>> :ls! shows that I currently have about 550 buffers open. we do
>> have a large co
On 4/4/07, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> Max,
>
> I recalled two more things. Is your 'hidden' option set ? If it's set,
> vim *will* grow. With 'hidden' set, vim will keep in memory much data
> about old buffers. If you want to minimize memory, first thing you'd do is
> ':set nohidden
My instance of vim (gvim on Windows) appears to have a memory leak, which makes
me sad. Is this a common thing for everyone, or is there something in my setup
which might be causing it? It's pretty serious.
When I start gvim and load my standard session, it will take up about 86MB of
RAM. This
" something random to
remove the error!
Max
> -Original Message-
> From: Meino Christian Cramer [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 12, 2007 7:30 PM
> To: Max Dyckhoff
> Cc: [EMAIL PROTECTED]; vim@vim.org
> Subject: Re: Fil
You want Hari's LookupFile plugin, which you can find on vim.org. It's awesome,
and has speeded up my development massively. It does exactly what you want, in
almost exactly the way you suggest.
Max
> -Original Message-
> From: Erik Bergman [mailto:[EMAIL PROTECTED]
> Sent: Monday, Febr
Sessions should do what you want. You can look at :help session for more
information, but this is basically what I do:
1. Open the files that you want, in tabs (I typically have three tabs with
source files, a tab with my todo.otl file, another with some init files and
another with my .vimrc).
If you run make with an ! at the end of the command (:make!) then it will not
jump to the first error generated.
Max
From: Ilia N Ternovich [EMAIL PROTECTED]
Sent: Monday, February 05, 2007 11:26 PM
To: vim@vim.org
Subject: :copen annoying trouble
Hi!
W
My suggestion: implement a reverse captcha. There is no additional overhead for
users, and friends of mine who have implemented it have found that it foils the
spammers, at least for now, with very little work.
http://damienkatz.net/2007/01/negative_captch.html
Max
> -Original Message
> To: Phil Edwards
> Cc: Max Dyckhoff; vim@vim.org
> Subject: Re: Clearing undo history after a file write
>
> >> The easiest thing to do would probably just to do :e after
> >> your :w. :e will re-read the file, wiping the undo buffer.
> >
> > Ah, didn&
The easiest thing to do would probably just to do :e after your :w. :e will
re-read the file, wiping the undo buffer.
Max
> -Original Message-
> From: Phil Edwards [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 05, 2007 9:26 AM
> To: vim@vim.org
> Subject: Clearing undo history after
I'm afraid I have no idea, but :help nmap showed this gem which I had to share.
:nunmap can also be used outside of a monastery.
Max
> -Original Message-
> From: Zheng Da [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 04, 2007 1:31 PM
> To: vim
> Subject: How to map arrow ke
Do you have a CursorHold au command? Do this to find out:
:au CursorHold
If you do then you are getting the same issue as I do in a lot of places.
Apparently the CursorHold au will generate some input command which will
override pending commands. If you have "showcmd" set then you can s
I use =a{ all the time. I often write blocks of code using snippets from other
places (function prototypes, member variables, conditionals, and so on), and
=a{ will format just that block.
It also looks vaguely like a smiley face, which is nice :)
Max
> -Original Message-
> From: Kim
Use to indicate the linebreak.
:ab foo {{"abs"},{ _,_,_,_,},{ a,b,c,d},}
Max
> -Original Message-
> From: frank wang [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 09, 2006 4:06 PM
> To: vim@vim.org
> Subject: how to abbrevate multiple lines?
>
> Hi,
> I want to abbreavte multiple
me text
5. Visual block select some text ()
6. Press "r" to replace text
7. Wait 'updatetime'
Max
> -Original Message-
> From: Tim Chase [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 09, 2006 3:25 PM
> To: Max Dyckhoff
> Cc: vim@vim.org
>
Forgot to mention:
I'm running gvim 7.0 with patches 1-135 on Windows XP. Apologies if this has
been fixed in a more recent patch.
Max
> -Original Message-
> From: Max Dyckhoff [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 09, 2006 2:18 PM
> To: vim@vim
This isn't something I do ever, but it happened accidentally to me just now and
it looked wrong. It looks like it could be related to an earlier issue I had. I
have an :au CursorHold to generate tags (although I may remove this, as I have
better ideas on how to do it).
Repro steps:
1. visual b
":help gf" says:
Uses the 'isfname' option to find out which characters
are supposed to be in a file name.
My 'isfname' includes '=', even though I don't think I have ever seen a file
with '=' in the name. If you want to disable this behaviour then add this to
your .vimrc.
find anything else useful.
Thanks for everyone's suggestions and help!
Max
> -Original Message-
> From: Gary Johnson [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 20, 2006 3:22 PM
> To: vim@vim.org
> Subject: Re: Problems with <<
>
> On 2006-10-20, Max
gt; To: vim@vim.org
> Subject: Re: Problems with <<
>
> 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).
ideas as to what I could try?
Cheers,
Max
> -Original Message-
> From: Charles E Campbell Jr [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 20, 2006 12:11 PM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Problems with <<
>
> Max Dyckhoff wrote:
>
&
.vim ISN'T . I shall
make them and see if that fixes it :)
Still, why would << trigger ,,? And yes, I know that < is -, :)
Max
> -Original Message-
> From: David Thompson [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 20, 2006 11:28 AM
> To: Max Dyck
ould be
waiting for <<. Can anyone help me please?
Thanks in advance!
Max
--
Max Dyckhoff
AI Engineer
Bungie Studios
>From :help visual-operators
Note that the ":vmap" command can be used to specifically map keys in Visual
mode. For example, if you would like the "/" command not to extend the Visual
area, but instead take the highlighted text and search for that: >
:vmap / y/"
I would suggest not us
You could just use 'gf' to open the file under the cursor, assuming that it
lies in your path. ^wgf will open it in a new split, just like ^w^] does for
tags.
If that isn't an acceptable solution, I don't have any other suggestions.
Max
> -Original Message-
> From: David Thompson [mail
I am almost certain that this has been asked before, and I am almost sure that
the answer is "no, that would be silly", but I can't find anything in the
archives, in :help or on Google in general. I am suffering the aftereffects of
a bout of flu today, so perhaps I'm just being bad at searching.
Has spell been turned off by something? If you enter
:verbose set spell?
does it tell you if some plugin has been messing with your spell settings
FWIW: I tried this and it worked. Opena clean instance of vim, :set spell,
this is a tset (observe highlighting), :set ft=mail (observe
highlightin
You might want to look at mark.vim, which sounds like it should fit your needs.
I find it invaluable for having multiple search items highlighted at once.
http://www.vim.org/scripts/script.php?script_id=1238
Max
> -Original Message-
> From: Eric Smith [mailto:[EMAIL PROTECTED]
> Sent: W
PDF files need to be edited with a specific editor, because they contain
non-human readable structure and encodings. Your request is similar to asking
if you could edit a JPEG with vim.
If it is just a PDF of a text file then you should simply be able to copy/paste
the text into your favourite
onds realigning
the else if parameters, but it'd be nice if it just worked!
--
Max Dyckhoff
AI Engineer
Bungie Studios
Hari's new plugin LookupFile is a great use of tags, I use it dozens of times a
day!
http://www.vim.org/scripts/script.php?script_id=1581
Max
> -Original Message-
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 06, 2006 11:45 AM
> To: Kim Schulz
> Cc: vim@vim.org
I am also using gvim 7 under WinXP :)
Max
> -Original Message-
> From: Manu Hack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 27, 2006 2:50 PM
> To: Max Dyckhoff
> Subject: Re: Autoread in tab
>
> I forgot to say I was talking about gvim 7 under WinXP, if t
autoread seems to work for me, although sometimes I need to move the cursor
around in the buffer to make it reload. To force a reload just enter :e, which
will re-read the current buffer.
Max
> -Original Message-
> From: Manu Hack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 2
Addendum:
You actually have to drag with the mouse. Just double clicking on a word will
not cause this erroneous behaviour. [1-4]-clicking and then dragging will make
it happen.
Max
> -Original Message-
> From: Max Dyckhoff [mailto:[EMAIL PROTECTED]
> Sent: Thursday, Sep
:he means :help, so :he 'title' is suggesting that you read the help file for
the solution that you need. Including :he 'title' in your .vimrc will upset
things :)
Max
> -Original Message-
> From: Larry Alkoff [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 21, 2006 4:19 PM
> To:
Having just activated scrolloff=4 (which is great!) I have noticed one small
bug in gvim.
If you do a visual select using the mouse, then the scrolloff will be entirely
ignored.
1. Select some text with the mouse.
2. Use the keyboard to move the cursor up to the top of the window.
3. Watch the
From: Meino Christian Cramer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 14, 2006 7:21 PM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Two """problems"""
>
> From: Max Dyckhoff <[EMAIL PROTECTED]>
> Subject: RE: Two "&quo
I can't offer anything else immediately (I have a load of mappings and
functions but they are all pretty tailored to my needs!), but I was interested
why you would want to split a line in two like that. Can you give us an example?
I'm not criticising, I'm just nosy :)
Max
FWIW: the most recent
:set matchpairs+=<:>
That adds < and > as a pair to be matched by %, and also by the MatchParen
script in vim 7.0.
Hope that helps!
Max
> -Original Message-
> From: Peng Yu [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 13, 2006 5:41 PM
> To: vim@vim.org
> Subject: How pair <>
:help mark
:delm[arks] {marks} Delete the specified marks.
Just type ":delm a" and you're done.
Max
> -Original Message-
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 13, 2006 10:46 AM
> To: Vim User Mailing List
> Subject: how unset mark 'a
>
> How to u
It seems like you are just trying to join groups of three lines, which you can
do very easily using this following command:
:g/./j!3
Hope that helps!
Max
> -Original Message-
> From: Nikolaos A. Patsopoulos [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 13, 2006 8:48 AM
> To: v
What do you mean by "the actual bytes"? Do you mean something like this:
ff ->
At any rate, I think you would be best suited to use Perl/awk/sed to do the
conversion, rather than using vim. Vim is for editing text, not manipulating
data! :)
Max
> -Original Message-
>
ue). Anything I should be doing?
Cheers,
Max
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 05, 2006 8:36 AM
> To: Max Dyckhoff
> Subject: ezmlm warning
>
> Hi! This is the ezmlm program. I'm managing the
> vim
If you use :make! instead (note the !) then the first error will not be opened
(:help :make)
As for forcing vim to open the file in another window, look at the 'switchbuf'
option (:help switchbuf). It looks like you probably want switchbuf=split
(that's what I use!)
Hope that helps,
Max
> -
I am so dense sometimes, I should have thought of that instantly :)
Max
> -Original Message-
> From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 02, 2006 3:45 PM
> To: Max Dyckhoff
> Cc: Paul Irofti; vim@vim.org
> Subject: Re: :cd and :E
>
>From :help :E, it looks like it is the correct behaviour.
:Explore[!] [dir]... Explore directory of current file
If you want to explore an arbitrary directory, then just add the
directory that you :cd into to the :E command. I don't know of a command
to browse the current working direc
> Omnicompletion++:
> ---
> (snip!)
> (and please kill the pink color - it is really ugly)
I don't really have any other comments, other than you can change the
pink by adding this to your .vimrc:
hi Pmenu guibg=DarkRed
I agree, the pink is heinous :)
Max
Thanks for expanding on my bug report. I have explicitly added Bram to
this email, just to flag it to him.
Max
> -Original Message-
> From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 28, 2006 3:18 PM
> To: Max Dyckhoff
> Cc: vim mailing list
> Subject: R
should be reported here!
Cheers,
Max
--
Max Dyckhoff
AI Engineer
Bungie Studios
(while genius) isn't really a valid
solution, and anyway the timeout happens for all multi-character
mappings like q, g, etc.
Thanks!
Max
> -Original Message-
> From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 1:25 PM
> To: Max Dyckhoff
>
!
Max
> -Original Message-
> From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 12:36 PM
> To: Max Dyckhoff
> Cc: vim mailing list
> Subject: Re: (t)timeout
>
> Max Dyckhoff wrote:
> > Recently something rather annoying has sta
:e reloads the current file.
Max
> -Original Message-
> From: Lev Lvovsky [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 11:45 AM
> To: vim@vim.org
> Subject: reopen?
>
> assuming a file has been changed underneath vim, and I know about it,
> how can I reopen that file replaci
Recently something rather annoying has started happening; key codes have
started occasionally timing, despite my express desire for them to never
time out. notimeout and nottimeout are both set.
If I move to a place in the file and type ^W quickly and then pause
before typing ], then it will timeo
Bram, you have an overflow in your signature :)
Max
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 1:44 PM
> Subject: Re: Patch (Unofficial): Malformed characters in menu and
toolbar
> when using zh_CN.GBK encoding under Linux
>
He means when using the script that he wrote and which he was discussing
in the same email, which remaps ctrl-w o to do something else.
Max
> -Original Message-
> From: Rodolfo Borges [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 11:43 AM
> To: vim@vim.org
> Subject: Re: Sho
I personally have never found the need to actually hide the other
windows, but I do always keep the current window maximised. One way to
do this is to set wh=10, but this kills the quickfix window. If you
use the quickfix window a lot (that's the one which shows compile errors
or grep results),
The problem is your setting of backspace. It sounds like currently bs is
equal to "indent,start" or something similar. You need
"indent,start,eol". The easiest way to do this is simply put this in
your .vimrc file:
:set bs=2
That should do it!
Max
> -Original Message-
> From: Ben lemasu
Hari,
That au sounds like a good solution, although it is still mildly
annoying that one can't get a tab variable from a specified tab! :)
Cheers,
Max
> -Original Message-
> From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 04, 2006 11:06 PM
>
to maintain when one closes a tab (and I have better things to
program than that right now! :)
Anyone else know if you can get a tab local variable somehow?
Max
> -Original Message-
> From: A.J.Mechelynck [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 03, 2006 10:32 AM
> To
uot;)" doesn't work).
Thanks in advance!
--
Max Dyckhoff
AI Engineer
Bungie Studios
ed 'redraw!' to my
WinEnter au and all is well with the world again. Thanks for the tip!
Max
> -Original Message-
> From: Tim Chase [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 02, 2006 10:25 AM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Bits of t
I normally run with lots of splits. Recently I started using italics for
various syntax highlighting (especially comments and enum tag values).
Since then I have noticed the ocassional pixel remaining when I switch
from one split to another.
The situation where this happens is pretty reproducable.
y way to say "only make these words keywords of this
type if they haven't been keyworded already"?
I'll just say: it is awesome to see all your keywords nicely highlighted
across the codebase :)
Thanks in advance!
Max
--
Max Dyckhoff
AI Engineer
Bungie Studios
ly 24, 2006 5:15 PM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Other European languages on a US keyboard
>
> Max Dyckhoff wrote:
> > I haven't been following this thread in its entirety, but there are the
> "Windows Alt Keycodes" that can solve your entry
silly American keyboards not having the £ key!).
Max
> -Original Message-
> From: Max Dyckhoff [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 24, 2006 4:04 PM
> To: A.J.Mechelynck; vim@vim.org
> Subject: RE: Other European languages on a US keyboard
>
> I haven't be
I haven't been following this thread in its entirety, but there are the
"Windows Alt Keycodes" that can solve your entry of the œ symbol, and many
others. To enter œ "all" you need to do is HOLD Alt, and then enter 0156 on the
keypad, and then release Alt.
Hardly a stylish solution, but easier
This thread reminded me of an experiment I saw a couple of years ago
that really interested me, given my background in AI.
http://www.visi.com/~pmk/evolved.html
To summarize, a guy is trying to evolve a good keyboard layout by
deriving interesting metrics. A use for genetic algorithms at last!
Re
>From that very page: "Mozex works with both Mozilla and Firebird."
Interesting, I might try that out!
Max
> -Original Message-
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 18, 2006 3:28 PM
> To: Noah Spurrier
> Cc: vim@vim.org
> Subject: Re: Firefox and VIM?
>
>
> > I would guess it's some kind of error highlighting -- semicolons are not
> > allowed inside square brackets (unless they are inside a string or a
> > comment) -- and because the square bracket has not been closed the
> > closing curly brace in line 8 is an error, too.
>
> Is there any way that
though, things like and then a quick
modification of a part of the line in question.
Go vim!
Max
> -Original Message-
> From: Karl Guertin [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 14, 2006 11:37 AM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Motions i
that's what is does in the
ruby
> file I tested this on). So, what's the "a" do in this command? Lord
> knows, anything that annoys my Visual Studio colleagues is all right
> with me.
>
> Scott LaBounty
> Nexa Technologies, Inc.
>
> Max Dyckhoff wrote:
hich
makes me smile every time I use it, and which really annoys my Visual
Studio using colleagues.
Chairs!
--
Max Dyckhoff
AI Engineer
Bungie Studios
it, or type more and
then press again for more refined matches.
Ideas?
Cheers!
Max
--
Max Dyckhoff
AI Engineer
Bungie Studios
As I understand it, the \< and \> tokens represent the beginning and end
of a word. This means that the character immediately after the \< token
must be a word character, namely letters, numbers, and underscore (as
defined by the iskeyword option).
Max
> -Original Message-
> From: Robert
ow it will make vim load up? Will it take ridiculous
amounts of time, or just lots of time?
Cheers!
--
Max Dyckhoff
AI Engineer
Bungie Studios
If you open the file with :view it will set the readonly buffer option
and not give you that warning. See ":help readonly"
Max
> -Original Message-
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26, 2006 9:06 AM
> To: Vim List
> Subject: How to open file readonly from
r.
Salman, your macros were certainly interesting, but they didn't seem to
actually save any time. I can type "case:" as quickly as I can type
",case" :)
Thanks!
Max
> -Original Message-
> From: Tim Chase [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 2
I did a quick search of the interwebs for this, but came up blank. I was
wondering, before I go off and do it myself, if anyone has already made
or heard of a script to fill out C case statements for you.
The number of times that I write something like this in a day is
ridiculous:
switch (some_va
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 17, 2006 12:30 PM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Working directory problems
>
>
> Max Dyckhoff wrote:
>
> > I have some issues with the working directory in vim that I really
>
> c89 is considerably more portable than c99. Out of popular compilers,
> only gcc implements c99 (I know only gcc and VC). c99 is still
> largely ignored by some commercial compiler, notably VC.
> If you want your C code to be widely portable, you'd avoid
> c99, for practical reasons.
How intere
Lerner [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 20, 2006 11:35 AM
> To: Max Dyckhoff
> Cc: Russell Bateman; Vim List
> Subject: Re: how to detect c99 vs c89 (//-comments vs /*-comments)
>
> On 6/20/06, Max Dyckhoff <[EMAIL PROTECTED]> wrote:
> > Can anyone tell
Vim Mailing List
> Cc: Max Dyckhoff
> Subject: Re: Pasting a vertical selection.
>
> Fisrt of all thank you Max for your quick answer.
>
> This solution, doesn't seem to work, when I try to paset with "p" over
> my selection, instead of replacing with the values o
1. Use Ctrl-V and the arrow keys to block select the text that you want
to paste.
2. Yank the text with y.
3. Block select the text that you want to replace.
4. Paste over the selection with the text you copied by pressing p.
Of course if the text you copy in is a different number of lines then it
To answer Yakov's question though, and if he wants to abide by the rules
that he has provided he could do one of two things, so far as my limited
knowledge can tell:
1. Change the file extensions to represent the differences, for example
"foo.c89" and "foo.c99".
2. A nicer way would probably be t
#x27;ll
get to the bottom of it!
MAx
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 17, 2006 12:30 PM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject: Re: Working directory problems
>
>
> Max Dyckhoff wrote:
>
> I give up. The procedure you came up with works for other keys but not
> for (and possibly as well). The function doesn't even get
> called when completion popup is visible. Even for other keys where the
> function gets called, I made several attempts to do what I want and
none
> worked properl
Thank you for your answers.
> See ":help ftdetect". The "augroup" statements are also not necessary.
> The variable "did_load_filetypes" is set to 1 by
> $VIMRUNTIME/filetype.vim (at line 10 in the version for Vim 7.0, lat
> change May 02). Your script is sourced from line 2166 of the same
file,
>
I am having some issues with filetype detection stuff. Here is what I am
doing, so far as I can see I am doing exactly what it says in the help.
1. I am on Windows, my runtimepath is
~/vimfiles,C:\Program Files\Vim/vimfiles,c:\Progam Files\Vim\vim70,
C:\Program Files\Vim/vimfiles/after,~/vimfile
ve it a go! I'm using vim 7, if that helps.
Thanks!
Max
> -Original Message-
> From: Hari Krishna Dara [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 07, 2006 11:16 AM
> To: Max Dyckhoff
> Cc: Gerald Lai; vim org
> Subject: RE: Tab complete filenames
>
&g
> You're working on a large project, so I would advise caution when
doing
> tab completion. If you happened to be waiting on an accidental (slow)
> completion like a, then hit Ctrl-c to stop it.
Yes, I love how vim is nice and intuitive if Linux stuff is ingrained in
your every move :)
> Nope, n
s!
Max
> -Original Message-
> From: Gerald Lai [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 06, 2006 2:40 PM
> To: Max Dyckhoff
> Cc: vim org
> Subject: Re: Tab complete filenames
>
> On Tue, 6 Jun 2006, Max Dyckhoff wrote:
>
> > I am wondering if ther
I am wondering if there is any way to get the tab completion of a
command to open a new file to complete any file in the path, not just
those in the current working directory. Basically, my path variable is:
path=.,c:\...\source,c:\...\source**
and I would like to be able to enter
:sf behavior_f
Mapping arrow keys is easy, you just refer to them by name! Namely,
"UP", "DOWN, "LEFT" and "RIGHT". I use caps, but I don't think it is
necessary.
So if you want to map CTRL-RightArrow, then do something like:
:noremap (your command here)
Tada!
Max
> -Original Message-
> From:
d for A Long Time, and so I put them in a named buffer so that
nothing can stomp on them.
Choose whatever is better for your workflow, is the solution!
Max
> -Original Message-
> From: Tim Chase [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 01, 2006 8:47 AM
> To: Max Dyck
Prefixing the yank and put commands with registers works, but I personally
prefer the following, which just sets the default register to be the system
clipboard. From :help clipboard,
When the "unnamed" string is included in the 'clipboard' option, the
Unnamed register is the sam
I think you want to look at the netrw plugin for vim, which is (as far
as I can remember) installed by default, although I remember that it is
recommended that you download the latest version for full support.
:help netrw
http://www.vim.org/scripts/script.php?script_id=1075
Hope that helps!
Max
Thanks! I'm working on a deadline today but will see if I can integrate
this and make things work on Monday.
Max
> -Original Message-
> From: Eric Arnold [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 26, 2006 5:57 AM
> To: Max Dyckhoff
> Cc: vim@vim.org
> Subject
fixed,
rather it should Just Work?
Thanks!
Max
-Original Message-
From: Eric Arnold [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 24, 2006 8:10 PM
To: Max Dyckhoff
Cc: vim@vim.org
Subject: Re: Working directory problems
I'm not sure how your bound function works. Have you tried
1 - 100 of 106 matches
Mail list logo