I'd just use an abbreviation
:cabbr desktop c:\docume~1\user\Desktop
Then you can just do:
:e desktop\sub\sub\sub\file.ext
When you hit the \ (or space, or whatever) after desktop the abbreviation will
fill in w/ c:\etc
Be warned that this will do so whenever you type desktop in command
A lot of suggestions have been mentioned, but I didn't see the mozex extension
for firefox/mozilla mentioned. You can set an editor for textareas, view
source, intercept mailto: links, and a lot more.
http://mozex.mozdev.org/development.html
-Original Message-
From: Franco Saliola
Could I ask a follow-up question along these lines?
I've never used \=, but I see it only works at the beginning of the substitute
string and makes the entire replacement an expression. Is there a way to put it
in the middle.
For example, I was thinking if the CSV file had other numbers, and
Since the topic of mapping control+char is being kicked around, can anyone tell
me why my mapping of C-/ doesn't work?
*tim*
I'd try just
cabbr todo GMSend [EMAIL PROTECTED]
The c in front makes it only expand in command line mode, otherwise wherever
you typed todo (such as in email text you were composing) it'd expand.
*tim*
-Original Message-
From: shawn bright [mailto:[EMAIL PROTECTED]
Sent: Sunday,
:s/^\s*//
Add % between : and s to apply it to all lines in the buffer
-Original Message-
From: shawn bright [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 15, 2007 8:14 PM
To: vimlist
Subject: command to delete just whitespace
Hey there, i am looking for a command that will delete all
Then just
d/\S
Delete through first non-whitespace char
-Original Message-
From: shawn bright [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 15, 2007 8:41 PM
To: vimlist
Subject: Re: command to delete just whitespace
ok, let me clarify a bit more. i just need to delete the white
This is a clipboard thing - windows for instance copies stuff in many forms and
pastes it in the form most acceptable to the receiving app - plaintext for vim,
html/rtf for a word processor... Dunno if there's a way for vim to say gimme
html.
I would try looking at your browser. In firefox,
For some reason, even if you set up vim as your source editor, view selection
source still opens in firefox's default viewer... sux
-Original Message-
From: Gene Kwiecinski [mailto:[EMAIL PROTECTED]
Sent: Friday, April 06, 2007 12:43 PM
To: Vincent BEFFARA; vim@vim.org; Kamaraju S
/123\([^4]\|4[^5]\)/
Keep in mind this would match
123ab
As well.
*tim*
-Original Message-
From: Bin Chen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 20, 2007 9:29 AM
To: Vim ML
Subject: replace command
I want to know a command for this:
a word start with 123 but NOT followed
Hi,
I've been given some html which, oddly, is half in nicely quoted
attributes+values:
span class=good
and half not
span class=bad
I'm trying to write a regex to add quotes around the ones without. I can
do this in perl, but not in vim, and I'd like to know what I'm doing
wrong because
:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 2:49 PM
To: vim@vim.org
Subject: Re: FW: Adding quotes around html attribute values
On Tue, Mar 06, 2007 at 11:04:11AM -0500, Timothy Adams wrote:
Hi,
I've been given some html which, oddly, is half in nicely quoted
attributes+values:
Have you
12 matches
Mail list logo