Is there a method for making Google Chrome open textareas in vim?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
15
down vote

favorite
1












I used to use Firefox on a daily basis but have switched to Google Chrome, and have been using it for 2+ years now. The one plugin that I miss is this one, It's All Text!. This plugin allowed for the textarea to be opened into a separate vim or gvim window where I could do editing and then save the contents when done, back to Firefox.



The closes thing I've found is this plugin is TextAid, but I find it a bit of kludge since it requires a separate web server to be kept up.



I'd really prefer not having to use TextAid, does anyone know of any alternative methods to achieving this using Chrome?










share|improve this question





















  • Wouldn't this be more appropriate for superuser?
    – Patrick
    Nov 8 '13 at 19:35










  • @Patrick - possibly, but I run this entirely on Linux and wanted a Linux slant to it, not windows. Also I know Jasonwryan uses vimprobable and I wanted to get feedback as to possible alternatives from other powerusers of this site. If others agree that it's way off topic I'll be happy to move it over to SU, but I frequent that site enough that I wasn't as interested in their take on this at this time.
    – slm♦
    Nov 8 '13 at 19:37















up vote
15
down vote

favorite
1












I used to use Firefox on a daily basis but have switched to Google Chrome, and have been using it for 2+ years now. The one plugin that I miss is this one, It's All Text!. This plugin allowed for the textarea to be opened into a separate vim or gvim window where I could do editing and then save the contents when done, back to Firefox.



The closes thing I've found is this plugin is TextAid, but I find it a bit of kludge since it requires a separate web server to be kept up.



I'd really prefer not having to use TextAid, does anyone know of any alternative methods to achieving this using Chrome?










share|improve this question





















  • Wouldn't this be more appropriate for superuser?
    – Patrick
    Nov 8 '13 at 19:35










  • @Patrick - possibly, but I run this entirely on Linux and wanted a Linux slant to it, not windows. Also I know Jasonwryan uses vimprobable and I wanted to get feedback as to possible alternatives from other powerusers of this site. If others agree that it's way off topic I'll be happy to move it over to SU, but I frequent that site enough that I wasn't as interested in their take on this at this time.
    – slm♦
    Nov 8 '13 at 19:37













up vote
15
down vote

favorite
1









up vote
15
down vote

favorite
1






1





I used to use Firefox on a daily basis but have switched to Google Chrome, and have been using it for 2+ years now. The one plugin that I miss is this one, It's All Text!. This plugin allowed for the textarea to be opened into a separate vim or gvim window where I could do editing and then save the contents when done, back to Firefox.



The closes thing I've found is this plugin is TextAid, but I find it a bit of kludge since it requires a separate web server to be kept up.



I'd really prefer not having to use TextAid, does anyone know of any alternative methods to achieving this using Chrome?










share|improve this question













I used to use Firefox on a daily basis but have switched to Google Chrome, and have been using it for 2+ years now. The one plugin that I miss is this one, It's All Text!. This plugin allowed for the textarea to be opened into a separate vim or gvim window where I could do editing and then save the contents when done, back to Firefox.



The closes thing I've found is this plugin is TextAid, but I find it a bit of kludge since it requires a separate web server to be kept up.



I'd really prefer not having to use TextAid, does anyone know of any alternative methods to achieving this using Chrome?







vim chrome plugin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 '13 at 19:33









slm♦

241k66500668




241k66500668











  • Wouldn't this be more appropriate for superuser?
    – Patrick
    Nov 8 '13 at 19:35










  • @Patrick - possibly, but I run this entirely on Linux and wanted a Linux slant to it, not windows. Also I know Jasonwryan uses vimprobable and I wanted to get feedback as to possible alternatives from other powerusers of this site. If others agree that it's way off topic I'll be happy to move it over to SU, but I frequent that site enough that I wasn't as interested in their take on this at this time.
    – slm♦
    Nov 8 '13 at 19:37

















  • Wouldn't this be more appropriate for superuser?
    – Patrick
    Nov 8 '13 at 19:35










  • @Patrick - possibly, but I run this entirely on Linux and wanted a Linux slant to it, not windows. Also I know Jasonwryan uses vimprobable and I wanted to get feedback as to possible alternatives from other powerusers of this site. If others agree that it's way off topic I'll be happy to move it over to SU, but I frequent that site enough that I wasn't as interested in their take on this at this time.
    – slm♦
    Nov 8 '13 at 19:37
















Wouldn't this be more appropriate for superuser?
– Patrick
Nov 8 '13 at 19:35




