And a DBus method to get the primary selection
Bug #1553587 reported by
Stephen Boddy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminator |
New
|
Wishlist
|
Unassigned |
Bug Description
Original request in a Launchpad Question: "I want to create a custom command to open a file (it is selected the path/name of file in Terminator) with an editor. Is there any keyword to represent the selected text?"
My (maintainer) best way to do this would be to add a DBus call that can be used with remotinator that would get the highlighted text. An bash alias can be used to get the selection, so:
alias tps="remotinator get_primary_
and calling the following would work:
vi $(tps)
For example if a large file was selected. (Personally I would always use Select and middle click, so I'm not sure what exactly this helps with.)
Changed in terminator: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
Just wondering, how is it any simpler than entering
vi <shift-insert>
?