A nice detail of the surround plugin is that when surrounding with the various bracket types you can choose if you want those ugly spaces inside the brackets. E.g., if somewhere in a word "word", ysiw( results in "( word )" like shown in the video while ysiw) results in "(word)". I use the latter all the time :-). Same principle for {} and [].
I enjoyed this and would love to see more videos on neovim plugins. Not the headline ones that everyone knows, but useful things like adding custom text objects, advanced treesitter, and more.
The nvim-surround feels like it should be in core neovim. I mean we have motions to modify inside a selection, it would make sense to extend those to allow modifying around a selection And the chanche of it happening is not zero, since they already added the commenting plugin as a builtin feature!
@Cretezy while using auto pairs in insert mode how to get past the closing pair ? I mean: when I type " ( " it types "()". after typing the text how do I move past the closing brace ?
IntellIj is still my go to ide to get stuff done, neovim is fun and great and all but when you are dedicating a good chunk of time to constantly updating , replacing plugins , the boilerplate config unwinding config / binding conflicts and lookup and ask yourself where did you your day go while having to have a jira completed by tomorrow this hits home pretty quickly
That's why you should always make your own bindings over the default ones. I like to bind everything in the way of sd i.e. "custom thing" "surround" "delete"
It's setup that way by default so it stays consistent with vim's verb-noun "vocabulary" for keymaps, like "cw" stands for "change word" and "d3w" for "delete 3 words". Besides, "s" by itself is already mapped by default to "substitute", but of course you can change any of these to whatever you want.
Check out my tutorial on Leap, a Neovim plugin to make you move faster!
ua-cam.com/video/d2GvyXXlNa0/v-deo.html
Lord knows I always need more plugins
There's a blues song in there somewhere. I got the plugin blues. Can't get enough, Lord knows...
Same bro
@@jamesmillsnicholas7813 Amen
Keep the nvim videos coming. Learning more and more everyday and these videos help
this video is so good!
it seems like so many vim videos are all about the exact same few plugins, thanks!
Thanks for doing these AstroNvim specific videos - much appreciated 👏
A nice detail of the surround plugin is that when surrounding with the various bracket types you can choose if you want those ugly spaces inside the brackets. E.g., if somewhere in a word "word", ysiw( results in "( word )" like shown in the video while ysiw) results in "(word)". I use the latter all the time :-). Same principle for {} and [].
Thanks for making video. Please make more videos on neovim and stuff it really helps for new users.
nvim-surround also works with tags in html, xml which is very useful, cst will change the surrounding tag
I enjoyed this and would love to see more videos on neovim plugins. Not the headline ones that everyone knows, but useful things like adding custom text objects, advanced treesitter, and more.
Great list of plugins!
Installed Treesj and nvim-bgf. Thank you.
The first one is pretty cool, thanks for sharing
The nvim-surround feels like it should be in core neovim. I mean we have motions to modify inside a selection, it would make sense to extend those to allow modifying around a selection
And the chanche of it happening is not zero, since they already added the commenting plugin as a builtin feature!
TreeSJ looks very interesting. Thanks!
nvim-surround is awesome! thanks
thank you, very cool :)
Awesome video! This could easily be a series
Can you do a full tutorial on nvim-bqf?
which theme are you using? great video btw 👍
TOKYOOOOOOOO!
Awesome! Yesterday I was just wondering if there was a way to get previews with qf after doing some vimgrep. Thanks!
nvim-bqf is fantastic.
How do you get the highlighting for when you're selecting a word, etc.?
Awesome videos, they are very helpful. Can you make a video on lazy package manager? It would be very helpful.
@Cretezy while using auto pairs in insert mode how to get past the closing pair ?
I mean: when I type " ( " it types "()". after typing the text how do I move past the closing brace ?
@@seshadribasava2801To move past the closing bracket, type it.
nvim-bqf is not working for me. Smth wrong with parsing treesitter
Maybe I am just being dense, but I don't get the point of trouble when nvim already includes quickfix?
IntellIj is still my go to ide to get stuff done, neovim is fun and great and all but when you are dedicating a good chunk of time to constantly updating , replacing plugins , the boilerplate config unwinding config / binding conflicts and lookup and ask yourself where did you your day go while having to have a jira completed by tomorrow this hits home pretty quickly
what theme is this?
nice video, anyone know if its possible to do vim-surround without a plugin?
Same question here!
Not possible
You can do ciw(")
fzf-vim, tagalong, fugitive, oil-nvim
I like oil.nvim
surround plugin has been around in vim for ages
Double click the word + shift + quote
i think surround should default amd not installed as plugin
trouble is useless since you can just show all errors and warnings in telescope. Also LSP provides "code actions" for quick fix
Very interesting! Thanks for sharing. 👍👍👍
I dislike plugins cluttering their keys all over the alphabet ... The surround plugin's key combinations should all start with s.
That's why you should always make your own bindings over the default ones. I like to bind everything in the way of sd i.e. "custom thing" "surround" "delete"
There's a plugin called mini-surround where all the surrounding key maps start with s
It's setup that way by default so it stays consistent with vim's verb-noun "vocabulary" for keymaps, like "cw" stands for "change word" and "d3w" for "delete 3 words". Besides, "s" by itself is already mapped by default to "substitute", but of course you can change any of these to whatever you want.