Pressing Win-E is an easier way to start Explorer, if you have a keyboard with the Windows key. To get it to select the current file, use the following: nmap :!start explorer /select,%:p imap To combine options to windows commands just put a comma between them. So to combine the examples given above do: :!start explorer /e,,%:p:h,/select,%:p For OS X users: nmap f :!open %:p:h Just a little bit more useful: nmap :silent !start explorer /e,,%:p:h,/select,%:p
Attributes | Values |
---|
rdfs:label
| - Open Windows Explorer showing directory of current buffer
|
rdfs:comment
| - Pressing Win-E is an easier way to start Explorer, if you have a keyboard with the Windows key. To get it to select the current file, use the following: nmap :!start explorer /select,%:p imap To combine options to windows commands just put a comma between them. So to combine the examples given above do: :!start explorer /e,,%:p:h,/select,%:p For OS X users: nmap f :!open %:p:h Just a little bit more useful: nmap :silent !start explorer /e,,%:p:h,/select,%:p
|
Version
| |
dbkwik:vim/property/wikiPageUsesTemplate
| |
Previous
| |
Author
| |
Complexity
| |
Created
| |
ID
| |
NEXT
| |
Rating
| |
abstract
| - Pressing Win-E is an easier way to start Explorer, if you have a keyboard with the Windows key. To get it to select the current file, use the following: nmap :!start explorer /select,%:p imap To combine options to windows commands just put a comma between them. So to combine the examples given above do: :!start explorer /e,,%:p:h,/select,%:p For OS X users: nmap f :!open %:p:h Just a little bit more useful: nmap :silent !start explorer /e,,%:p:h,/select,%:p
|