The Most Requested Neovim Config

  Рет қаралды 33,679

Andrew Courter

Andrew Courter

Күн бұрын

In this video I go over the MOST requested Neovim configuration I get asked about so you can have a Noice UI and great autocomplete on the command line.
Companion Article: / the-most-requested-neo...
Neovim config: github.com/exosyphon/nvim
Noice: github.com/folke/noice.nvim
cmp-cmdline: github.com/hrsh7th/cmp-cmdline
Join the channel to get access to perks:
www.youtube.com/@ascourter/join
Twitter: / exosyphon
Website: andrewcourter.com
Twitch: / exosyphon
Gear:
Mic: amzn.to/40GUGFg
Mic Interface: amzn.to/3YGxaGE
Mic preamp: amzn.to/3XtBXtY
Webcam: amzn.to/3OEOZRU
Boom Arm: amzn.to/3qLr0GE
Vissles (VS II switches): vissles.com/?ref=69zn8aei20 - Coupon Code for $5 off: ANDREWCOURTER
IQUNIX F97 (TTC ACE switches): iqunix.store/collections/f97-...
🎵 Music
Music: Dreams - Bensound
www.bensound.com
Support by RFM - NCM: bit.ly/2xGHypM
⏰ Timestamps
0:00 Intro
0:44 Noice.nvim
1:36 UI features
1:46 Dismiss messages keymap
2:03 Virtual Text
2:22 My Favorite thing about Noice
2:32 Searching messages
3:18 Command line autocompletion
4:27 Outro
#neovim #coding #programming

