From: Jannik ZANDER Date: Thu, 21 Jun 2018 20:47:56 +0000 (+0200) Subject: Add vim plugins X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=274bd0103387100106d504597b25aad04a27916f;p=dotfiles.git Add vim plugins --- diff --git a/.gitmodules b/.gitmodules index d86c96e..d8e1aef 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,24 @@ [submodule ".vim/pack/plugins/start/vim-airline"] path = .vim/pack/plugins/start/vim-airline url = https://github.com/vim-airline/vim-airline.git -[submodule ".vim/pack/plugins/start/ack.vim"] - path = .vim/pack/plugins/start/ack.vim - url = https://github.com/mileszs/ack.vim.git [submodule ".vim/pack/plugins/start/Tortoise-Typing"] path = .vim/pack/plugins/start/Tortoise-Typing url = https://github.com/thanthese/Tortoise-Typing.git +[submodule ".vim/pack/plugins/start/ale"] + path = .vim/pack/plugins/start/ale + url = https://github.com/w0rp/ale.git +[submodule ".vim/pack/plugins/start/vim-fugitive"] + path = .vim/pack/plugins/start/vim-fugitive + url = https://github.com/tpope/vim-fugitive.git +[submodule ".vim/pack/plugins/start/vim-unimpaired"] + path = .vim/pack/plugins/start/vim-unimpaired + url = https://github.com/tpope/vim-unimpaired.git +[submodule ".vim/pack/plugins/start/ultisnips"] + path = .vim/pack/plugins/start/ultisnips + url = https://github.com/SirVer/ultisnips.git +[submodule ".vim/pack/plugins/start/ropevim"] + path = .vim/pack/plugins/start/ropevim + url = https://github.com/python-rope/ropevim.git +[submodule ".vim/pack/plugins/start/ack.vim"] + path = .vim/pack/plugins/start/ack.vim + url = https://github.com/mileszs/ack.vim.git diff --git a/.vim/pack/plugins/start/ale b/.vim/pack/plugins/start/ale new file mode 160000 index 0000000..22533f2 --- /dev/null +++ b/.vim/pack/plugins/start/ale @@ -0,0 +1 @@ +Subproject commit 22533f2c1f09bcf19dfba9e24a6a948c3d2716c0 diff --git a/.vim/pack/plugins/start/ropevim b/.vim/pack/plugins/start/ropevim new file mode 160000 index 0000000..ab87505 --- /dev/null +++ b/.vim/pack/plugins/start/ropevim @@ -0,0 +1 @@ +Subproject commit ab87505b4aff3695e1385a3e463a7f7d5c473ad9 diff --git a/.vim/pack/plugins/start/ultisnips b/.vim/pack/plugins/start/ultisnips new file mode 160000 index 0000000..6fdc364 --- /dev/null +++ b/.vim/pack/plugins/start/ultisnips @@ -0,0 +1 @@ +Subproject commit 6fdc3647f72e0a1f321ea6bd092ecd01f7c187ba diff --git a/.vim/pack/plugins/start/vim-fugitive b/.vim/pack/plugins/start/vim-fugitive new file mode 160000 index 0000000..8fa5cad --- /dev/null +++ b/.vim/pack/plugins/start/vim-fugitive @@ -0,0 +1 @@ +Subproject commit 8fa5cad8d7502be2f3438d02f353ab62264d358e diff --git a/.vim/pack/plugins/start/vim-unimpaired b/.vim/pack/plugins/start/vim-unimpaired new file mode 160000 index 0000000..f185e75 --- /dev/null +++ b/.vim/pack/plugins/start/vim-unimpaired @@ -0,0 +1 @@ +Subproject commit f185e75b87a092162099ca2781626253a5a41a67 diff --git a/.vim/vimrc b/.vim/vimrc index 8edf10b..6f8ff8d 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -66,7 +66,7 @@ set fileformats=unix,dos,mac "set foldclose=all "set foldopen+=jump set guioptions+=a -set guioptions-=m "menu bar +"set guioptions-=m "menu bar set guioptions-=T "toolbar set guioptions-=r "scroolbar set history=200 @@ -143,7 +143,8 @@ let g:netrw_sort_sequence = '[\/]$,*' "for ack.vim if executable('ag') - let g:ackprg = 'ag --vimgrep --skip-vcs-ignores' +" let g:ackprg = 'ag --vimgrep --skip-vcs-ignores' + let g:ackprg = 'rg' endif diff --git a/bin/dit-init.sh b/bin/dit-init.sh new file mode 100755 index 0000000..2daafbd --- /dev/null +++ b/bin/dit-init.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +# Define dit command +dit () +{ + git --git-dir=$HOME/.dit --work-tree=$HOME "$@" +} + +# Perform initial steps +cd $HOME +git init --bare $HOME/.dit +dit config --local status.showUntrackedFiles no +dit remote add origin git@jaza.me:jaz/dit.git +dit fetch +dit reset --hard origin/master +dit branch -u origin/master + diff --git a/bin/dotfiles-init.sh b/bin/dotfiles-init.sh deleted file mode 100755 index 2daafbd..0000000 --- a/bin/dotfiles-init.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# Define dit command -dit () -{ - git --git-dir=$HOME/.dit --work-tree=$HOME "$@" -} - -# Perform initial steps -cd $HOME -git init --bare $HOME/.dit -dit config --local status.showUntrackedFiles no -dit remote add origin git@jaza.me:jaz/dit.git -dit fetch -dit reset --hard origin/master -dit branch -u origin/master -