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"\n" '$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)
Show replies by date