diff --git a/note/zram.txt b/note/zram.txt index 915e477..b48ef36 100644 --- a/note/zram.txt +++ b/note/zram.txt @@ -5,3 +5,10 @@ and configure: /etc/default/zramswap with zstd algorithm and whatever percent of RAM to use + +/etc/sysctl.d/99-vm-zram-parameters.conf + +vm.swappiness = 180 +vm.watermark_boost_factor = 0 +vm.watermark_scale_factor = 125 +vm.page-cluster = 0 diff --git a/spacevim.sh b/spacevim.sh index 49fdc3c..f033141 100755 --- a/spacevim.sh +++ b/spacevim.sh @@ -1,5 +1,8 @@ #!/bin/bash -echo "Installing Spacevim!" +echo "Setting up Vim Sensible" +trash ~/.vim/ +mkdir -p ~/.vim/pack/tpope/start +git clone https://tpope.io/vim/sensible.git ~/.vim/pack/tpope/start echo "Install Neovim" mkdir -v ~/bin