mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-12-22 08:16:32 +00:00
Initial commit
This commit is contained in:
commit
8c385e23a8
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
[submodule "dotbot"]
|
||||
path = dotbot
|
||||
url = https://github.com/anishathalye/dotbot
|
||||
ignore = dirty
|
1
dotbot
Submodule
1
dotbot
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ac5793ceb58863d23427d21597634d3dcf66f9ac
|
19
gitconfig
Normal file
19
gitconfig
Normal file
@ -0,0 +1,19 @@
|
||||
[user]
|
||||
name = cupcakearmy
|
||||
email = hi@nicco.io
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
[core]
|
||||
excludesfile = /Users/nicco/.gitignore_global
|
||||
autocrlf = input
|
||||
[difftool "sourcetree"]
|
||||
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
||||
path =
|
||||
[mergetool "sourcetree"]
|
||||
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
||||
trustExitCode = true
|
||||
[commit]
|
||||
gpgsign = true
|
15
install
Executable file
15
install
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
CONFIG="install.conf.yaml"
|
||||
DOTBOT_DIR="dotbot"
|
||||
|
||||
DOTBOT_BIN="bin/dotbot"
|
||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
|
||||
cd "${BASEDIR}"
|
||||
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||
|
||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|
7
install.conf.yaml
Normal file
7
install.conf.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
- clean: ['~']
|
||||
|
||||
- link:
|
||||
~/.gitconfig: gitconfig
|
||||
~/.vimrc: vimrc
|
||||
|
||||
|
28
vimrc
Normal file
28
vimrc
Normal file
@ -0,0 +1,28 @@
|
||||
syntax on
|
||||
|
||||
set number relativenumber
|
||||
set noerrorbells
|
||||
set tabstop=2 softtabstop=2
|
||||
set shiftwidth=2
|
||||
set expandtab
|
||||
set smartindent
|
||||
set nu
|
||||
set nowrap
|
||||
set smartcase
|
||||
set noswapfile
|
||||
set nobackup
|
||||
set undodir=~/.vim/undodir
|
||||
set undofile
|
||||
set incsearch
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
Plug 'morhetz/gruvbox'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
call plug#end()
|
Loading…
Reference in New Issue
Block a user