Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 859 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 859 Bytes

Vim config

Installation

  1. Clone this git repository and submodules:

    git clone --recurse-submodules https://github.com/FloatingOctothorpe/vim-conf.git ~/git/vim-conf
    
  2. Update .vimrc (or _vimrc on Windows) to load the config:

    cat > ~/.vimrc <<EOF
    " Use version controlled config
    let vimrepopath = '~/git/vim-conf'
    if stridx(&runtimepath, vimrepopath) < 0
      let &runtimepath .= ',' . vimrepopath . '/vimfiles'
      let &packpath .= ',' . vimrepopath . '/vimfiles'
    endif
    exec "source " . vimrepopath . '/vimrc'
    EOF
    

Note: this will overwrite any existing .vimrc config.

License

All configuration is distributed under the same license as Vim.