goyo.vim icon indicating copy to clipboard operation
goyo.vim copied to clipboard

Goyo, fzf and tabs issue.

Open jfab20 opened this issue 2 years ago • 3 comments

I have the following map in my init.vim:

noremap <leader>o :call fzf#run({'source': 'find ~', 'window': {'width': 0.6, 'height': 0.6}, 'sink': 'tabedit' })<CR><CR>

This map just opens a fzf window and opens the selected file in a new tab.

Whenever I enter a file and use :Goyo, then activating the map with <leader>o opens a new terminal window in the middle of the screen as expected. Selecting a file however, causes a bunch of errors:

image

The bug is not present when I use 'sink':'e' insead of tabedit.

jfab20 avatar May 08 '22 17:05 jfab20

@jfab20 I also use this command (fzf#run). Very useful, but I have one question. When I open a new file with this command, I have to press :Goyo again, do you know how to prevent this?

cyrillkuettel avatar Dec 20 '23 17:12 cyrillkuettel

@jfab20 I also use this command (fzf#run). Very useful, but I have one question. When I open a new file with this command, I have to press :Goyo again, do you know how to prevent this?

I don't know unfortunately. I had too many issues with this plugin so I changed to https://github.com/shortcuts/no-neck-pain.nvim.

jfab20 avatar Dec 20 '23 17:12 jfab20

Thank you, I might switch in the future.

cyrillkuettel avatar Dec 20 '23 18:12 cyrillkuettel