<commit_before>" insert modeで開始
let g:unite_enable_start_insert = 1

" 大文字小文字を区別しない
let g:unite_enable_ignore_case = 1
let g:unite_enable_smart_case = 1

" grep
nnoremap <silent><Leader>g  :<C-u>Unite grep:. -buffer-name=search-buffer<CR>

" カーソル位置の単語をgrep検索
nnoremap <silent><Leader>cg :<C-u>Unite grep:. -buffer-name=search-buffer<CR><C-R><C-W><C-A>

" grep検索結果の再呼出
nnoremap <silent><Leader>r  :<C-u>UniteResume search-buffer<CR>

" unite grep に ag(The Silver Searcher) を使う
if executable('ag')
  let g:unite_source_grep_command = 'ag'
  let g:unite_source_grep_default_opts = '-i --nogroup --column --nocolor'
  let g:unite_source_grep_recursive_opt = ''
endif

" command history
nnoremap <silent><Leader>h  :<C-u>Unite history/command<cr>

" enable yank history
let g:unite_source_history_yank_enable = 1

" cursorline highlight
" let g:unite_cursor_line_highlight = 'Search'
" let g:unite_abbr_highlight = 'StatusLine'<commit_msg>vim - shortcut for `:Unite register`<commit_after>" insert modeで開始
let g:unite_enable_start_insert = 1

" 大文字小文字を区別しない
let g:unite_enable_ignore_case = 1
let g:unite_enable_smart_case = 1

" grep
nnoremap <silent><Leader>g  :<C-u>Unite grep:. -buffer-name=search-buffer<CR>

" カーソル位置の単語をgrep検索
nnoremap <silent><Leader>cg :<C-u>Unite grep:. -buffer-name=search-buffer<CR><C-R><C-W><C-A>

" grep検索結果の再呼出
nnoremap <silent><Leader>r  :<C-u>UniteResume search-buffer<CR>

" unite grep に ag(The Silver Searcher) を使う
if executable('ag')
  let g:unite_source_grep_command = 'ag'
  let g:unite_source_grep_default_opts = '-i --nogroup --column --nocolor'
  let g:unite_source_grep_recursive_opt = ''
endif

" command history
nnoremap <silent><Leader>h  :<C-u>Unite history/command<cr>
nnoremap <silent><Leader>r  :<C-u>Unite register<cr>

" enable yank history
let g:unite_source_history_yank_enable = 1

" cursorline highlight
" let g:unite_cursor_line_highlight = 'Search'
" let g:unite_abbr_highlight = 'StatusLine'
{'fraction_non_alphanumeric': 0.1286008230452675, 'fraction_numerical': 0.00411522633744856, 'mean_word_length': 6.072727272727272, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5584561', 'n_tokens_mistral': 875, 'n_tokens_neox': 862, 'n_words': 149}