An open API service indexing awesome lists of open source software.

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

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.