2016-04-11 10 views
1

Geany metin editörünün büyük bir hayranıyım. Python, C ve basit bir metin editörü olarak kullanmak için kullanıyorum.Geany: Geany metin editöründen bir web sitesi bağlantısı açabilir miyiz?

Sorum takip ediyor:

Bir dosya example.txt açmış ve içerdiği varsayalım: Ben herhangi bir tarayıcıdan bu metin kodu ve açık seçebilir herhangi bir yolu

https://www.youtube.com/ 
www.youtube.com 

var mı? Geany metin editöründen bir web tarayıcısında (firefox olarak) doğrudan verilen bağlantıyı açabileceğim herhangi bir eklenti veya herhangi bir geçici çözüm var mı?

Benim intitial girişimi şu şekildedir: Sonra

Edit > Format > Send Selection to > Set Custom Commands > firefox 
Edit > Preferences > Keybindings > Send to Custom Command 1 > primary 1 

, ben adımları izleyerek vermedi: Ben firefox https://www.youtube.com & yazarsanız, ancak, bu herhangi bir hata olmadan youtube açar

selected the text "https://www.youtube.com/" 
then press ctrl 1 
then, the text "https://www.youtube.com/" vanishes 
and, empty firefox is opened 

Not.

Sorumu seçtiğim, metni seçip ctrl 1'in aynı web sitesini açması durumunda yapabileceğimiz bir şey yapabilir miyiz?

ilgili bazı bağlantılar

şunlardır: bağlantı olduğunu varsayalım:
https://askubuntu.com/questions/312677/how-to-set-custom-commands-in-geany?rq=1
http://www.geany.org/manual/#sending-text-through-custom-commands

+0

http://askubuntu.com/questions/528367/shortcut-to- gönder-seç-to-terminal-in-geany gönder özel (tarayıcı) yardımcı olabilir – Exceptyon

cevap

0

Bir bağlantıyı açmak için aşağıdaki vermedi

sonra www.youtube.com, firefox www.youtube .com hattı seçiniz sağ tıklayınız, Düzenle> seçimi terminale gönder> enter tuşuna basınız

O r, bu için tuş atamaları ayarlayabilirsiniz:

Edit > Preferences > keybindings 
Select Current Line(s) = shift alt L 
Send selection to terminal = shift alt T 

Kullanım:

firefox www.youtube.com 
select this line: shift alt L 
send to terminal: shift alt T 
go to terminal : F4 
run command  : Enter 

Bir başka örnek:

www.youtube.com 
select this line: shift alt L 
send to terminal: shift alt T 
go to terminal : F4 
go to beginning : ctrl A 
add a command : firefox 
run command  : Enter