Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wdhif/dotfiles

curl -L https://git.io/wdhifdotfiles | bash
https://github.com/wdhif/dotfiles

dotbot dotfiles fish tmux vim

Last synced: 2 months ago
JSON representation

curl -L https://git.io/wdhifdotfiles | bash

Awesome Lists containing this project

README

        

# .files
![](https://github.com/wdhif/dotfiles/actions/workflows/main.yml/badge.svg)

:zap:curl -L https://git.io/wdhifdotfiles | bash:zap:
After cloning this repo, run `install` to automatically set up the development
environment. Note that the install script is idempotent: it can safely be run
multiple times.

I'm using [Dotbot](https://github.com/anishathalye/dotbot) to manage my .files.

## Install a Vim plugin
Plugins are managed with [Pathogen.vim](https://github.com/tpope/vim-pathogen). You will have to create a new submodule in `vim/bundle` to add a plugin.
```
git submodule add PLUGIN_GIT_REPO vim/bundle/PLUGIN_NAME
```
Where PLUGIN_GIT_REPO is the url of the git repository of a plugin and PLUGIN_NAME must be the same as the one in the git repository url.
EG. `git submodule add https://github.com/tpope/vim-pathogen.git vim/bundle/vim-pathogen`

## Remove a Vim plugin
Remove the git module in `.gitmodules` and remove the vim plugin directory
```
git rm vim/bundle/PLUGIN_NAME
```

## Update git submodules
Vim plugins and Dotbot are managed using git submodules. To update submodules you can do the following.
```
git submodule update --remote
```