Tip #413: Drag and Drop file names into VIM's command line
tip karma |
Rating 20/18, Viewed by 1371
|
created: |
|
January 29, 2003 23:55 |
|
complexity: |
|
basic |
author: |
|
Thomas Ramming |
|
as of Vim: |
|
6.0 |
You can open files in VIM by Drag&Drop; of selected file names from Windows Explorer. (not very surprising).
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.
<<Easy menu-style switch between files with a simple map |
Change guifont to see more of your file. >>
Additional Notes
|