Skip to content

Commit

Permalink
Replace git submodules 1:1 with vim-plug
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiX committed Jun 14, 2019
1 parent e176352 commit 55f7613
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 59 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
dot.config-git/credentials
dot.vim/.netrwhist
/dot.config-git/credentials
/dot.vim/.netrwhist
/dot.vim/autoload/
/dot.vim/plugged/
39 changes: 0 additions & 39 deletions .gitmodules

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ There are many git repositories full of dotfiles, but these are mine. If you
see something you like, take it (all my stuff is licensed under the ISC
license, see LICENSE for details). Be aware that there might be other people's
code included, but it should be clearly marked as such. This license also
doesn't cover other repositories included via git submodules - see those
repositories for the correct licensing terms.
doesn't cover stuff that may be downloaded by using this repository (for
example vim plugins) - look at their source for the correct licensing terms.

## Subdirectories

Expand All @@ -25,7 +25,7 @@ The zsh init scripts should be compatible with a wide range of zsh versions.
## How to install

```
git clone --recurse-submodules https://github.com/TobiX/dotfiles.git
git clone https://github.com/TobiX/dotfiles.git
cd dotfiles
./setup.py # or python setup.py
```
Expand Down
1 change: 0 additions & 1 deletion dot.vim/bundle/DirDiff.vim
Submodule DirDiff.vim deleted from 6c111f
1 change: 0 additions & 1 deletion dot.vim/bundle/LargeFile
Submodule LargeFile deleted from 3941a3
1 change: 0 additions & 1 deletion dot.vim/bundle/ex-matchit
Submodule ex-matchit deleted from f0ef9f
1 change: 0 additions & 1 deletion dot.vim/bundle/info.vim
Submodule info.vim deleted from 520a2b
1 change: 0 additions & 1 deletion dot.vim/bundle/ragel.vim
Submodule ragel.vim deleted from 898a06
1 change: 0 additions & 1 deletion dot.vim/bundle/taglist.vim
Submodule taglist.vim deleted from 53041f
1 change: 0 additions & 1 deletion dot.vim/bundle/vala.vim
Submodule vala.vim deleted from 6fdc58
1 change: 0 additions & 1 deletion dot.vim/bundle/vim-flake8
Submodule vim-flake8 deleted from a80616
1 change: 0 additions & 1 deletion dot.vim/bundle/vim-fugitive
Submodule vim-fugitive deleted from d4fb2a
1 change: 0 additions & 1 deletion dot.vim/bundle/vim-gitgutter
Submodule vim-gitgutter deleted from 50a706
1 change: 0 additions & 1 deletion dot.vim/bundle/vim-gnupg
Submodule vim-gnupg deleted from 22cbc6
1 change: 0 additions & 1 deletion dot.vim/bundle/vim-pathogen
Submodule vim-pathogen deleted from 06da92
1 change: 0 additions & 1 deletion dot.vim/bundle/vim-toml
Submodule vim-toml deleted from 85ba82
27 changes: 25 additions & 2 deletions dot.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,31 @@
"set guifont=-adobe-courier-medium-r-normal-*-*-100-*-*-m-*-iso10646-1
"set guifontwide=-adobe-courier-medium-r-normal-*-*-100-*-*-m-*-iso10646-1

runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect()
" vim-plug autoinstall with validation, because I'm paranoid
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/08e78d8a5ea874bebbd7f39de7bb540d9b539963/plug.vim
if sha256(join(readfile(glob('~/.vim/autoload/plug.vim'), 'b'), "\n")) == 'dfe8982d428de33f2b1315d77f479aa1d354d25d37ae2d2dc105353847022270'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
else
call delete(glob('~/.vim/autoload/plug.vim'))
endif
endif

call plug#begin('~/.vim/plugged')
Plug 'vim-scripts/DirDiff.vim', { 'commit': '6c111f8b10c464afa45c6b62820bf3b50828c627' }
Plug 'vim-scripts/LargeFile', { 'commit': '3941a37b2b0288524300348a39521a46539bf9f6' }
Plug 'exvim/ex-matchit', { 'commit': 'f0ef9f72a5ef37fd69981a5246fd834039f65b90' }
Plug 'vim-scripts/info.vim', { 'commit': '520a2b33a035770504b37041f12d9017ee213d70' }
Plug 'jneen/ragel.vim', { 'commit': '898a06e8e0e48b4d589949a29fb511090cdf3f45' }
Plug 'vim-scripts/taglist.vim', { 'commit': '53041fbc45398a9af631a20657e109707a455339' }
Plug 'cbracken/vala.vim', { 'commit': '6fdc58c98bdd1e2b10bfbe9999c8a95457b3cd2f' }
Plug 'nvie/vim-flake8', { 'commit': 'a806163181ad41ec036096a2f235871682fd64cf' }
Plug 'tpope/vim-fugitive', { 'commit': 'd4fb2a2f5c2023f477beae6aef47cf0457351e6e' }
Plug 'airblade/vim-gitgutter', { 'commit': '50a7062909d91a290fae04219887b1b45f3138db' }
Plug 'jamessan/vim-gnupg', { 'commit': '22cbc6b6ab1623edd2e325d256245d21580f912a' }
Plug 'cespare/vim-toml', { 'commit': '85ba8277a6e331a56fce920d62bfdacce5bc5a80' }
call plug#end()

if has("gui_gtk")
set guifont=Bitstream\ Vera\ Sans\ Mono\ Bold\ 10
Expand Down

0 comments on commit 55f7613

Please sign in to comment.