Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"That being said, I still use vim for quickly editing single files as you can't beat the startup time."

Add (server-start) to your .emacs and keep a running emacs around long-term. Then you can edit single files quickly with emacsclient -t.



Yeah, good point, I actually have:

  alias e='TERM=xterm-256color emacsclient -t'
  alias ec='emacsclient -c'
  alias ed='emacs --daemon'
in my .zshrc to do just that but for some reason I use vim anyway, due to it's omnipresence on every server box I go into and I suppose muscle memory of typing vim whatever_file_i_want_to_edit .


And even alias 'emacsclient -t' to 'vim' in shell, to keep one's existing habits of CLI editing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: