https://github.com/kitparl/neovim
My personalized Neovim setup
https://github.com/kitparl/neovim
config lua
Last synced: 7 days ago
JSON representation
My personalized Neovim setup
- Host: GitHub
- URL: https://github.com/kitparl/neovim
- Owner: kitparl
- Created: 2024-08-28T10:21:26.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T04:47:46.000Z (over 1 year ago)
- Last Synced: 2025-02-25T07:30:12.997Z (over 1 year ago)
- Topics: config, lua
- Language: Lua
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# my-dotfiles
## Setup
```sh
git init --bare $HOME/.my-dotfiles
alias mydotfiles='git --git-dir=$HOME/.my-dotfiles/ --work-tree=$HOME'
mydotfiles remote add origin git@github.com:Siilwyn/my-dotfiles.git
```
## Replication
```sh
git clone --separate-git-dir=$HOME/.my-dotfiles https://github.com/Siilwyn/my-dotfiles.git my-dotfiles-tmp
rsync --recursive --verbose --exclude '.git' my-dotfiles-tmp/ $HOME/
rm --recursive my-dotfiles-tmp
```
## Configuration
```sh
mydotfiles config status.showUntrackedFiles no
mydotfiles remote set-url origin git@github.com:Siilwyn/my-dotfiles.git
```
## Usage
```sh
mydotfiles status
mydotfiles add .gitconfig
mydotfiles commit -m 'Add gitconfig'
mydotfiles push
```
### Bare config file is similar to
```
[core]
repositoryformatversion = 0
filemode = true
bare = true
[status]
showUntrackedFiles = no
[remote "origin"]
url = git@github.com:kitparl/neovim.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[advice]
addIgnoredFile = false
```