summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-16 22:58:19 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2022-03-16 22:58:19 +0100
commit0abab86a42b23cec9028b1a143746f60ec7a7db9 (patch)
tree3e117469f24aaf53b5feeff05bcea3e04db83c8e /install
parent2b26c97730c28541e994bff24a2640238f98e2c9 (diff)
downloadvim-0abab86a42b23cec9028b1a143746f60ec7a7db9.zip
vim-0abab86a42b23cec9028b1a143746f60ec7a7db9.tar.gz
add install
Diffstat (limited to 'install')
-rwxr-xr-xinstall6
1 files changed, 6 insertions, 0 deletions
diff --git a/install b/install
new file mode 100755
index 0000000..06cd1f9
--- /dev/null
+++ b/install
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+[ -d ~/etc/nvim ] && rm -fr ~/etc/nvim
+mkdir ~/etc/nvim && cd ~/etc/nvim && ln -s ~/usr/git/vim/init.lua && ln -s ~/usr/git/vim/lua
+[ -d ~/.config/nvim ] && rm -fr ~/.config/nvim
+cd ~/.config && ln -s ~/etc/nvim nvim