From e8ed3462bb066dbbf4860c378ee2d657896a2857 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sun, 22 Jan 2017 11:27:44 -0700 Subject: Bundle update Sun Jan 22 11:27:44 MST 2017 --- bundle-update.sh | 13 +++++++++++++ bundle/airline | 2 +- bundle/grammarous | 2 +- bundle/neocomplete | 2 +- bundle/unite | 2 +- config/grammarous.vim | 3 +++ vimrc | 1 + 7 files changed, 21 insertions(+), 4 deletions(-) create mode 100755 bundle-update.sh diff --git a/bundle-update.sh b/bundle-update.sh new file mode 100755 index 0000000..5f50a0a --- /dev/null +++ b/bundle-update.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +wd=$(dirname $0) + +for i in $(ls $wd/bundle); do + pushd $wd/bundle/$i + git pull origin master + popd > /dev/null +done + +cd $wd +git add . +git commit -m "Bundle update `date`" diff --git a/bundle/airline b/bundle/airline index 258430d..b56a064 160000 --- a/bundle/airline +++ b/bundle/airline @@ -1 +1 @@ -Subproject commit 258430db82329c1298750af91391c1b21a5a5b58 +Subproject commit b56a064377fcd4340e60ffd9a7fcf157f8a26939 diff --git a/bundle/grammarous b/bundle/grammarous index 81ff81d..46048e9 160000 --- a/bundle/grammarous +++ b/bundle/grammarous @@ -1 +1 @@ -Subproject commit 81ff81d1ac5e2ea059600588165ba9b2ecb854eb +Subproject commit 46048e9ba954296bda789d8fdb794d4ae7a9d498 diff --git a/bundle/neocomplete b/bundle/neocomplete index fdf3883..9617d82 160000 --- a/bundle/neocomplete +++ b/bundle/neocomplete @@ -1 +1 @@ -Subproject commit fdf3883b209349513c7b2c2b9a19360544a25775 +Subproject commit 9617d825c0d4acdb18aec903e9c1c0443058d18b diff --git a/bundle/unite b/bundle/unite index 3afccb3..be09b0e 160000 --- a/bundle/unite +++ b/bundle/unite @@ -1 +1 @@ -Subproject commit 3afccb35526e8645f1dd77f4b137e49153f98924 +Subproject commit be09b0e5784c4c4c13aefae4f16313696c6f51de diff --git a/config/grammarous.vim b/config/grammarous.vim index 89399f6..4f2ae44 100644 --- a/config/grammarous.vim +++ b/config/grammarous.vim @@ -1,3 +1,6 @@ +" use global languagetool +let g:grammarous#languagetool_cmd = 'languagetool' + " Search only in comment section for certain filestypes let g:grammarous#default_comments_only_filetypes = { \ '*' : 1, 'help' : 0, 'markdown' : 0, 'tex' : 0 diff --git a/vimrc b/vimrc index c038eb8..2a4d4d4 100644 --- a/vimrc +++ b/vimrc @@ -35,6 +35,7 @@ set comments=sl:/*,mb:\ *,elx:\ */ " Enhanced keyboard mappings " +set pastetoggle= " in normal mode F2 will save the file nmap :w " in insert mode F2 will exit insert, save, enters insert again -- cgit v1.2.3-70-g09d2