Giter Club home page Giter Club logo

dotfiles's Introduction

Dotfiles

This is My Vim Config. There Are Many Like It, But This One is Mine.


Dotfiles, inlcuding my .vimrc, are managed with git and symlinks. Vim plugins are handled with Pathogen and git-submodules.

See also my Vagrant Ubuntu Node VM and environment provisioning scripts that include other goodies like vifm, tig, etc...

Installation:

(running on both Ubuntu and OS X, YMMV on other systems)

Clone dot files

cd ~/ && \
git clone https://github.com/kwaledesign/dotfiles.git

Install pathogen pathogen - (manages the runtime path of the plugins)

mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

Symlink .vimrc file and bundle directory

ln -s ./dotfiles/vim/.vimrc && \
ln -s ~/dotfiles/vim/.vim/bundle/* ~/.vim/bundle/

pull and update git submodules (vim plugins)

cd dotfiles/vim/.vim/bundle/ && \
git submodule update --init && \
git submodule foreach git pull origin master && \
cd

Oh My Zsh!

sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

symlink .zshrc

mv .zshrc .zshrc.old && \
ln -s ~/dotfiles/zsh/.zshrc

Yankring Plugin Config (needs a tmp/file with read/write permissions)

mkdir ~/.vim/tmp && \
cd ~/.vim/tmp/ && \
mkdir yankring-tmp/ && \
cd yankring-tmp && \
touch yankring_history_v2.txt && \
cd

Set permissions on the tmp/ directory (YMMV, I'm using vagrant...)

sudo chown vagrant ~/.vim/tmp && \
sudo chmod 777 -R ~/vim/tmp

Vim Plugins

rember to run: :Helptags

To remove a Git Submodule:

  1. Delete the relevant section from the .gitmodules file
  2. Stage the changes git add .gitmodules
  3. Delete the relevant section from .git/config
  4. Run git rm --cached path_to_submodule (no trailing slash)
  5. Run rm -rf .git/modules/path_to_submodule
  6. Commit git commit -m "Removed submodule"
  7. Delete the now untracked submodule file rm -rf path_to_submodule

dotfiles's People

Contributors

kwaledesign avatar

Watchers

James Cloos avatar  avatar

dotfiles's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.