-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ^^^^^^^^^^^^ at the end of page #268
Comments
In the
|
This solution only works if the line 109: let bg = s:get_color('Normal', 'bg#') returns a color in place of A proper solution has to guarantee that StatusLineNC Status lines of not-current windows.
Note: If this is equal to "StatusLine", Vim will use "^^^" in
the status line of the current window. @junegunn Any elegant solution to solve this? I haven't been able to think of any. |
I removed Path: function! s:tranquilize()
let bg = s:get_color('Normal', 'bg#')
for grp in ['NonText', 'FoldColumn', 'ColorColumn', 'VertSplit',
\ 'StatusLine', 'StatusLineNC', 'SignColumn'] # line 113
" -1 on Vim / '' on GVim
if bg == -1 || empty(bg)
call s:set_color(grp, 'fg', get(g:, 'goyo_bg', 'black'))
call s:set_color(grp, 'bg', 'NONE')
else
call s:set_color(grp, 'fg', bg)
call s:set_color(grp, 'bg', bg)
endif
call s:set_color(grp, '', 'NONE')
endfor
endfunction Before: \ 'StatusLine', 'StatusLineNC', 'SignColumn'] # Line 113 After: \ 'SignColumn'] # Line 113 and got interesting effect that I like. This is somehow solving the issue, although it's not elegant. Screenshots:Before:After:I hope it will help someone. |
Hi, I have a very similar issue. I'm trying to use Vim as a text editor on an eink screen for writing prose. I just don't want the ~'s on the side of the screen. That's why I use Goyo. It works perfectly when I'm in my terminal window, but for some reason I barely understand, on my eink screen both ~ and ^^ appear on the side and bottom of the screen. So it's something that only happens there. To make the eink screen work I'm using a virtual terminal on Raspbian, but I wouldn't even know how to figure out where the problem comes from. Clearly it's not an issue with Goyo, but maybe someone can help us. This issue apparently happened on more instances #186. Any help would be greatly appreciated. |
Is it possible to remove these
^^^^^^^^^^^^^^^^^^^^^^^^
characters at the end of current page?The text was updated successfully, but these errors were encountered: