Is there a way to search inside digraphs in Vim

Is there a way to search inside a table :digraphin VIM? \doesn’t work, and my eyes scatter along the glyphs I desire.

+4
source share
4 answers

You can capture the actual output :digraphin the scratch buffer with:

:redir @a | silent digraph | redir END | new +setl\ buftype=nofile\ bufhidden=wipe | put! a
+5
source

try :h digraph-tablethere you can search using/ or ?

+2
source

, unicode-plugin :Digraphs foobar , foobar

+1

Combination Response to the accepted Ingos , Bill Odoms responds to pointing ex commands to the buffer and Capturing the ex command output from the Vim Tips Wiki creates the following snippet for yours .vimrc.

function! TabDigraphs()
  redir => message
    silent digraphs
  redir END
  tabnew
  setlocal buftype=nofile bufhidden=wipe
  silent put =message
  setlocal nomodified
endfunction
command! TabDigraphs call TabDigraphs()
0
source

All Articles