Wouldn't this be more appropriate for superuser?
– Patrick
Nov 8 '13 at 19:35












@Patrick - possibly, but I run this entirely on Linux and wanted a Linux slant to it, not windows. Also I know Jasonwryan uses vimprobable and I wanted to get feedback as to possible alternatives from other powerusers of this site. If others agree that it's way off topic I'll be happy to move it over to SU, but I frequent that site enough that I wasn't as interested in their take on this at this time.
– slm♦
Nov 8 '13 at 19:37





@Patrick - possibly, but I run this entirely on Linux and wanted a Linux slant to it, not windows. Also I know Jasonwryan uses vimprobable and I wanted to get feedback as to possible alternatives from other powerusers of this site. If others agree that it's way off topic I'll be happy to move it over to SU, but I frequent that site enough that I wasn't as interested in their take on this at this time.
– slm♦
Nov 8 '13 at 19:37











5 Answers
5






active

oldest

votes

















up vote
6
down vote













There is a chrome extension named Surfingkeys, which includes ACE vim editor(a vim editor implemented with Javascript).



With the extension, you could press Ctrl-i to call the vim editor out when you're in a input or textarea element. Then you could edit your text with the vim editor, and :wq to write text in vim editor back to the element on page.



You could also use the vim editor to select option for a select element, which is useful when there are tons of options within the select element.



More info could be found --
vim editor with ACE
.
edit input element



edit select element






share|improve this answer




















  • Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
    – Ricardo Pietrobon
    Nov 18 '17 at 16:06

















up vote
4
down vote













It's more difficult with chrome (by design), but you can try textaid.



See https://superuser.com/questions/261689/its-all-text-for-chrome






share|improve this answer


















  • 1




    github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
    – slm♦
    Nov 8 '13 at 20:02


















up vote
2
down vote













In general you have to have a backend. Though, it does not need to be a web server. If you are comfortable with having a script running locally each time you open an edit or have a service running (Though that would be close to the issue at hand) it can be done trough using the API to communication with local scripts over pipes.



In short how it works is by using Ajax in the browser. An extension can call a local script which in turn open desired editor and keeps the communication going. The local script prints data to stdout and the extension receive what is pushed.



Another choice is to use local storage but have not found a way to nicely combine it with actually launching local applications.



I have a project on ice using python as backend and primarily Vim as editor, but have also tested it with things like Emacs and Gedit. I had a working version, but mangled it up and have not looked at it for some time.



This is not an answer per se but added it as a note. I might work on the plugin and come back to it ;), but if local script is a non starter I'm afraid it won't help much for your request.






share|improve this answer




















  • I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
    – slm♦
    Mar 1 '14 at 19:44

















up vote
2
down vote













Wasavi opens text areas in a vi-like editor, which is configurable via an rc file.



Videos and download links on the GitHub page.
Chrome, Opera and Firefox are supported.



Here's an example of me editing this answer:



enter image description here






