Conversation
Notices
-
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.
-
FYI, doesn't work if you use vi-editing mode: set -o vi
-
dosen't work me! i set editor to emacs-snapshot and use gnome3!!
-
@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.
-
@dno a list of all bound and not bound functions for vi-mode can be read by executing "bind -m vi -p"
-
@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.
-
I check again, both variables are empaty! I set again but do not difference! What is Problem? I use Bash!
-
@gnuman run "export EDITOR=emacs" and try again. it should work.
-
@tuxitop sorry doesn't work.
-
@tuxitop Work in !zsh : http://ur1.ca/9sruv
-
@fzerorubigd I know! it just doesn't work with the default configuration.
-
@gnuman you can check if the key is correctly bound by running "bind -p | grep edit-and-execute-command". try google for more info :)
Hilton Garcia Fernandes likes this. -
haha Persian hackers kick ass :)
Ali Mousavi likes this.