Permalink
Browse files

GPG stuff for the mac, better maps for doing my underlining, ditched …

…vim-async, and a better get script
  • Loading branch information...
1 parent 4e6a8df commit 16c4e68243d419aff5f87f4040c99ebdbb5fe133 @derekwyatt committed Jan 18, 2012
Showing with 20 additions and 5 deletions.
  1. +0 −1 bundle/from_github.md
  2. +10 −3 bundle/get
  3. +10 −1 vimrc
View
@@ -17,7 +17,6 @@
* **ActionScript**: `git clone https://github.com/jeroenbourgois/vim-actionscript.git vim-actionscript`
* **Blogit**: `git clone https://github.com/vim-scripts/blogit.vim.git vim-blogit`
* **Gundo**: `git clone https://github.com/sjl/gundo.vim.git vim-gundo`
-* **Async**: `git clone https://github.com/MarcWeber/vim-addon-async.git vim-async`
* **JSON**: `git clone https://github.com/vim-scripts/vim-addon-json-encoding.git vim-json`
* **Signs**: `git clone https://github.com/MarcWeber/vim-addon-signs.git vim-signs`
* **MWUtils**: `git clone https://github.com/MarcWeber/vim-addon-mw-utils.git vim-mwutils`
View
@@ -1,9 +1,16 @@
#!/bin/bash
-cat from_github.md | grep 'git clone' | sed 's/.*`\(.*\)`.*$/\1/' | while read f
+pluglist=
+if [[ $# == 0 ]]; then
+ pluglist="$(grep '\*\*[^\*]*\*\*' from_github.md | sed 's/^....\([^:]*\)..:.*$/\1/')"
+else
+ pluglist="$@"
+fi
+for f in $pluglist
do
- d=$(echo $f | cut -f4 -d' ')
+ clone="$(grep $f from_github.md | sed 's/.*`\(.*\)`.*$/\1/')"
+ d=$(echo $clone | cut -f4 -d' ')
if [[ ! -d "$d" ]]; then
- eval $f
+ eval $clone
fi
done
View
11 vimrc
@@ -270,7 +270,8 @@ nmap <silent> gw :s/\(\%#\w\+\)\(\_W\+\)\(\w\+\)/\3\2\1/<CR>`'
nmap <silent> <F3> :call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)<CR>
" Underline the current line with '='
-nmap <silent> ,ul :t.\|s/./=/g\|:nohls<cr>
+nmap <silent> ,u= :t.\|s/./=/g\|:nohls<cr>
+nmap <silent> ,u- :t.\|s/./-/g\|:nohls<cr>
" Shrink the current window to fit the number of lines in the buffer. Useful
" for those buffers that are only a few lines
@@ -414,6 +415,14 @@ let NERDTreeIgnore=[ '\.ncb$', '\.suo$', '\.vcproj\.RIMNET', '\.obj$',
\ '\.intermediate\.manifest$', '^mt.dep$' ]
"-----------------------------------------------------------------------------
+" GPG Stuff
+"-----------------------------------------------------------------------------
+if has("mac")
+ let g:GPGExecutable = "gpg2"
+ let g:GPGUseAgent = 0
+endif
+
+"-----------------------------------------------------------------------------
" FSwitch mappings
"-----------------------------------------------------------------------------
nmap <silent> ,of :FSHere<CR>

0 comments on commit 16c4e68

Please sign in to comment.