share|improve this answer



























    up vote
    0
    down vote













    Update Oct 18:



    Try following plugin:



    https://github.com/pandysong/ghost-text.vim



    enter image description here





    share








    New contributor




    pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.

















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f99466%2fis-there-a-method-for-making-google-chrome-open-textareas-in-vim%23new-answer', 'question_page');

      );

      Post as a guest






























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      6
      down vote













      There is a chrome extension named Surfingkeys, which includes ACE vim editor(a vim editor implemented with Javascript).



      With the extension, you could press Ctrl-i to call the vim editor out when you're in a input or textarea element. Then you could edit your text with the vim editor, and :wq to write text in vim editor back to the element on page.



      You could also use the vim editor to select option for a select element, which is useful when there are tons of options within the select element.



      More info could be found --
      vim editor with ACE
      .
      edit input element



      edit select element






      share|improve this answer




















      • Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
        – Ricardo Pietrobon
        Nov 18 '17 at 16:06














      up vote
      6
      down vote













      There is a chrome extension named Surfingkeys, which includes ACE vim editor(a vim editor implemented with Javascript).



      With the extension, you could press Ctrl-i to call the vim editor out when you're in a input or textarea element. Then you could edit your text with the vim editor, and :wq to write text in vim editor back to the element on page.



      You could also use the vim editor to select option for a select element, which is useful when there are tons of options within the select element.



      More info could be found --
      vim editor with ACE
      .
      edit input element



      edit select element






      share|improve this answer




















      • Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
        – Ricardo Pietrobon
        Nov 18 '17 at 16:06












      up vote
      6
      down vote










      up vote
      6
      down vote









      There is a chrome extension named Surfingkeys, which includes ACE vim editor(a vim editor implemented with Javascript).



      With the extension, you could press Ctrl-i to call the vim editor out when you're in a input or textarea element. Then you could edit your text with the vim editor, and :wq to write text in vim editor back to the element on page.



      You could also use the vim editor to select option for a select element, which is useful when there are tons of options within the select element.



      More info could be found --
      vim editor with ACE
      .
      edit input element



      edit select element






      share|improve this answer












      There is a chrome extension named Surfingkeys, which includes ACE vim editor(a vim editor implemented with Javascript).



      With the extension, you could press Ctrl-i to call the vim editor out when you're in a input or textarea element. Then you could edit your text with the vim editor, and :wq to write text in vim editor back to the element on page.



      You could also use the vim editor to select option for a select element, which is useful when there are tons of options within the select element.



      More info could be found --
      vim editor with ACE
      .
      edit input element



      edit select element







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 5 '17 at 14:45









      brook hong

      20123




      20123











      • Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
        – Ricardo Pietrobon
        Nov 18 '17 at 16:06
















      • Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
        – Ricardo Pietrobon
        Nov 18 '17 at 16:06















      Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
      – Ricardo Pietrobon
      Nov 18 '17 at 16:06




      Besides this feature, surfingkeys adds a ton of functionality to chrome, not to mention that you can add additional functions using javascript
      – Ricardo Pietrobon
      Nov 18 '17 at 16:06












      up vote
      4
      down vote













      It's more difficult with chrome (by design), but you can try textaid.



      See https://superuser.com/questions/261689/its-all-text-for-chrome






      share|improve this answer


















      • 1




        github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
        – slm♦
        Nov 8 '13 at 20:02















      up vote
      4
      down vote













      It's more difficult with chrome (by design), but you can try textaid.



      See https://superuser.com/questions/261689/its-all-text-for-chrome






      share|improve this answer


















      • 1




        github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
        – slm♦
        Nov 8 '13 at 20:02













      up vote
      4
      down vote










      up vote
      4
      down vote









      It's more difficult with chrome (by design), but you can try textaid.



      See https://superuser.com/questions/261689/its-all-text-for-chrome






      share|improve this answer














      It's more difficult with chrome (by design), but you can try textaid.



      See https://superuser.com/questions/261689/its-all-text-for-chrome







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Mar 20 '17 at 10:18









      Community♦

      1




      1










      answered Nov 8 '13 at 19:56









      Gilles Quenot

      15.6k13649




      15.6k13649







      • 1




        github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
        – slm♦
        Nov 8 '13 at 20:02













      • 1




        github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
        – slm♦
        Nov 8 '13 at 20:02








      1




      1




      github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
      – slm♦
      Nov 8 '13 at 20:02





      github.com/epeli/TextareaConnect is broken so that doesn't look to be a viable option. As I already stated, I'm aware of textaid, wanted alternatives, if any.
      – slm♦
      Nov 8 '13 at 20:02











      up vote
      2
      down vote













      In general you have to have a backend. Though, it does not need to be a web server. If you are comfortable with having a script running locally each time you open an edit or have a service running (Though that would be close to the issue at hand) it can be done trough using the API to communication with local scripts over pipes.



      In short how it works is by using Ajax in the browser. An extension can call a local script which in turn open desired editor and keeps the communication going. The local script prints data to stdout and the extension receive what is pushed.



      Another choice is to use local storage but have not found a way to nicely combine it with actually launching local applications.



      I have a project on ice using python as backend and primarily Vim as editor, but have also tested it with things like Emacs and Gedit. I had a working version, but mangled it up and have not looked at it for some time.



      This is not an answer per se but added it as a note. I might work on the plugin and come back to it ;), but if local script is a non starter I'm afraid it won't help much for your request.






      share|improve this answer




















      • I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
        – slm♦
        Mar 1 '14 at 19:44














      up vote
      2
      down vote













      In general you have to have a backend. Though, it does not need to be a web server. If you are comfortable with having a script running locally each time you open an edit or have a service running (Though that would be close to the issue at hand) it can be done trough using the API to communication with local scripts over pipes.



      In short how it works is by using Ajax in the browser. An extension can call a local script which in turn open desired editor and keeps the communication going. The local script prints data to stdout and the extension receive what is pushed.



      Another choice is to use local storage but have not found a way to nicely combine it with actually launching local applications.



      I have a project on ice using python as backend and primarily Vim as editor, but have also tested it with things like Emacs and Gedit. I had a working version, but mangled it up and have not looked at it for some time.



      This is not an answer per se but added it as a note. I might work on the plugin and come back to it ;), but if local script is a non starter I'm afraid it won't help much for your request.






      share|improve this answer




















      • I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
        – slm♦
        Mar 1 '14 at 19:44












      up vote
      2
      down vote










      up vote
      2
      down vote









      In general you have to have a backend. Though, it does not need to be a web server. If you are comfortable with having a script running locally each time you open an edit or have a service running (Though that would be close to the issue at hand) it can be done trough using the API to communication with local scripts over pipes.



      In short how it works is by using Ajax in the browser. An extension can call a local script which in turn open desired editor and keeps the communication going. The local script prints data to stdout and the extension receive what is pushed.



      Another choice is to use local storage but have not found a way to nicely combine it with actually launching local applications.



      I have a project on ice using python as backend and primarily Vim as editor, but have also tested it with things like Emacs and Gedit. I had a working version, but mangled it up and have not looked at it for some time.



      This is not an answer per se but added it as a note. I might work on the plugin and come back to it ;), but if local script is a non starter I'm afraid it won't help much for your request.






      share|improve this answer












      In general you have to have a backend. Though, it does not need to be a web server. If you are comfortable with having a script running locally each time you open an edit or have a service running (Though that would be close to the issue at hand) it can be done trough using the API to communication with local scripts over pipes.



      In short how it works is by using Ajax in the browser. An extension can call a local script which in turn open desired editor and keeps the communication going. The local script prints data to stdout and the extension receive what is pushed.



      Another choice is to use local storage but have not found a way to nicely combine it with actually launching local applications.



      I have a project on ice using python as backend and primarily Vim as editor, but have also tested it with things like Emacs and Gedit. I had a working version, but mangled it up and have not looked at it for some time.



      This is not an answer per se but added it as a note. I might work on the plugin and come back to it ;), but if local script is a non starter I'm afraid it won't help much for your request.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Mar 1 '14 at 19:11









      Runium

      17.5k42859




      17.5k42859











      • I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
        – slm♦
        Mar 1 '14 at 19:44
















      • I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
        – slm♦
        Mar 1 '14 at 19:44















      I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
      – slm♦
      Mar 1 '14 at 19:44




      I'd be interested in where this went if you decide to do something. Please keep me in the loop, I'd be interested in pitching in too if you wanted an extra set of hands.
      – slm♦
      Mar 1 '14 at 19:44










      up vote
      2
      down vote













      Wasavi opens text areas in a vi-like editor, which is configurable via an rc file.



      Videos and download links on the GitHub page.
      Chrome, Opera and Firefox are supported.



      Here's an example of me editing this answer:



      enter image description here






      share|improve this answer
























        up vote
        2
        down vote













        Wasavi opens text areas in a vi-like editor, which is configurable via an rc file.



        Videos and download links on the GitHub page.
        Chrome, Opera and Firefox are supported.



        Here's an example of me editing this answer:



        enter image description here






        share|improve this answer






















          up vote
          2
          down vote










          up vote
          2
          down vote









          Wasavi opens text areas in a vi-like editor, which is configurable via an rc file.



          Videos and download links on the GitHub page.
          Chrome, Opera and Firefox are supported.



          Here's an example of me editing this answer:



          enter image description here






          share|improve this answer












          Wasavi opens text areas in a vi-like editor, which is configurable via an rc file.



          Videos and download links on the GitHub page.
          Chrome, Opera and Firefox are supported.



          Here's an example of me editing this answer:



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 3 '17 at 16:01









          Tom Hale

          6,07522779




          6,07522779




















              up vote
              0
              down vote













              Update Oct 18:



              Try following plugin:



              https://github.com/pandysong/ghost-text.vim



              enter image description here





              share








              New contributor




              pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                up vote
                0
                down vote













                Update Oct 18:



                Try following plugin:



                https://github.com/pandysong/ghost-text.vim



                enter image description here





                share








                New contributor




                pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.



















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Update Oct 18:



                  Try following plugin:



                  https://github.com/pandysong/ghost-text.vim



                  enter image description here





                  share








                  New contributor




                  pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  Update Oct 18:



                  Try following plugin:



                  https://github.com/pandysong/ghost-text.vim



                  enter image description here






                  share








                  New contributor




                  pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 7 mins ago









                  pandy.song

                  1




                  1




                  New contributor




                  pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  pandy.song is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f99466%2fis-there-a-method-for-making-google-chrome-open-textareas-in-vim%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Displaying single band from multi-band raster using QGIS

                      How many registers does an x86_64 CPU actually have?