1

Vim の分割ウィンドウ機能を使用するのが好きです。ただし、新しいファイルをさまざまなセクションにドラッグドロップすることはできないようです。そうするだけで、新しいタブが開きます。タブの間をフリックする必要があり、別のウィンドウを使用するのと大差ないので、タブを使用するのは好きではありません。

この動作を変更できる方法はありますか? 同じvimrcファイルを使用して、Windows gVimとImで正常に動作します。

4

1 に答える 1

3

ドキュメントから ( :help macvim-drag):

Dragging files and dropping them on a window opens those files in tabs in that
window, unless Vim is in command-line mode.  In command-line mode the names of
the files are added to the command line.  Holding down modifier keys whilst
dragging is not supported.

If a file is dropped on the Dock icon, it is always opened in a new tab
regardless of the mode Vim is currently in.  The same holds if you
double-click on a file in the Finder.

The "Open files from applications" preference in the General preference pane
gives more options on how dropped files should open, in case tabs are not
desired.
于 2010-05-01T14:30:38.627 に答える