diff options
author | Oxbian <got.dacs@slmail.me> | 2024-05-13 22:00:47 +0200 |
---|---|---|
committer | Oxbian <got.dacs@slmail.me> | 2024-05-13 22:00:47 +0200 |
commit | 29f83df862462ec2b6ce7e545bd9e2853a5ee0c3 (patch) | |
tree | ea9cb39f2589b25e64a7482375c9d3e696d25d1d | |
parent | f63208096bd0b5623692839a7091e99008ef5e0a (diff) | |
download | vimrc-29f83df862462ec2b6ce7e545bd9e2853a5ee0c3.tar.gz vimrc-29f83df862462ec2b6ce7e545bd9e2853a5ee0c3.zip |
UPDATE: README + remove undofile
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | conf/options.vim | 2 | ||||
-rwxr-xr-x | install.sh | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -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 @@ -2,5 +2,6 @@ DIR=$(dirname "$0") cd "$DIR" || exit +rm "$HOME/.vimrc" ln -sf "$(pwd)/.vimrc" "$HOME/.vimrc" rm -rf "$HOME/.vim" |