[from now] 2014/12/17 23:25:53

diff --git a/.peco-snippets b/.peco-snippets
index d880260..3202e88 100644
--- a/.peco-snippets
+++ b/.peco-snippets
@@ -92,6 +92,7 @@ ghq get git@bitbucket.org:yukimemi/coffee-windows.git
 ghq get git@bitbucket.org:yukimemi/cpp.git
 ghq get git@bitbucket.org:yukimemi/books.git
 ghq get git@bitbucket.org:yukimemi/typescript.git
+ghq get git@bitbucket.org:yukimemi/jscript.git

 # Gist
 ghq get https://gist.github.com/5507969.git \# golang copy file example
@@ -141,3 +142,9 @@ git config --global ghq.root ~/.ghq/src
 curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | bash
 curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="11" bash

+# neobundle update
+vim -g -f -c "silent exe 'NeoBundleUpdate | q'" &> /dev/null
+
+# mac search profile
+curl -sL https://raw.githubusercontent.com/syui/json-script/master/script/macbook-model-command.sh | sh
+
diff --git a/vim/.vimrc b/vim/.vimrc
index 172e9df..41c1f83 100755
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -131,6 +131,7 @@ NeoBundle 'tyru/operator-star.vim', {'depends': ['kana/vim-operator-user', 'thin
 NeoBundle 'vim-jp/vimdoc-ja'
 NeoBundle 'w0ng/vim-hybrid'
 NeoBundle 'supermomonga/thingspast.vim'
+NeoBundle 'jacquesbh/vim-showmarks'
 if ! s:is_windows
   NeoBundle 'airblade/vim-gitgutter'
 endif
@@ -1157,7 +1158,7 @@ if neobundle#tap('unite.vim')"{{{
   nnoremap suq :<C-u>Unite quickfix -no-quit<CR>
   nnoremap suh :<C-u>Unite help<CR>
   nnoremap sur :<C-u>Unite register<CR>
-  nnoremap sum :<C-u>Unite neomru/file -auto-preview<CR>
+  " nnoremap sum :<C-u>Unite neomru/file -auto-preview<CR>
   nnoremap su/ :<C-u>Unite line -no-quit<CR>
   nnoremap sug :<C-u>Unite grep -no-quit<CR>
   nnoremap sut :<C-u>Unite tab<CR>
@@ -3125,6 +3126,49 @@ if neobundle#tap('incsearch.vim')"{{{
 endif
 "}}}

+if neobundle#tap('vim-showmarks')"{{{
+  call neobundle#config({
+        \ 'autoload': {
+        \   'commands': ['ShowMarksOnce', 'NoShowMarks', 'DoShowMarks', 'PreviewMarks']
+        \ }
+        \ })
+
+  set viminfo='50,\"1000,:0,n~/.vim/viminfo
+  let g:showmarks_marks_notime = 1
+  let g:unite_source_mark_marks = '01abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLNMOPQRSTUVWXYZ'
+  let g:showmarks_enable = 0
+  if !exists('g:markrement_char')
+    let g:markrement_char = [
+          \     'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
+          \     'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
+          \     'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+          \     'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
+          \ ]
+  en
+
+  fu! s:AutoMarkrement()
+    if !exists('b:markrement_pos')
+      let b:markrement_pos = 0
+    else
+      let b:markrement_pos = (b:markrement_pos + 1) % len(g:markrement_char)
+    en
+    exe 'mark' g:markrement_char[b:markrement_pos]
+    echo 'marked' g:markrement_char[b:markrement_pos]
+  endf
+
+  au MyAutoCmd BufReadPost * sil! ShowMarksOnce
+
+  nn [Mark] <Nop>
+  nm sm [Mark]
+  nn sum :<C-u>Unite mark<CR>
+  nn [Mark] :<C-u>call <SID>AutoMarkrement()<CR><CR>:ShowMarksOnce<CR>
+  com! -bar MarksDelete sil :delm! | :delm 0-9A-Z | :wv! | :ShowMarksOnce
+  nn <silent>[Mark]d :MarksDelete<CR>
+
+  call neobundle#untap()
+endif
+"}}}
+
 " disable plugin
 let plugin_dicwin_disable = 1
 "===================================================================================}}}