I want to use the Vim to see the result of history (not in the shell). I think history | vim will work (use the result of history as t
history
history | vim
Apart of vim -, you may try bash command substitution like:
vim -
vim <(history)
See also: