News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by sepent on Tuesday January 15, 2019 @02:30AM (#18909399)
I never use vim or emacs viper-mode on my machine. But I let other people to use my emacs viper-mode:

  vi()
  {
      emacs -nw --eval '(and (switch-to-buffer "foobar") (setq viper-mode t) (setq viper-inhibit-startup-message t) (setq viper-expert-level 1) (viper-mode))' "$@"
  }

  alias vim=vi
  alias vim.tiny=vi
  alias vim.basic=vi

There are no comments on this comment yet.