Comments (8)
nvui doesn't read the ginit.vim
. Instead nvui defines the variable g:nvui
, so you can place nvui configuration commands like this.
init.vim
if exists('g:nvui')
" configure nvui here (ex.)
NvuiCmdFontFamily Jetbrains Mono
set guifont=Consolas
endif
init.lua
if vim.fn.exists('g:nvui') ~= 0 then
-- Configure nvui here
end
Just as an example, here's a snippet of what my nvui config looks like:
if exists('g:nvui')
set linespace=1
set guifont=Consolas\ NF:h11
NvuiPopupMenuDefaultIconFg white
NvuiCmdBg #1e2125
NvuiCmdFg #abb2bf
NvuiCmdBigFontScaleFactor 1.0
NvuiCmdPadding 10
NvuiCmdCenterXPos 0.5
NvuiCmdTopPos 0.0
NvuiCmdFontFamily Fantasque Sans Mono
NvuiCmdFontSize 25.0
NvuiCmdBorderWidth 5
NvuiPopupMenuIconFg variable #56b6c2
NvuiPopupMenuIconFg function #c678dd
NvuiPopupMenuIconFg method #c678dd
NvuiPopupMenuIconFg field #d19a66
NvuiPopupMenuIconFg property #d19a66
NvuiPopupMenuIconFg module white
NvuiPopupMenuIconFg struct #e5c07b
NvuiCaretExtendTop 15
NvuiCaretExtendBottom 8
NvuiTitlebarFontSize 12
NvuiTitlebarFontFamily Arial
NvuiCursorAnimationDuration 0.1
set guicursor=n-v-c-sm:block-Cursor,i-ci-ve:ver25-Cursor-blinkwait300-blinkon500-blinkoff300,r-cr-o:hor20
endif
I would have to look into the command line showing problem. Could you disable the frameless window (:NvuiFrameless v:false
) and see if that solves anything?
from nvui.
Thanks for the response. Unfortunately, it doesn't solve the command line from hiding underneath the screen. I did however stumble upon some new information - it's not a problem solely with the command line, but rather the entire bottom few lines of the GUI window are simply not rendered. If I open a buffer, I can move the cursor down, and it will go out of the screen as though it's still in the window - but the program window itself does not render it, and changing its size does not help.
A little demonstration. (Again, apologies for the messiness.)
from nvui.
I also have this problem on Windows 10 (version 2004)
from nvui.
So for those bottom lines there is no text?
At the bottom of the window is there any background color or is it just black?
from nvui.
Specifically, those bottom lines seem to be cut off by the window, as though the window was pulled upwards without resizing its contents. If it were to display correctly, it would seem as though we could just pull the window down to reveal the lines; that's what it's like. The bottom lines clearly exist in the instance of Vim, the window is just never displaying them because it looks like it cut itself short.
(The black is from my OBS recording. Sorry about that.)
from nvui.
Could you check if #65 fixes your issues? If you had a non standard (i.e. not 100%) DPI setting the problem may have been caused by that.
from nvui.
Could you check if #65 fixes your issues? If you had a non standard (i.e. not 100%) DPI setting the problem may have been caused by that.
yeah,my DPI is 125% and this solve my problem. Now I can see command line.
from nvui.
Yup, problem solved. Good work!
from nvui.
Related Issues (20)
- Mapping with numerical keys does not work
- a little laggy when both frameless title bar and maximize is on, windows 11 HOT 1
- touchpad scroll (2 finger gesture) is way too sensitive in windows 11
- how to save configuration items? HOT 2
- cannot build under ubuntu 20.04 - ithub/nvui/build/nvui_autogen/UVLADIE3JM/../../../src/cursor.hpp:8:10: fatal error: span: No such file or directory HOT 1
- Nvui-* commands and related helps did not load HOT 1
- [Help] Opening a file using the same instance HOT 2
- Current opacity setting also affects titlebar and fonts
- Can't map "^_" in nvui
- Can't build on Windows HOT 4
- broken telescope display HOT 1
- Not working keys HOT 2
- <C-^> does not work
- lag on 4k display HOT 3
- i want a new release, thanks
- Wierd behaviour in Alpha dashboard
- Missing Icons in Gutter HOT 3
- nvui window does not close with latest neovim releases. HOT 4
- Custom shortcuts
- using non-monospace, variable-width fonts?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvui.