Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Ali Mousavi Ali Mousavi Linux , Bourne Again SHell group

    pressing Ctrl+X followed by Ctrl+E opens an editor based on $EDITOR in !bash !linux

    about 10 months ago from web
    • Ben Sturmfels, aleksejrs and gryps75 and 11 others like this.
    • Marcio B. Jr., Micky and Fayaz Yusuf Khan and 3 others repeated this.
    • dno dno Linux

      FYI, doesn't work if you use vi-editing mode: set -o vi

      about 10 months ago
    • kudlaty kudlaty Linux

      @tuxitop #bash never ceases to amaze me. :)

      about 10 months ago
      Alexandro P., Hilton Garcia Fernandes and Marcio B. Jr. like this.
    • Vahid Maani Vahid Maani Linux

      dosen't work me! i set editor to emacs-snapshot and use gnome3!!

      about 10 months ago
    • Ali Mousavi Ali Mousavi Linux , dno

      @dno you just need to bind "edit-and-execute-command" to a key. e.g. 'bind -m vi "E":edit-and-execute-command ' binds E in vi-editing mode.

      about 10 months ago
      dno, Hilton Garcia Fernandes and Marcio B. Jr. like this.
    • Ali Mousavi Ali Mousavi Linux , dno

      @dno a list of all bound and not bound functions for vi-mode can be read by executing "bind -m vi -p"

      about 10 months ago
    • Ali Mousavi Ali Mousavi Linux , Vahid Maani

      @gnuman 1. doesn't work if your using !zsh or any other shell 2. it first checks $VISUAL then $EDITOR if failed switches to emacs.

      about 10 months ago
    • Vahid Maani Vahid Maani Linux

      I check again, both variables are empaty! I set again but do not difference! What is Problem? I use Bash!

      about 10 months ago
    • Ali Mousavi Ali Mousavi Linux , Vahid Maani

      @gnuman run "export EDITOR=emacs" and try again. it should work.

      about 10 months ago
    • Vahid Maani Vahid Maani Linux

      @tuxitop sorry doesn't work.

      about 10 months ago
    • fzerorubigd fzerorubigd

      @tuxitop Work in !zsh : http://ur1.ca/9sruv

      about 10 months ago
    • Ali Mousavi Ali Mousavi fzerorubigd

      @fzerorubigd I know! it just doesn't work with the default configuration.

      about 10 months ago
    • Ali Mousavi Ali Mousavi Linux , Vahid Maani

      @gnuman you can check if the key is correctly bound by running "bind -p | grep edit-and-execute-command". try google for more info :)

      about 10 months ago
      Hilton Garcia Fernandes likes this.
    • Marcio B. Jr. Marcio B. Jr. Linux

      haha Persian hackers kick ass :)

      about 10 months ago
      Ali Mousavi likes this.

Site notice

Identi.ca is converting to pump.io on 1 June 2013

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by E14N. It runs the StatusNet microblogging software, version 1.1.0-release, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal