From 29f83df862462ec2b6ce7e545bd9e2853a5ee0c3 Mon Sep 17 00:00:00 2001 From: Oxbian Date: Mon, 13 May 2024 22:00:47 +0200 Subject: UPDATE: README + remove undofile --- README.md | 5 +++++ conf/options.vim | 2 +- install.sh | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 81769e1..4ff3a06 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,11 @@ You will need `vim` and `git` to be able to use this configuration. Normally if you run the `install.sh` script it will work, but if you have a problem, try to install vim plug and check if your problem is solved. *This vim config is expected to be cloned into `.config/vim`* + +```sh +git clone https://git.arka.rocks/Oxbian/vimrc.git $HOME/.config/vim +``` + **Be careful the install.sh script remove everything in `$HOME/.vim` !** ```sh diff --git a/conf/options.vim b/conf/options.vim index 6a9e2dc..5315c1f 100644 --- a/conf/options.vim +++ b/conf/options.vim @@ -33,7 +33,7 @@ set autoread " Automatically read external changes on the file if has('unnamedplus') " Allow OS & vim clipboard sync set clipboard=unnamedplus endif -set undofile " Save undo history +set noundofile " Save undo history set history=500 " Max line vim remember set updatetime=500 " Delay before vim write swap file, better for gitgutter diff --git a/install.sh b/install.sh index aebc1b2..caf3483 100755 --- a/install.sh +++ b/install.sh @@ -2,5 +2,6 @@ DIR=$(dirname "$0") cd "$DIR" || exit +rm "$HOME/.vimrc" ln -sf "$(pwd)/.vimrc" "$HOME/.vimrc" rm -rf "$HOME/.vim" -- cgit v1.2.3