added a way to start vim with a custom config

This commit is contained in:
Ranomier 2021-05-04 18:40:51 +02:00
parent 56749ef791
commit 6eb3428ff1
2 changed files with 10 additions and 0 deletions

0
config/nvimrc Normal file
View file

10
rvim Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
VIM_DIR="$SCRIPT_DIR""/apps/nvim-linux64"
VIM_BIN="$VIM_DIR""/bin/nvim"
CONFIG_DIR="$SCRIPT_DIR""/config"
$VIM_BIN -u "$CONFIG_DIR""/nvimrc"