My goal is to share my experiences with Software Development, building Software applications, and interesting hardware and software technologies. I have had amazing mentors and coworkers in my career that have inspired and shaped how I view Software Development and I want to share those with everyone!
I aim to produce content that is interesting and others can learn from so they can level up their development skills and knowledge.
Thanks for this, it feels flash.nvim has better TreeSitter integration? The search did not highlight as many text objects as i would have expected, but maybe this can be configured?
The functionality for hints when jumping with 'f/F' and 't/T' already exists in flash.nvim. If anyone is wondering how to get it working, here is part of my config for flash.nvim ```lua { "folke/flash.nvim", opts = { jump = { -- automatically jump when there is only one match autojump = true, }, modes = { char = { jump_labels = true, multi_line = false, }, }, }, } ```
hop is like swiss army knife, recently I switched to mini.jump and mini.jump2d, simpler and get the job done 🙂, BTW it has other utilities (simpler version)
In my opinion, the only thing missing in flash.nvim is the ability to move at the start and end of line simultaneously. But still, it is, for me, the best plugin for mouse-like navigation in nvim because of it's unique ability to search as many characters as I like.
@@ascourter I want the jump labels to appear at the start of the line (equivalent to ^), and also the end of line (equivalent to $). But I am not able to implement this behavior in flash. Or in any plugin.
If you do find a way of doing this, do let me know. That would be very useful. Currently I set up for "_" to cycle through first character on line, begining of the line, and end of the line, but what you're describing would be much better
Why does the import in Obsidian always hang, and does not complete successfully? I have checked the Dev Console as well in Obsidian - with no errors | messages.
Double check you have the right config. Here's what mine looks like: github.com/exosyphon/nvim/blob/b2176f3eee73f9c384cc8835725353fbd8fd002a/lua/plugins.lua#L24
I am new to this Nvim configuration thing and one thing has been bothering me a lot. I have downloaded a plugin called Twilight that focuses on the codeblock we are currently working on and dims the other part of program. The problem I have been facing is that, everytime I load nvim, I have to enable it seperately and then it works. How do I configured it to enable as soon as I load the nvim. There are many problems I have been facing but if you reply to this, maybe I could ask more.
Thanks for the question! You could create an auto command to run that Twilight command when you enter any buffer, or if you wanted to trigger it on certain buffers you could add a config file under your ftplugin folder. I have one for Java as an example in my config here: github.com/exosyphon/nvim
I think both of these plugins offer an illusion of efficiency. Yes you may save few keystrokes, but you need to think more about how and where do you want to move? Should you use vim motions or the plugin? And while you are using the plugin, you aren't perfecting vim motions. How hard is it to write say 12j + whatever horizontal jump? Or search for something then just press n free times to skip to the one you want?
I think this is a really fair question. Some folks want to get better at default vim bindings and others want to customize and use different plugins. I do think there is some potential efficiency gains with using either of these plugins but you need to learn and develop the muscle memory for that efficiency. One of the best features of Neovim is that everyone can choose what they prefer and customize the editor. This decision is also not set in stone, I have seen a couple comments of people who said they relied on these plugins too much and went back to using built in vim motions. Whichever you choose, have fun and continue learning!
solid clean video, i just wanna add you should totally do a vim tips video because that ^v into g, ^A felt like a fighting game combo and i will 100% be doing that just because how it feels
Wonderful video, thank you very much, now I don’t have to figure all of this out from scratch. I have a question, do you use neo-tree.nvim, or completely rely on oil.nvim? I’m used to neo-tree (I know, the vim overlords will come after me) but I don’t like how it renames and moves files around. So wondering if completely replace it or use both.
Thanks! Glad I could help. Haha the vim overlords are definitely going to come knocking... :D I personally rely solely on oil.nvim but when I am working with others I will have neo-tree.nvim open so they can see more easily where we are in the file system. Here's a link to the config I use: github.com/exosyphon/nvim/blob/525694635d0b16f7d461f516b5c8b1a95381c861/lua/plugins.lua#L11
I think natural sort like you have files ["1.txt", "5.txt", "10.txt", "11.txt", "40.txt"] Without it (false), it will sort to 1, 10, 11, 40, 5. Because it will compare the each first character With the natural sorting, it will sort like what we expect it to be.
the natural_order option affects files with numbers. rather than sorting numbers alphabetically, it sorts them numerically. for example, file9.txt and file10.txt will be sorted treating 9 less than 10 (rather than the string "9" being greater than "1")
Coooool config. IMO, lots of navigator user map ctrl+h/j/l/m to move to pane in neovim and tmux. It conflicts with oil buffer keymaps. Do you know how to remap these keys in oil buffer? Thanks a lot!
I think there might be a bug in Oil.nvim to be able to remap them. But here's an example to at least disable them. keymaps = { ["<C-h>"] = false, ["<C-l>"] = false, ["<C-c>"] = false, ["q"] = "actions.close", },
If you're annoyed by the extra space at the top of the dashboard page you can reduce some spaces in the line 122 logo = string.rep(" ", 8) .. logo .. " " this one --^ I figured out this earlier and thought of sharing it. thx for the vid btw, cant wait for the next one ❤
I sure can! I have a video from awhile ago on setting up tmux but I really need to create an updated one with my latest theme and such. Thanks for requesting this!