]> git.zndr.dk Git - dotfiles.git/commitdiff
Try vim 8 pack
authorJannik ZANDER <jannikz@gmail.com>
Sun, 17 Jun 2018 19:14:02 +0000 (21:14 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Sun, 17 Jun 2018 19:14:02 +0000 (21:14 +0200)
.gitmodules [new file with mode: 0644]
.vim/pack/plugins/start/vim-plug [new submodule]
.vimrc

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..e1e69e0
--- /dev/null
@@ -0,0 +1,3 @@
+[submodule ".vim/pack/plugins/start/vim-plug"]
+       path = .vim/pack/plugins/start/vim-plug
+       url = https://github.com/junegunn/vim-plug
diff --git a/.vim/pack/plugins/start/vim-plug b/.vim/pack/plugins/start/vim-plug
new file mode 160000 (submodule)
index 0000000..fef4e43
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit fef4e434baf9edbe0bd1c241efdb76d47172bd4f
diff --git a/.vimrc b/.vimrc
index 18372b6a4255cda8b4d70e9343c9a8d5b3dded98..0204ad0c2fe8425c4be9360acedb2b51e4b09da7 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -1,30 +1,20 @@
 " section: environment {{{1
 " ---------------------
 
-if (empty(glob('~/.cache/vim/autoload/plug.vim')) ||
-    \ empty(glob('~/.local/share/vim/viminfo')))
-  cd ~
-  silent !mkdir -p .local/share/vim/{swap,backup,undo}
-  silent !mkdir -p .cache/vim/autoload
-  silent !curl -fLo .cache/vim/autoload/plug.vim
-    \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
-  autocmd VimEnter * PlugInstall | source $MYVIMRC
-  cd -
-endif
-
-set directory=~/.local/share/vim/swap
-set backupdir=~/.local/share/vim/backup
-set undodir=~/.local/share/vim/undo
-set viminfo+=n~/.local/share/vim/viminfo
-set runtimepath+=~/.cache/vim
+"silent !mkdir -p ~/.local/share/vim/{swap,backup,undo}
+"set directory=~/.local/share/vim/swap
+"set backupdir=~/.local/share/vim/backup
+"set undodir=~/.local/share/vim/undo
+"set viminfo+=n~/.local/share/vim/viminfo
+"set runtimepath+=~/.cache/vim
 
 " section: plugins {{{1
 " ---------------------
-silent call plug#begin('~/.cache/vim/bundle')
-Plug 'easymotion/vim-easymotion'
-Plug 'tpope/vim-surround'
-Plug 'tpope/vim-commentary'
-Plug 'michaeljsmith/vim-indent-object'
+"silent call plug#begin('~/.cache/vim/bundle')
+"Plug 'easymotion/vim-easymotion'
+"Plug 'tpope/vim-surround'
+"Plug 'tpope/vim-commentary'
+"Plug 'michaeljsmith/vim-indent-object'
 "Plug 'tpope/vim-unimpaired'
 "Plug 'tpope/vim-dispatch'
 "Plug 'tpope/vim-repeat'
@@ -41,8 +31,8 @@ Plug 'michaeljsmith/vim-indent-object'
 "Plug 'mileszs/ack.vim'
 "Plug 'jeetsukumaran/vim-filesearch'
 "Plug 'haya14busa/incsearch.vim'
-Plug 'altercation/vim-colors-solarized'
-Plug 'editorconfig/editorconfig-vim'
+"Plug 'altercation/vim-colors-solarized'
+"Plug 'editorconfig/editorconfig-vim'
 "Plug 'johnsyweb/vim-makeshift'
 "Plug 'tfnico/vim-gradle'
 "Plug 'a.vim'
@@ -50,7 +40,7 @@ Plug 'editorconfig/editorconfig-vim'
 "Plug 'hdima/python-syntax'
 "Plug 'klen/python-mode'
 "Plug 'jalcine/cmake.vim'
-call plug#end()
+"call plug#end()
 
 " section: options {{{1
 " ---------------------