LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 06-27-2007, 07:04 PM   #1
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Open multiple files in Vim using Nautilus


I may be mistaken, but I recall being able to open multiple files in the same GVim window when right-click selecting files in Nautilus. I thought I could do this in FC6 (Gnome 2.16). However in F7 (Gnome 2.18) whenever I do that I get multiple Gvim windows.

Anyone know how to change this behavior?

I know that vim-X11 is no longer part of the standard install, is there some missing integration peice? (I installed via yum)
 
Old 06-28-2007, 04:16 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
In FC6, Nautilus opens multiple gvim windows (just verified). Vim-x11 was not part of the standard install in previous Fedora releases (including FC6); I always have to select it during installation or afterwards via yum.
 
Old 06-28-2007, 06:15 PM   #3
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Original Poster
Rep: Reputation: 39
Well thanks for verifying. To clarify, what I meant was that vim-X11 was included on the FC6 media (it isn't on the F7 media).

Question still remains if anyone knows how to get this to work.

As an aside, I use gvim in windows and it gives an option "Open with Single Gvim" or something similar.
 
Old 06-28-2007, 06:31 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
FC7 has three different media; the LiveCD, the Installation DVD, and the Everything set. The vim-X11 rpm is part of the Everything set, so it need to be added post installation.

You can create a script for Nautilus that will do what you want. See this thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there option to open files in background in vim? nadavvin General 1 02-07-2007 06:16 AM
Vim foldmarker with multiple options sadarax Linux - Software 0 12-22-2006 02:09 PM
Nautilus and Gedit fail to open text files zarkon Linux - Software 3 04-06-2005 10:00 AM
vim: Piping through multiple external commands tragos Linux - Software 2 03-19-2005 01:09 PM
multiple files in VIM james.farrow Linux - Newbie 3 07-09-2004 05:46 AM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration