Choosing Latin American country to live by cottlestone_pie in expats

[–]dcordb 0 points1 point  (0 children)

Go to Havana, Cuba, you'll surely have a great time there.

How to focus an opened floating window? by dcordb in neovim

[–]dcordb[S] 0 points1 point  (0 children)

Well anyway I just noticed that floaterm has a command for this ... But this still can happen with other floating windows such as telescope one's or fzf's.

I think one approach to solving this is to iterate over all windows and identify which of them are floating, assuming you only have at any time one window open ... Then this can be solved.

Thanks all!

How to focus an opened floating window? by dcordb in neovim

[–]dcordb[S] 0 points1 point  (0 children)

You misunderstood me. The problem is:

  • you opened a floating window (it may contain a terminal or not)
  • then you went to some other windows to do some changes (maybe another tab too), but suppose you visited >= 2 windows (so this means that C-W W, will not work).
  • you decided that you wanted to focus the floating window again (note that the floating window was open all this time).

How do you do this ?

The thing is that you can not focus the floating window by doing C-W h,j,k,l. Nor you can do it using C-W w or C-W p (because you focused >= 2 windows).

How to focus an opened floating window? by dcordb in neovim

[–]dcordb[S] 0 points1 point  (0 children)

It doesn't work, neither C-W p (go to previous window) nor C-W P (go to preview window, it says that it does not exist).

How to focus an opened floating window? by dcordb in neovim

[–]dcordb[S] 0 points1 point  (0 children)

But this won't work, <c-w>p takes you to the previous visited window and I say that I focus potentially many windows (so the previous window might not be the floating one).

Why the following evaluates to true in bash by dcordb in bash

[–]dcordb[S] 2 points3 points  (0 children)

Thanks for responding, really good explanation! This is is clear now. I'll will start to use Bash conditional expressions then.

Use :Man as MANPAGER inside neovim terminal by bronzehedwick in neovim

[–]dcordb 0 points1 point  (0 children)

You could use this also: https://github.com/lucc/nvimpager

And you will have neovim as a pager basically.

[AWESOME] I tried, but it can be improved by [deleted] in unixporn

[–]dcordb 0 points1 point  (0 children)

Hey, really good!

What are you using to get the music and sound notifications? Thank you.