In vim :h UltiSnips-python
in ex-mode can display all info on python usage in UltiSnips.
I want to save all the output as /tmp/vim.output
.
:redir > /tmp/vim.output | :h UltiSnips-python | redir END
It can't work,how can fix then?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community:help
command opens a text file and redir
command can not do anything about it.
Vim's help is just a collection of txt files located in respected doc/
folders. You can either navigate there and do whatever needed with the file itself (copy to /tmp/vim.output
) or you can use :w
command to write help buffer contents to some other file: