From 457f265f36327e99db56517e36cc27e007205f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20B=C3=BCckendorf?= Date: Thu, 6 Dec 2018 21:22:26 +0100 Subject: [PATCH] neovim: alias nvim as vim if found --- .bashrc.d/neovim.bashrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .bashrc.d/neovim.bashrc diff --git a/.bashrc.d/neovim.bashrc b/.bashrc.d/neovim.bashrc new file mode 100644 index 0000000..b7aa004 --- /dev/null +++ b/.bashrc.d/neovim.bashrc @@ -0,0 +1,6 @@ +# Use neovim instead of vim if it is present + +if command -v nvim >/dev/null 2>&1 +then + alias vim="nvim" +fi