summaryrefslogtreecommitdiff
path: root/plugin/telescope.vim
blob: 3a333c92089c6e7f236405af460cdaf38c5b60c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

" Sets the highlight for selected items within the picker.
highlight default link TelescopeSelection Visual

" "Normal" in the floating windows created by telescope.
highlight default link TelescopeNormal Normal


" This is like "<C-R>" in your terminal.
"   To use it, do `cmap <C-R> <Plug>(TelescopeFuzzyCommandSearch)
cnoremap <silent> <Plug>(TelescopeFuzzyCommandSearch) <C-\>e
      \ "lua require('telescope.builtin').command_history {
        \ default_text = [=[" . escape(getcmdline(), '"') . "]=]
        \ }"<CR><CR>


" TODO: Make a real perf module that works nicer. Probably something for
" another night :)
lua PERF = function(...) end