(Change to TipImported template + severe manual clean) |
(Move categories to tip template) |
||
Line 9: | Line 9: | ||
|version=6.0 |
|version=6.0 |
||
|rating=25/20 |
|rating=25/20 |
||
+ | |category1= |
||
+ | |category2= |
||
}} |
}} |
||
You can open files in VIM by Drag&Drop of selected file names from Windows Explorer. |
You can open files in VIM by Drag&Drop of selected file names from Windows Explorer. |
Revision as of 01:25, 25 April 2008
Tip 413 Printable Monobook Previous Next
created January 29, 2003 · complexity basic · author Thomas Ramming · version 6.0
You can open files in VIM by Drag&Drop of selected file names from Windows Explorer.
This also works by dropping into the VIM command line, so you can e.g. type
':split '
then drag&drop a selected file to VIM window and hit <CR>
The complete path and filename is transferred to commandline and the file is opened in a new VIM buffer/window.
Comments
This also works in an X-Windows environment, such as Linux uses.
:edit <drag file on to Gvim window> <Return> also works as you would expect.
In X, you don't even need to type ":edit" first. Just grab a file from your file manager (like Rox) and drag/drop it into Vim.