FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-13-2012, 12:21 PM
Dario Lesca
 
Default Nautilus script to open file with VIM

Hi, this is my (useful for me) script to open from Nautilus one or more
text files with VIM:

----------[cut]--------
#!/bin/bash
# ~/.gnome2/nautilus-scripts/Open with VIM

quoted=$(echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" |
awk -F"
" '$1 {printf ""%s" ", $1 }')

gnome-terminal -e "vim $quoted" &
--------[cut]------------

Hope this help

Bye
--
Dario Lesca - sip:dario@solinos.it
(Inviato dal mio Fedora Linux)

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 12:56 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org