insanum / sncli

Simplenote CLI
MIT License
397 stars 34 forks source link

Support for Emacs as editor (SOLVED) #12

Closed linuxsquad closed 9 years ago

linuxsquad commented 9 years ago

First, thanks for the software. I have a great affinity to many CLI tools, and glad to see feature - rich implementaion.

One request, how much work needed to replace VI with emacs?

Thanks

Oleg

insanum commented 9 years ago

It should just work after setting your EDITOR environment variable.

Let me know... :-)

First, thanks for the software. I have a great affinity to many CLI tools, and glad to see feature - rich implementaion.

One request, how much work needed to replace VI with emacs?

Thanks

Oleg

— Reply to this email directly or view it on GitHub https://github.com/insanum/sncli/issues/12.

linuxsquad commented 9 years ago

I've set env EDITOR=emacs, but sncli was not picking this up and continuing to use VI.

Well... then I just went and added config entry to .snclirc

cfg_editor = emacs

and it worked. Thanks

insanum commented 9 years ago

Fixed: 71b053d762a332359dbb083df3438ff4c7b943dc