Skip to content

Instantly share code, notes, and snippets.

@aharisu
Created May 6, 2012 15:50

Revisions

  1. aharisu revised this gist May 6, 2012. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.vim
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    "for gosh_complete
    "別バッファからinfo画面を操作するためのキーマップ
    nmap <C-K> <Plug>(gosh_info_row_up)
    nmap <C-J> <Plug>(gosh_info_row_down)
    nmap <C-C> <Plug>(gosh_info_close)
    @@ -8,12 +9,14 @@ nmap gi <Plug>(gosh_info_start_search)
    "カーソル位置のテキストを初期入力として、現在バッファと関連するシンボルを検索する
    nmap gk <Plug>(gosh_info_start_search_with_cur_keyword)
    "別バッファからinfo画面を操作するためのキーマップ
    imap <C-K> <Plug>(gosh_info_row_up)
    imap <C-J> <Plug>(gosh_info_row_down)
    imap <C-C> <Plug>(gosh_info_close)
    "カーソル位置のテキストを初期入力として、現在バッファと関連するシンボルを検索する
    imap <C-A> <Plug>(gosh_info_start_search_with_cur_keyword)

    "
    "for Unite
    "適度に速い更新のほうがいい
  2. aharisu created this gist May 6, 2012.
    20 changes: 20 additions & 0 deletions gistfile1.vim
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    "for gosh_complete
    nmap <C-K> <Plug>(gosh_info_row_up)
    nmap <C-J> <Plug>(gosh_info_row_down)
    nmap <C-C> <Plug>(gosh_info_close)
    "現在バッファと関連するシンボルをuniteで検索する
    nmap gi <Plug>(gosh_info_start_search)
    "カーソル位置のテキストを初期入力として、現在バッファと関連するシンボルを検索する
    nmap gk <Plug>(gosh_info_start_search_with_cur_keyword)
    imap <C-K> <Plug>(gosh_info_row_up)
    imap <C-J> <Plug>(gosh_info_row_down)
    imap <C-C> <Plug>(gosh_info_close)
    "カーソル位置のテキストを初期入力として、現在バッファと関連するシンボルを検索する
    imap <C-A> <Plug>(gosh_info_start_search_with_cur_keyword)
    "
    "for Unite
    "適度に速い更新のほうがいい
    let g:unite_update_time=100