| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| When I select more than one file in Windows and right-click, the resulting menu contains three options for editing them with vim: Edit with multiples Vims Edit with single Vim Diff with Vim This is alright, but I usually want to edit multiple files with multiple windows in a single vim (i.e. using the :split command). Why is this not an option? I know I can go to the command line and type "vim -o ..." or "vim -O ..." for horizontal or vertical window splits, or just do it manually by using the :split command, but I'd prefer to just use the Windows menu. Is there a way to set this option as part of the menu? Failing that, is there a way to convert multiple files in the vim buffer list to multiple files in split windows in a single instance of vim? Thanks, bgold12 |
|
#2
| |||
| |||
| On Aug 6, 10:49*pm, bgold12 <bgol...@gmail.com> wrote: > This is alright, but I usually want to edit multiple files with > multiple windows in a single vim (i.e. using the :split command). Does this help, if you substitute -p with -o? http://www.vim.org/tips/tip.php?tip_id=1225 |
|
#3
| |||
| |||
| bgold12 <bgold12@gmail.com> wrote: > When I select more than one file in Windows and right-click, the > resulting menu contains three options for editing them with vim: > > Edit with multiples Vims > Edit with single Vim > Diff with Vim > > This is alright, but I usually want to edit multiple files with > multiple windows in a single vim (i.e. using the :split command). Why > is this not an option? I know I can go to the command line and type > "vim -o ..." or "vim -O ..." for horizontal or vertical window splits, > or just do it manually by using the :split command, but I'd prefer to > just use the Windows menu. Is there a way to set this option as part > of the menu? Failing that, is there a way to convert multiple files in > the vim buffer list to multiple files in split windows in a single > instance of vim? To the last question, yes. Execute the command :all See :help 08.6 and scroll down to the end of the section titled, "OPENING A WINDOW FOR ALL ARGUMENTS". -- Gary Johnson |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.