Update README.md
Update home/.vim/vimrc Update home/setup-vim.sh
This commit is contained in:
parent
f5bd05a5d1
commit
f11b3162db
17
README.md
17
README.md
|
@ -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`.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue