Git Product home page Git Product logo

dotfiles's Introduction

Dotfiles

My personal dotfiles. I heve created it to remember my settings, especially vim settings.

Requirements

* Vim>7
* git 

Reccomended

* Vim >=7.4
* git >=1.6.5
* GNU make

Usage

  1. Clone repository:
    • In git 1.6.5 or higher

        git clone --recursive [email protected]:runningt/dotfiles.git <some_directory>
      
    • In older git probably something like this

        git clone [email protected]:runningt/dotfiles.git <dotfiles_directory>
        cd <some_directory>
        git submodule init
        git submodule update
      

Note: submodules are configured to use ssh clone adress, so probably it's better to clone full repo using ssh. It might be impossible to clone full repo using https.

  1. Use GNU make

     cd <dotfiles_directory>
     make vim
    

You can also do every step manually:

  1. Backup old .vimrc and .vim

    make vim_backup
    

Or:

    cd
    mv .vimrc .vimrc.back
    mv .vim .vim.back
  1. Link new .vimrc and .vim

     make vim_links
    

Or:

    cd
    ln -fs <dotfiles_direcotry>/.vim
    ln -fs <dotfiles_directory>/.vimrc
  1. Link modules you want to autolad

     make vim_enable_<module_to_disable>
    

Or:

    cd .vimrc/bundle
    ln -fs ../bundle_all/<module_to_enable>

Usage of bundle* directories

bubdle_all directory contains all vim plugins installed

bundle_loaded directory contains only plugins really loaded by pathogen. It should contain symbolic links to selected plugins from ../bundle_all

bundle is in fact a symbolic link to ../bundle_loaded (to be compatible with pathogen)

To enable some module:

make vim_enable_<module_to_enable>

To disable module:

make vim_disable_<module_to_disable>

dotfiles's People

Contributors

runningt avatar

Watchers

 avatar

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.