Configuring Neovim With Lua (It's Easy!)

preview_player
Показать описание

REFERENCED:

WANT TO SUPPORT THE CHANNEL?

DONATE CRYPTO:
💰 Bitcoin: 1Mp6ebz5bNcjNFW7XWHVht36SkiLoxPKoX
🐶 Dogecoin: D5fpRD1JRoBFPDXSBocRTp8W9uKzfwLFAu
📕 LBC: bMfA2c3zmcLxPCpyPcrykLvMhZ7A5mQuhJ

DT ON THE WEB:

FREE AND OPEN SOURCE SOFTWARE THAT I USE:

Your support is very much appreciated. Thanks, guys!
Рекомендации по теме
Комментарии
Автор

It's been a 2-3 days since I started configuring nvim in lua and I gotta say the process is really smooth so far.

swapnendukarmakar
Автор

Lua is such an underrated programming language, everything from how light it is to implement to how easy it is to learn and use. Didn't know Neovim was that capable if it were not for this awesome channel

_..---
Автор

I am very envious of your ability to nimbly adapt to new technologies

esra_erimez
Автор

I don’t agree with the statement that if you have too much config in vim, you should go to emacs. I’ve used both for a long time and for me, nvim is by far the better IDE of the two. But you’ll need quite a bit of configuration for that still.

mke
Автор

For Lisp enthusiasts, Fennel compiles to Lua.

musicalintuition
Автор

Lua is really one of the best things that happened to neovim. Nice to see a channel such as DistroTube to cover it!

tuffgniuz
Автор

Hey DT please also do a video on neovim usage from a programming perspective. For sysadmin use the difference between vim and neovim is not that big but when it comes to programming and customization its a completely and totally different beast. Most people are not aware of the main selling points of neovim and that the bulk of new features added by the core team are geared towards programmers. My recommendation would be in your case to take some of your haskell projects, and setup 1. haskell LSP (on arch you can use haskell-language-server-bin ) 2. nvim-telescope (insanely good) 3. Understand what tree sitter is and take advantage of it 4. Make some snippets with LuaSnip 5. maybe use nvim-dap for haskell.

I know your content is more sysadmin oriented but that does not mean that you can ignore some of the main value propositions of an application before comparing it to another one.


Either way very happy to see that you brought up the Lua aspect and sparked more people's interest in the project.

Kalasklister
Автор

Great video, although I disagree about the long config point. While, Emacs is superior as an all-encompassing software, I feel like Neovim is the superior development environment, at this point in time. So there is nothing wrong in having an exhaustive config to expand on that programming experience.

jemag
Автор

Hi DT, Thanks for Lua video. You have made a terminal beast out of me. Presently using Awesome WM, NVIM and Kitty. All thanks to you. All the best.

popeye
Автор

If this man was my teacher in kindergarten, I would have passed. To this day I am learning my alphabet through khanacademy to prepare for my end of year test.

zahimeen
Автор

People have lengthy configs because at this point Neovim can be a full-featured IDE, just like vscode ended up becoming one. You can have one config for serious work and one for minor editing, though. You can access it with a shell alias (alias nvs="nvim -u path/to/seriousWorkConfig") or a custom variable/function inside Neovim, such as :lua seriousConfig() or :source $SERIOUS_CONFIG.

If you end up becoming a Neovim enthusiast you can even code a popup menu to access your configurations, which will be loaded on the fly.

marcosdly
Автор

Started rewriting my config yesterday and I am loving lua I might even switch to Awesome WM because of it

kennethlawson
Автор

Oh yeah! I've started exactly this kind of project a while ago! Thanks, DT! 😎

marioschroers
Автор

Are you tracking me ? I installed neovim yesterday, and today you make a video on it. Bravo !
next F-Droid :) the FOSS repository for Android. or maybe not

Little-bird-told-me
Автор

What a timing. I also started configuring my nvim in lua.

swapnendukarmakar
Автор

The accidental flashbang caught me of guard. I am new to vim and neovim and lua seems like an easy script to use to edti because vimscript looked convoluted.

acatacho
Автор

Well this is way simpler than whatever i looked at about lua configs when it first came out.

eritert
Автор

This could not have come in a better time, started doing it this night. I discovered NvChad, a sort of neovim distribution, i recommend it for newcomers

nobyra
Автор

This is exactly why I like using micro as my terminal-based editor. I think with Neovim the power is there, but the level of complexity involved to configure and use what at the end of the day is a text editor turns me right off. This isn't what Linux is about (for me, anyway). More power to you if it floats your boat. 😁

BinarySmurf
Автор

Base16 actually doesn't only exists for nvim, but is basically a framework to tie templates of config files of different programs together with schemes of different color-schemes to have the same color-scheme in different programs.
There are also different builders that automatically build these colorschemes and configure your programs appropriately, so you can use flavours apply <COLORSCHEME> to set all your programs to a specific color scheme.

remrevo