We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b678fcb commit 5e93668Copy full SHA for 5e93668
autoload/quickui/tools.vim
@@ -3,7 +3,7 @@
3
" tools.vim -
4
"
5
" Created by skywind on 2019/12/23
6
-" Last Modified: 2021/11/30 01:33
+" Last Modified: 2021/11/30 01:35
7
8
"======================================================================
9
@@ -491,7 +491,8 @@ endfunc
491
" search inputbox
492
"----------------------------------------------------------------------
493
function! quickui#tools#input_search()
494
- let text = quickui#input#open('Enter text to search:', '', 'search')
+ let t = expand('<cword>')
495
+ let text = quickui#input#open('Enter text to search:', t, 'search')
496
redraw
497
if text == ''
498
echo "quit search"
0 commit comments