aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxbian <got.dacs@slmail.me>2024-05-13 22:00:47 +0200
committerOxbian <got.dacs@slmail.me>2024-05-13 22:00:47 +0200
commit29f83df862462ec2b6ce7e545bd9e2853a5ee0c3 (patch)
treeea9cb39f2589b25e64a7482375c9d3e696d25d1d
parentf63208096bd0b5623692839a7091e99008ef5e0a (diff)
downloadvimrc-29f83df862462ec2b6ce7e545bd9e2853a5ee0c3.tar.gz
vimrc-29f83df862462ec2b6ce7e545bd9e2853a5ee0c3.zip
UPDATE: README + remove undofile
-rw-r--r--README.md5
-rw-r--r--conf/options.vim2
-rwxr-xr-xinstall.sh1
3 files changed, 7 insertions, 1 deletions
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"
ArKa projects. All rights to me, and your next child right arm.