Пікірлер: 71
@ascourter
@ascourter 5 ай бұрын
What are your favorite plugins in Neovim?
@tareef_arz
@tareef_arz 19 күн бұрын
boobs.nvim
@utvikler-no
@utvikler-no 5 ай бұрын
This is just perfect!! ❤ thanks mister!
@Redyf
@Redyf 4 ай бұрын
Thanks to this video I learned how to enable autocomplete in cmdline, it was exactly what I was looking for. Thanks :)
@sachinchaudhary1310
@sachinchaudhary1310 14 күн бұрын
nix ganggggggggg how do u use neovim on nix ?
@radomirmijovic2605
@radomirmijovic2605 4 ай бұрын
Great video thanks man, I was having difficulties setting up cmp with lazy
@7XStriderX7
@7XStriderX7 3 ай бұрын
Amazing content!
@ascourter
@ascourter 3 ай бұрын
Thank you!!
@Redyf
@Redyf 5 ай бұрын
Great video
@ascourter
@ascourter 5 ай бұрын
Thank you!
@thetruth2488
@thetruth2488 5 ай бұрын
Hey man I really appreciate your work! Any chance we might get a video on setting up Neovim for Java development? Setting up the Java lsp seems to be pretty difficult. Cheers!
@ascourter
@ascourter 5 ай бұрын
Thank you! I will prioritize that next. Thanks for asking, it has been on my list for quite some time.
@thetruth2488
@thetruth2488 4 ай бұрын
@@ascourter Your are doing gods work, thank you!
@0x72F
@0x72F 5 ай бұрын
great video! how does yours trigger the popup menu just by start typing @<a href="#" class="seekto" data-time="254">4:14</a>? i have both cmp-path and cmp-buffer but it doesn't menu doesn't get trigger without pressing Tab
@ascourter
@ascourter 4 ай бұрын
Thanks! Did you setup github.com/hrsh7th/cmp-cmdline? If that doesn't resolve it then check out my config under lsp.lua, might be a setting in cmp or your LSP config.
@yuxiang4218
@yuxiang4218 2 ай бұрын
great video
@ascourter
@ascourter 2 ай бұрын
Thanks!
@TownspersonB
@TownspersonB 4 ай бұрын
Do you know if there's a way to have the virtual text at <a href="#" class="seekto" data-time="130">2:10</a> be dismissed when the cursor is moved or you go into insert mode or something? The only way I know how to get rid of it right now is to open up a new search and then exit the search, and that gets annoying imo.
@ascourter
@ascourter 4 ай бұрын
Good question. I only know the way you described. I'll dig into it and see but you might be able to setup an autocommand or keymap.
@shreyashkhairkar
@shreyashkhairkar 4 ай бұрын
This is great. Could we have a tutorial on how to build plugins?
@ascourter
@ascourter 4 ай бұрын
Haha that's on my list. I went through creating a Telescope extension to start with something a little smaller than a plugin (kzbin.info/www/bejne/kHTOeGdtrayCopY). Still need to learn a bit more to talk about creating a plugin but it's in the works!
@richardhernandez8803
@richardhernandez8803 8 күн бұрын
You mentioned noice centering it and avoid a crick in your neck. Have you tried setting scrolloff = 999 It keeps the cursor centered in the page
@ascourter
@ascourter 8 күн бұрын
I don't believe I've tried that yet. Thanks for sharing!
@mokied
@mokied 2 ай бұрын
Hey, how can you map down arrow to be mapped to the same command as Tab when the autocomplete pop up menu appears in the command line?
@ascourter
@ascourter 2 ай бұрын
I believe this should work out of the box with cmp-cmdline but if not you can explicitly set the Down and Up mapping under mappings. Check out this post for an example: github.com/hrsh7th/nvim-cmp/discussions/847#discussioncomment-8901130
@mokied
@mokied 2 ай бұрын
@@ascourter Cool, thanks. Seem like a hella-complex solution but it worked 💪🏻
@mokied
@mokied 2 ай бұрын
@@ascourter I guess the better solution is to just get used to the Ctrl+p/n keybindings
@ravipratapmishra7013
@ravipratapmishra7013 Ай бұрын
My issue regarding noice is, sometimes I want to dismiss the messages but I want to use escape as my key binding now to use escape I want to know when noice is printing some message on the screen so that only in that condition pressing the escape key will dismis the message otherwise it should work as usual, But i don't know how to check that noice is showing message on screen currently.
@ascourter
@ascourter Ай бұрын
Overloading esc like that seems a bit tricky. What about using leader + Esc? You could then use the dismiss mapping I showed in the video.
@ravipratapmishra7013
@ravipratapmishra7013 Ай бұрын
@@ascourter i tried this one once, i think i should give it more time to embrace it.
@utvikler-no
@utvikler-no 5 ай бұрын
How do you get the command line in the middle of the screen. Mine is at the top..
@anakinsonone
@anakinsonone 4 ай бұрын
did you add the suggested setup to your plugin config?
@utvikler-no
@utvikler-no 4 ай бұрын
@@anakinsonone as far as I know all of the plugins I believe relates to noice
@ascourter
@ascourter 4 ай бұрын
@@utvikler-no check out this post, you should be able to update the config for Noice to move the position. www.reddit.com/r/neovim/comments/10j82ot/q_noicenvim_how_to_change_the_position_of_the/
@banchanbet4524
@banchanbet4524 Күн бұрын
do you know how do you get the string searching at <a href="#" class="seekto" data-time="128">2:08</a>
@ascourter
@ascourter 11 сағат бұрын
Do you mean how do you get the "1/3" text or the autocompletion or something else?
@jedediah-fanuel
@jedediah-fanuel 4 ай бұрын
@xiLike2Doitx
@xiLike2Doitx 2 ай бұрын
Does cmdline allow for execution of external binaries? Let’s say simple ‘git add .’
@ascourter
@ascourter 2 ай бұрын
It does! Start with ! and then the command
@mrAjor
@mrAjor 29 күн бұрын
For git use the plugin fugitive by tpope
@sebastianalfaro1887
@sebastianalfaro1887 2 ай бұрын
How do you get that Search string pop up??
@ascourter
@ascourter 2 ай бұрын
Could you give me a timestamp for where in the video you see that?
@sebastianalfaro1887
@sebastianalfaro1887 2 ай бұрын
@@ascourter yup, sorry missed that, it's 2:09
@ascourter
@ascourter 2 ай бұрын
@@sebastianalfaro1887 No worries. So the command line popup in the middle of the screen? That would be from Noice.nvim
@sebastianalfaro1887
@sebastianalfaro1887 2 ай бұрын
@@ascourter Yeah, that one, not sure why in my set up when i hit "/" character, the popup isn't shown but the traditional command bar at the bottom, i'm using lazyvim btw
@ascourter
@ascourter 2 ай бұрын
@@sebastianalfaro1887 hmmm weird. If you hit : the pop up shows up?
@Zwk-kb9yc
@Zwk-kb9yc 4 ай бұрын
unmap default keybindings would be nice
@ascourter
@ascourter 4 ай бұрын
Sorry, not sure what you mean. Unmapping Noice default keybindings?
@Zwk-kb9yc
@Zwk-kb9yc 4 ай бұрын
@@ascourter There are o lot of videos with keymappings but not a lot show how to unmap existing keymappings they only show keymappings which aren't used already from vim (default mappings)...
@ascourter
@ascourter 4 ай бұрын
@@Zwk-kb9yc ok that makes sense. I'll add that to my list! Thanks for clarifying.
@lel7531
@lel7531 5 ай бұрын
Most requested by who ?
@ascourter
@ascourter 5 ай бұрын
Mostly viewers of the channel but honestly just about anyone I work with in Neovim these days.
@Redyf
@Redyf 5 ай бұрын
Me
@natescode
@natescode 5 ай бұрын
*whom
@utvikler-no
@utvikler-no 5 ай бұрын
Me..
@caeduob
@caeduob 4 ай бұрын
Me
@thisbridgehascables
@thisbridgehascables 4 ай бұрын
How about a video showing you installing the whole setup.. love videos that are meaningless.. look what my terminal looks like..
@ascourter
@ascourter 4 ай бұрын
This video was intended to only show a small section of my setup. I do intend to run through my configuration in its entirety after moving from Vim to Neovim.
@sumit_12393
@sumit_12393 4 ай бұрын
vim.keymap.set({"i"}, "", function() ls.expand() end, {silent = true}) vim.keymap.set({"i", "s"}, "", function() ls.jump( 1) end, {silent = true}) vim.keymap.set({"i", "s"}, "", function() ls.jump(-1) end, {silent = true}) vim.keymap.set({"i", "s"}, "", function() if ls.choice_active() then ls.change_choice(1) end end, {silent = true}) any idea what does this do in LuaSnip?
@ascourter
@ascourter 4 ай бұрын
These are all keymaps for luasnip. All of them are for insert mode and when a snippet is chosen and you want to jump to different locations in the snippet. Hope that helps!
@iwankiddies9274
@iwankiddies9274 4 ай бұрын
can you add cssls or any plugin "css.lint.unknownAtRules": "warnig" to "ignore" in another of your video it need for fixing react tailwindcss project
@ascourter
@ascourter 4 ай бұрын
I'll add this to my list. Thanks for the request!
@iwankiddies9274
@iwankiddies9274 4 ай бұрын
@@ascourter love to see your content
@iwankiddies9274
@iwankiddies9274 4 ай бұрын
I solved that problem with just some arguments in cssls
Setup Neovim for Kotlin Development
11:55
Andrew Courter
Рет қаралды 6 М.
I Rewrote My Entire Neovim Config...
11:09
TJ DeVries
Рет қаралды 36 М.
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 8 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 88 МЛН
Which is Better Flash.nvim OR Leap.nvim?
11:35
Andrew Courter
Рет қаралды 8 М.
The Ultimate Database Control. Right WITHIN NEOVIM
9:35
DevOps Toolbox
Рет қаралды 51 М.
Making a basic Neovim config and setting it up
36:02
NoobScience
Рет қаралды 1,6 М.
This Zsh config is perhaps my favorite one yet.
17:24
Dreams of Autonomy
Рет қаралды 147 М.
My Entire Neovim Setup From Scratch After 8 Years
10:20
DevOps Toolbox
Рет қаралды 25 М.
The Best Oil.nvim Configuration
7:15
Andrew Courter
Рет қаралды 7 М.
My Forever Dev Workflow
16:02
typecraft
Рет қаралды 69 М.
How I navigate code in Neovim
6:14
Adib Hanna
Рет қаралды 12 М.
How To Make Your Boring macOS Terminal Amazing With Alacritty
16:33
Josean Martinez
Рет қаралды 118 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,8 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 31 МЛН
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 6 МЛН
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 300 М.