https://github.com/ishankhare07/dotfiles
dotfiles for vim and neovim configuration
https://github.com/ishankhare07/dotfiles
Last synced: over 1 year ago
JSON representation
dotfiles for vim and neovim configuration
- Host: GitHub
- URL: https://github.com/ishankhare07/dotfiles
- Owner: ishankhare07
- Created: 2015-06-15T08:24:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2021-11-08T09:17:24.000Z (over 4 years ago)
- Last Synced: 2025-01-23T15:51:29.133Z (over 1 year ago)
- Language: Shell
- Size: 67.9 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
1. git specific
*Following are some custom `git` specific aliases that I have added
apart from the ones provided by [oh-my-zsh git plugin](https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git)*
* list all remote branches i.e. on github
```bash
alias glrh="git ls-remote --heads"
```
* checkout a new remote branch from github and set tracking info
```bash
alias gctb="git checkout --track -b" # followed by
```
* set tracking info while pushing a new branch to github
```bash
alias gpsup="git push --set-upstream" # useful for first time push of new branches
```
* list out tracking info of each local branch
```bash
alias gbvv="git branch -vv"
```
2. Python symlink linker
The file [linker.py](https://github.com/ishankhare07/dotfiles/blob/master/linker.py) is an automated script that generates symbolic links to this `dotfiles` folder, assuming that it is located in your `home directory`.
By defualt it skips already existing symlinks(prints a message as well) and creates those which do not(another message for this). This behavior can be changed by providing a `-f` command line option.
It symlinks your files and folders both, i.e. we will have links for `dotfiles/.vim` as well as `dotfiles/.vimrc`.
Anyone can use this file as it configures your `~` directory automatically, so you don't need to worry about your username conflicts.
The script also provides an option to symlink your custom theme-file using the `-t` option.