1
0
Fork 0

Update README.md

Update home/.vim/vimrc
Update home/setup-vim.sh
This commit is contained in:
Massaki Archambault 2024-07-11 13:07:31 -04:00
parent f5bd05a5d1
commit f11b3162db
3 changed files with 13 additions and 16 deletions

View File

@ -2,17 +2,8 @@
![xkcd 1806](https://imgs.xkcd.com/comics/borrow_your_laptop.png)
## Install
Clone the repository with the submodules and run the install script to symlink the files your `$HOME` directory:
This repository uses [chezmoi](https://www.chezmoi.io/) to manage the dotfiles. To install the dotfiles, first install `chezmoi` with your package manage and then run:
``` sh
chezmoi init https://code.badjware.dev/badjware/dotfiles.git
chezmoi apply
```
git clone --recurse-submodules https://github.com/badjware/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.sh
```
The install script supports some options. For exemple:
* Don't ask for confirmation: `./install.sh --yes`
* Copy instead of creating symlinks: `./install.sh --copy`
For a full list of options, run `./install.sh --help`.

View File

@ -58,7 +58,7 @@ if dein#load_state(pluginpath)
call dein#add('tpope/vim-sensible')
" Colorscheme
call dein#add('ajh17/Spacegray.vim.git')
" call dein#add('ajh17/Spacegray.vim.git')
" Interface
call dein#add('itchyny/lightline.vim')
@ -104,7 +104,7 @@ if dein#check_install()
endif
" Color scheme
colorscheme spacegray
" colorscheme spacegray
" 16 millions colors
"set termguicolors
" Disable background in terminal

View File

@ -1,2 +1,8 @@
#!/bin/bash
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Shougo/dein-installer.vim/master/installer.sh)"
INSTALL_DIR="$HOME/.vim/bundle/repos/github.com/Shougo/dein.vim"
if [ ! -d "$INSTALL_DIR" ]; then
mkdir -p "$(dirname $INSTALL_DIR)" || true
git clone https://github.com/Shougo/dein.vim "$INSTALL_DIR"
fi