Hacker News new | ask | show | jobs
by jdimov9 3628 days ago
Shorter to type, for starters.
2 comments

Well, except that you probably want to customize your shell to your usage patterns.

    alias v="vim"
    alias e="emacs"
or more complete one:

alias e='emacsclient -c -n $opt -a nano'

alias ne='emacsclient -t $opt -a nano'

se() { emacsclient -c -n $opt -a emacs "/sudo::$" }

sne() { emacsclient -t $opt -a emacs "/sudo::$" }

alias vim=emacs #just kidding!!!!

You only start Emacs once, shortly after your computer has booted, so the length of the command shouldn't matter.