rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

enhancement request: allow text selection/copying in non-editing areas #216

Closed mattsawyer77 closed 8 years ago

mattsawyer77 commented 8 years ago

Not sure how possible this is. But it would be convenient if we could select/copy text from non-editing areas, e.g. the output of :messages.

rogual commented 8 years ago

Two ways of doing this:

rogual commented 8 years ago

Depending on your needs, you might be able to get by with something like

:tabnew | :redir @a | :silent messages | :redir END | :normal "ap

which will open :messages in an ordinary buffer. It's not as good as having the suggested feature, but it might be enough for some use cases.

mattsawyer77 commented 8 years ago

@rogual thanks for the tip. that solves my concerns in a flexible way.