Neovide Is A Graphical Neovim Client Written In Rust
Vložit
- čas přidán 2. 06. 2024
- Neovide is a really cool GUI client for Neovim. Although it essentially functions like Neovim in the terminal, Neovide does add some nice graphical improvements such as cursor animations and smooth scrolling. It even has me thinking about making it my new "vim" alias.
REFERENCED:
► github.com/Kethku/neovide
WANT TO SUPPORT THE CHANNEL?
💰 Patreon: / distrotube
💳 Paypal: www.paypal.com/cgi-bin/webscr...
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/stores/distrotube
SOCIAL PLATFORMS:
🗨️ Mastodon: distrotoot.com/@derek
💬 IRC: irc://freenode #distrotube
👫 Reddit: / distrotube
📽️ LBRY/Odysee: odysee.com/$/invite/@DistroTu...
DT ON THE WEB:
🕸️ Website: distrotube.com/
🐿️ Gemini Capsule: gemini://distro.tube
📁 GitLab: gitlab.com/dwt1
🔊 Audio Podcasts: www.buzzsprout.com/1263722
FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - brave.com/dis872
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org
🎨 GIMP: www.gimp.org/
🎵 Audacity: www.audacityteam.org/
💻 VirtualBox: www.virtualbox.org/
🗒️ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys! - Věda a technologie
that cursor jumping around is one of those things that makes an impressive demo but would drive me crazy if i had to stare at it all day...
You hardly notice it honestly.
i have the real problem of losing track of my cursor on large monitors. this cursor animation stuff would help keep visual track of it
@@TheSulross Interesting, I usually look at where the cursor should go. So I know beforehand where its will be.
You can actually disable or shorten the animation and also the trail which I did. I just left small trail like 0.1 so that the cursor movements are a bit more graphic. I just have problem with airline as it just refuses to use the patched powerline font characters despite using powerline guifont.
I thought the same when I started using neovide, but after using it for a while I cannot go back to not having an animation, it feels so weird.
What's really impressive is that it works out of the box with your neovim configuration.
This is sooooooo cool! Although I felt like having motion-sickness after playing around with it a bit, I am truly fascinated by the author(s) who took their time to do this.
Motion sickness?
If anything, smooth scrolling makes going thought the code less annoying
@@RenderingUser but its not even close to being a dealbreaker like DistroTube said.
Woah, that cursor animated movement is unexpected.
Wow the cursor movements are really cool to see, probably I'll get it only for this feature
Thanks for sharing these cools applications!
I love the extro
"We need to get a neovim frontend written in Haskell"
A pure functional frontend
I use vi/vim for 98% of all editing on my system....but holy crap that vulkan/sdl graphically smooth, dare I say, sensual movement of the cursor and buffer is so sweet! I'm hooked...thank you sir...compiled like a boss on my Mint 20 machine....just make sure you strip the binary before dropping it into place...unless you are going to run it under a debugger of course!
The source language seems so important that it is always notified in the first description.
Only if it's Rust ;)
love you content !
I m confused about this neovide though.
what's the point of seing where your cursor goes if you already have your eyes on where you want to go ?
(which is the whole point of putting the hour to master movement in vim)
feels pretty much like a gimmick
I've tried to use neovide for a bit, but the cursor animation makes it feel sluggish for me and the font rendering was not good on my computer. I'm now trying Goneovim, that seems to work better for me. Feels quick and has some extra eyecandy like a minimap for the ones who want that.
Next challenge: implement Neovide in Doom Emacs! :)
In an MPV script
If it is written in Rust, I am gonna Trust.
xd
Vim has so many forks.
Next episode: Neo ultra Vim ++ : Videx edition
neovide is not a fork, it's a gui frontend, it requires neovim to be installed to function
Main anime-character line: Deadly Spider Poison Ultra Mega-Mega Max
It's from "So I'm a Spider, So What?" Episode 8
I have to say I definitely like it. Manipulating text with vim/nvim is somehow so nerdy and cool 😀
If either neovim or neovide would additionally add a a proper (rust | python) "notebook" feature, it would somehow round up for me. At least for data stuff it would sometimes be cooler to have an additional option.
This... is exactly what I wanted. I moved to Sublime (with a Vim emulator) a while ago because it lacked animations. Time to move to this I guess lol
I do not care about cursor animations. The great thing about Windows Nevide is that it can act on wsl installations with --wsl. That is really helpful if you are stuck on windows.
so how many pages of wikipedia does it take to list all the variations on vi/vim? But hey, this editor has an ancient pedigree yet I still use it daily and consider it essential to my toolbox
Nice I was just looking for a gui for neovim on windows
Hey DT how can i add custom directory for brightness ( /sys/class/backlight/intel_backlight/) in xmobarrc i know it's written in the xmobar page but i don't understand how to write its syntax with flag -D
As cool as the animations are I have to imagine they get tiring when you try to actually use Vim for any extended period of time. I felt the same when using WMs with animations.
Will you think about converting your neovim config to lua?
i use your init.vim, but whats your mapleader set to? i cant get the split view to enable, vifm brings up an error, got non-zero code from vifm: 127. which key lets you use the split view?
Backslash. So in my config, Backslash+v, followed by v opens vifm. Backslash+t, followed by a t opens a terminal in a split. Etc.
Pro tip: Those guifg and guibg are also useful for terminal neovim (maybe also for vim?). See ":set termguicolors". You can have 24-bit colors on your terminal nvim!
I don't feel the need to use mouse and smooth scroll and with my setup the cursor animations look a bit much.
What I do is launch this with window manager for fast repeat rate:
xset r rate 230 30
and in nvim config for keeping document screen centered on cursor:
set scrolloff=999
Cool stuff
How come you don't have the arrows on your powerline on your vim? You have them on your top bar so I assume you like them?
Ok I understand the advantage of smoothy cursor animation. However use nvim in the terminal is the best way to my work experience, because I can use vim in any machine with or without a gui interface, like ssh connections.
My trainer use vscode to edit thinks and the send it's to the server and just then apply. And I be thinking, how many time he lost using that solution type. I just have to clone my nvim repository, install nvim and that just work. If that solution work in the terminal I don't think 2 times before installing it.
Sorry my English. I'm just learning yet.
I'm good with Doom Emacs but this looks good too.
I swear I looked at the date twice just to see if this video is old because in this video DT looks younger? or is it just me?
I use NVIM to Write my Essays.
To seed up the cuerser, add "xset r rate 300 50" to an autostart bash script.
I'v tried this, but when using dwm, if i move focus from neovide, and move focus back to neovide, the window manager doesn't give focus to the neovide client, and i'm unable to type in it until i click on it with my mouse
Cursor animation is way, way, WAY down the list of things I need from an IDE.
I like Neovide but not for cursor animations.
@@vorrnth8734 but?
@@jochen_schueller smooth scrolling and other features
it is not an ide. i'ts a gui for neovim
@@danilo2735 -and VIM is an IDE, so...
But if you are using Alacritty as your terminal it already scrolls smooth as butter. ACTUALLY Alacritty handles color emoji like a dream. The best font I have found for great looking text and emoji support in Alacritty is Jetbrains Mono Nerd Font from the AUR. The emoji test document in regular VIM in Alacritty displays perfectly in my system. On my newest install of Manjaro it works perfectly if the font is properly in Alacritty config. In an older Arch installation on another machine I needed to add a file to .config/fonconfig/ but it does work.
could you kindly share where you got the icons in your description, because i see they work on terminal
Wondering if you could share your init.nvim statements in support of GUI
what's cool is that you can configure the gui client from inside neovim
May I ask which desktop environment you are using? What is the terminal, it's beautiful, but I don't know which distribution it is
here he is using the qtile window manager and the alacritty terminal emulator. the distribution is most probably ArcoLinux
Most interesting to me because I haven't been able to get nvim-qt working!
I really like a small rust tool called Flavours. It allows you to change your colorscheme in all your dotfiles at once by applying a template between 2 comments in each file, then runs a hook to refresh upon change. It'd be great to see a video on it :)
could you please link the git repo? seems very interesting
just loved it, but is there any way to get those animations in doom emacs?
Although I haven't experimented with any, I do know one popular Emacs plugin is "beacon". When you move the cursor the new line blinks a little. github.com/Malabarba/beacon
@@DistroTube Thank you sir for your reply, but i didn't want something like that. I just wanted to see some visual animations for eye pleasing. And neovide also provides typing animation which looks cool, But if there is no option in emacs then no problem.
Using a font that included unicode emojis would likely fix your emoji rendering (expecting emojis in every font would be a misguided pain in the ass of course) . Last time I worked with multi-language fonts what glyphs were displayed was really down to what glyphs were included in the font that was loaded and not really anything to do with the underlying software. If you can use multiple fonts and perhaps fall back to another font for missing glyphs would help.
the mouse and scroll wheel are BLOAT!!
Actually, we all already know the destination that the cursor is moving to before we start typing, so I think the animation is not doing much beside driving us crazy.
Tried this on my ubuntu. Library has dependencies on vulcan drivers which is broken.
you need to set a fallback font for emojis after the monospace font. they are separated by comma.
Is the cursor animation, possible to implement in normal neovim
pretty sure it's impossible.
I had a homework assignment in college where we had to use ncurses, and a terminal really is just a 2d array characters on your screen. You can't draw things in the "gaps" between individual letters for example
There are a lot of plugins for animation with scrolling, anyway animations are so annoying, having to wait animation ends, also distracting, so I end removing those plugins from my config at the end.
Looks cool but not really sure what the point if this is rather than just using neo/vim in the terminal apart from the caret animation
your voice/accent sounds like Gilfoyle from SV lol sick
Have you ever timed yourself saying all of the producers names? That was quick! About 5 1/2 seconds.
Какая же прелесть - этот эффект с курсором.
Вы это не любите? Извините, я немного понимаю по-русски.
@@dfnkt Наоборот, это та изюминка, которой не хватало.
согласен, супер красотища
мне показалось, или для установки этого нужно скачать половину интернета?
@@oleg-medovikov кто-то попробовал этот софт - как он?
Is there something like that for Kakoune?
There isn't a GUI client for Kakoune that I know of.
What you thought was smooth scrolling isn't actually smooth scrolling - the text is moving line by line, not pixel by pixel (if you look in the README of neovide, the smooth scrolling gif is actual smooth scrolling with pixel-by-pixel scrolling, not line-by-line scrolling (i probably butchered the explanation, just look closely at the readme smooth scrolling gif and you'd understand))
You are correct. Although the scrolling is rather nice, it is not moving pixel by pixel as it should. The documentation mentions that to get smooth scrolling, you have to enable "multiGrid" which is launching neovide with --multiGrid which I've done. But it appears to have no effect on scrolling, although it does add a little animation when switching windows around.
@@DistroTube To get smooth scrolling you need version 0.7 of neovide (which shows up as a "prerelease" in the GitHub releases page). Are you on that version?
Version 0.7 is what is in the AUR.
@@DistroTube That's strange... Well you could open an issue in the GitHub repo if u want (as well as for the problem with the emojis)
Can it display images? That's one nice thing about graphical Emacs.
"Less bloat animations" - DistroTube 2021
my favorite texteditor is gedit. It just works.
thread 'main' panicked at 'Failed to create window: SdlError("Installed Vulkan doesn\'t implement the VK_KHR_surface extension")', src/window/sdl2/mod.rs:442:10
VIM is awesome
What's next, neoline? Neocode, neovs, notevenvimanymore, qtvim? Will vim ever be enough for the distro hoppers?
the audio delay is a little bit annoying. it’s quite easy to offset it, and it would make a big difference
How can I add the icons in Neovide? someone help plz
What is the memory usage?
Let's see. Right now I'm using 4425M of RAM without neovide open. And I open Neovide and I'm using 4462M. So I'd say it doesn't use much memory.
@@DistroTube Have you ever used BpyTop? With such a system monitor you'll be able to very easily see how much memory each process is using, as well as its CPU consumption. It runs in the terminal and it supports mouse actions - as in, you can click on processes to get more details out of them.
@@Speykious Htop gives more detailed information
Existance of this pisses me off ...I mean i really want to use it, but I would lose the advantage of it being ran from terminal (mostly TMUX) :( :( :(
The day someone makes an actual GUI for neovim (like VSCODE+vim plugin, but that doesn't s*ck balls) is the day I'll live vim. I mean, can't we have a proper file manager with a proper vim experience and a modern look?
Onivim2 comes close for me, but sadly is not yet ready for production use
@@r3ddr4gon80 i didn't know about that. That's really cool actually.
i mean... you could try it yourself :D
I feel like this is going backwards, defeating the purpose of CLI editors
Cool project, but I'd either use Vim motions on my normal editor or simply use the vim or neovim program on the terminal
I personally do the latter, and the whole point is that I'm within my terminal
>OMG SMOOTH ANIMATIONS!!
>soyjak.png
Emacs is cool and I like it but some options to edit multi end of lines are so colocated compared to vim but I was happy with it too, until lsp usage.... So slow since I use if compared to vim that I switch without any regrets :)
Unfortunately, for me Neovide has some issues right now. It likes to crash when my computers enter suspend and doesn’t start properly on NixOS without a fight.
But it has animated cursors!
We fixed quite a few issues, and switched to an openGL based backend. I recommend trying it out again if you don't mind, its very usable now.
I’ve actually been keeping up with that, and fully intend to give it another shot when I (finally) finish rewriting my dotfiles.
what is that big thing of many switches, scrollers, volume buttons giant box? 😁😁
Can't agree with "cursor might get lost". In vim you just see the line you want to jump to and boom, you're there (23j, e.x.) I don't think, that cursor jumping is such a thing. It looks visually pleasant, but in reality it will annoy you really fast.
DT do you have an only fans ? 🙏
I hope he does 🙏
What do you think he uses his patreon for? Don't forget that people use it for similar purposes
@@vidhukant1073 lol I am his Patreon supporter
Question for next Hey DT
@@anantgupta7916 Guptaji big gay .😂
Just kidding .
Tried that before, everything is fine except that around 400MB memory footprint is very a thing to stop people use it:-)
With such poor memory management, using a language that exists almost essentially for forcing the coder to care about memory, you might say neovide's covers are..."Rusty." ,😁
@@infinitelink But I think the memory footprint can be understood, as that's GUI native application and focus on the GUI effect. It uses SDL (Simple DirectMedia Layer) which over OpenGL or Direct3D. Basically, you can say that it works like a small game application. As I tested on my 27 inch iMac which means using a 5K canvas to draw the UI, that's a lot of pixels there which consumes memory.
That's Ok and understandable. But for most of the vim/neovim user, suddenly jump from XXMB to YYYMB level, it's not that easy to move to neovide:)
But I just open the vs-code (one of another widely use editor, sum all the related processes memory together, it's already around 300MB:) So, ...neovide uses 400MB for those effects, it's not that bad actually :)
With so many vim forks, can this definitely be called the vimbloat fork? ;)
(If I don't add a disclaimer that this is a joke, I'll get hate from the vim cult lol)
"I've been a happy emacs user." Welp, we're done here.
Nice, vi(m etc) are only 40+ years late. Compared to Emacs. :-)
But yes, nice trace animations.
I just focus behind you sir.... That's look like music studio equipment....
Looks cool but can't get it to install on Win 11. It just does nothing so it's hard to even tell why it's failing.
*>Written in Rust*
ngmi, and ngbaw.
I spent a couple of hours with this and despite all good features, cursor animation makes this utterly unusable. The settings for speed and length of animation doesn't work either.
Does it have graphical tabs? Working with tabs in vim is terrible IMO.
Your rc file can save you from bad tab experience
The reason I'm using it is because neovim feels the same whether I'm on windows or linux
I am finding myself using many apps written in Rust.
Thank you, I stick with Emacs
Used it for a while but it makes my gpu fan spin like some kind of a 3D game. Which means it is not well written despite Rust and all.
all those starwars effects and it cant change fonts for me
I thought it was cool at first, but then I noticed the font rendering is very flawed and nowhere near usable for my preference, I'd much rather use vim in alacritty for the time being. (which is a real shame because it feels so much more responsive than the terminal)
It takes 4 go for information.
And doesn't even work on ubuntu 20.04
Seems like a lot of bling with no actual use. I'll keep using my own terminal where I can have global settings.
What is your Linux distro and why no minimize, maximize and close button?
That's cool.
alacritty handles coloured emojis just fine for me
'Written In Rust' - every fucking rust zealot
Well, is there anything wrong with Rust?
@@LinucNerd just like being Vegan or running Arch, you don't need to tell us every other sentence....
@@littlepeon Oh I see what you mean ;)
So, now you can use mouse in the environment, designed by people, who *hate* mice. ))
zoomervim
On the topic of the description of this video: I never understood why it matters what language a piece of software is programmed in as long as it runs properly. Why is it being pointed out as if it were something special?
But why?
There's nothing better than emacs.
I think we all can agree on this.
@@DistroTube well...
There is, Vim!
True, but I'm compelled to stay old school. I still prefer regular Vim over anything and everything. I work with AVR microcontrollers, CMAKE, GDB, and all sort of things on both Windows and Linux. Nothing even comes close to Vim. If it is the case that matters to serious amateurs, think about the serious professionals. Experimentation with the same tools of different flavours with persistent unpredictable experimental behaviours have no place in the professional world, be it open source or closed source. Professionalism is always elite. I don't have any issue with Emacs. It's a different beast. Configure anything that suits you and fits into your purpose, but that shouldn't change unpredictably. Configured Emacs? Go with it... Vim? Do you have your setup ready? Go for Vim. Experiment with different concept cars only when you aren't yet going to win a championship on the track. However, that stuff looks interesting. Good effort, great explanation, thus a great video.
First
Confirmed.
That was fast
Last