- Видео 232
- Просмотров 337 486
Wes Higbee
США
Добавлен 15 май 2006
From the command line to production. I love everything about computers, especially software development! Videos focus on one tool and/or feature that I find useful... that you can adopt today too.
Already Paying for Copilot? Use it in Windows Terminal Chat
No need to pay for yet another LLM provider in Windows Terminal. Also an impromptu comparison to my ask-openai shell integrated helper.
Просмотров: 48
Видео
Make Your Statusline Pop with lualine.nvim
Просмотров 942 часа назад
Just don't get carried away. Chances are you don't need to see the branch, mode, diagnostics and git status sections. Keep it simple and CLEAN.
Fuzzy Find Anything: Filenames, Contents, Commands, Help (nvim-telescope)
Просмотров 1087 часов назад
Switching files by typing paths is not ideal. Telescope is a general purpose fuzzy finder for Neovim. It has dozens of builtin pickers as well as a healthy ecosystem of extensions. Highly customizable pickers, with floating windows. Much like vscode's Go To File / Command Palette.
Go Back & Forth Like a Pro with Ctrl+I and Ctrl+O - Vim
Просмотров 1,3 тыс.12 часов назад
Vim tracks jump positions so you can jump back and forward, including across files. A great way to quickly resume what you were working on when you last closed Vim. Do you know what commands trigger changes to the Jump List?
Add This to Your vimrc to Pick up Where You Left Off
Просмотров 12116 часов назад
I hate quitting Vim and then restarting it only to find the cursor is back at the top of the file I was editing. I prefer to resume where I left off. Thankfully, Vim already stores the last cursor position for each file you edit. So, add this simple config change to restore the position when opening files. That way you can resume editing whatever part you last worked on without scrolling and ju...
Precise Line Jumps Every Time with Relative Line Numbers
Просмотров 37521 час назад
Moving efficiently is a central part of Vim's value proposition. You need to know exactly what line to jump to so you don't waste time correcting for a wrong guess. Setting `relativenumber` shows line numbers above and below the cursor line for precise jumps every time.
There's More to Vim Than the Arrow Keys
Просмотров 1,8 тыс.День назад
Force yourself to stop doing things the hard way in Vim. Learn the easy way with hardtime.nvim. Use Vim as it was intended.
Find and Remove Webpage Nuisances with DevTools
Просмотров 111День назад
Why not customize web pages to your liking? The first step is to understand how to find elements and then remove and/or modify them to you liking. For example, getting rid of a toolbar that drives me crazy in an extension that I otherwise love. Or spammy registration banners.
Hide Distracting Items in Safari
Просмотров 3814 дней назад
Safari released an update that lets you get rid of "Distracting Items". A visual workflow to target and permanently remove items from loading on a webpage.
Stop Craning Your Neck in Vim
Просмотров 96314 дней назад
Commands to scroll the window to center the cursor line (zz), or more it to the top (zt) or bottom (zb). Even works with VSCode's Vim Extension
Show Relevant Key Bindings When You Get Stuck in Vim
Просмотров 39414 дней назад
Stop digging through the docs and config files to find what keys to use. The which-key extension can help you when you get stuck. And the best part is it doesn't get in the way when you know what you're doing. github.com/folke/which-key.nvim
nvim-tree Is a Must Have Extension!
Просмотров 71414 дней назад
Aside from one-off file edits, it's necessary to have a convenient way to switch files in vim. One of those ways is a tree view like interface, much like VSCode. It's especially useful for finding nearby files and effortlessly adding files, renaming, deleting, rearranging, etc.
Stop Backspacing over the Filename
Просмотров 32814 дней назад
Put an end to the dreaded "No such file or directory" error. Make `cd` do the obvious thing.
Quickly Turn off Vim's Copilot - i.e. When Learning
Просмотров 8521 день назад
I frequently find myself toggling copilot on/off, i.e. when I want to learn something I don't want it spoiling everything for me. So, I setup a keyboard shortcut (F12) and a streamdeck button to quickly toggle back and forth. No need to type `:Copilot disable/enable` every time I wanna switch it on/off.
Forget `cd -` ... Use Alt+Left/Right Instead (fish shell)
Просмотров 5121 день назад
Forget `cd -` ... Use Alt Left/Right Instead (fish shell)
OpenAI Sherlocked Claude Artifacts... and It's Great
Просмотров 27721 день назад
OpenAI Sherlocked Claude Artifacts... and It's Great
Your Job's Safe (Forever) - GitHub.com's Copilot Chat
Просмотров 33928 дней назад
Your Job's Safe (Forever) - GitHub.com's Copilot Chat
o1-mini vs. gpt-4o in VSCode's Copilot
Просмотров 1,6 тыс.Месяц назад
o1-mini vs. gpt-4o in VSCode's Copilot
Selection Highlights across Multiple Lines in VSCode
Просмотров 58Месяц назад
Selection Highlights across Multiple Lines in VSCode
Can o1-mini/preview Count the R's in Strawberry?
Просмотров 259Месяц назад
Can o1-mini/preview Count the R's in Strawberry?
Zed Has Remote SSH in Alpha - Feat. Raspberry Pi Sense Hat
Просмотров 620Месяц назад
Zed Has Remote SSH in Alpha - Feat. Raspberry Pi Sense Hat
Coding over SSH in VSCode - feat Raspberry Pi
Просмотров 214Месяц назад
Coding over SSH in VSCode - feat Raspberry Pi
Settling the Religious War: Tabs v Spaces
Просмотров 48Месяц назад
Settling the Religious War: Tabs v Spaces
Better option: get an extension that deletes stuff
was using Ctrl-O, thanks for Ctrl-I
Really needed Ctrl-I I've using Ctrl-O all the time and then moving to the previous buffer but this one will be helpful, thanks
Hey ! You should do a video about Helix text editor. Very easy to install and nicely configured out of the box
@@curiousmushroom9900 I’ll take a look, thanks for the recommendation. What do you like best about it?
you should try the `scrolloff` option then
what do you set it to? and in vim or vscode? or both?
@@g0t4 I personally have it set to 8. If you set it to the half of your screen height (or, to the value of the `scroll` option) your cursor line will always stay in the middle. Vim, but I guess VSCode should have the same option.
Learned something new! Thank you!
My pleasure! Do you use vim as a primary editor?
me too. That's what i was looking for. haha
@@g0t4 I use neovim as primary for over a year now
that's absolutely true, claude is my first choice when i encounter a problem that requires coding...
@@deepbrar1 have you tested the latest Claude updates? They should’ve called it 3.6 at least!
@@g0t4 yeah the ability to automate sounds awesome. I don't expect it to be fast and accurate right now but will try it after a few updates
Personally I find jumping by line numbers requires me to break focus too much. If I want to get to the word "joinspaces", I have to scan my eyes left, read the (relative) line number, move my hands off the home row to type the number, and think about whether the line is up or down. I prefer to use an incremental search plugin. I type `<Leader>s` followed by `join` (the target word) and `<Enter>`. All the on-screen matching instances are highlighted, and each show a final character I press to choose which one I want to jump to. This requires much less loss of focus, and allows me to jump directly to a word, not just a line.
Search is great too. What about when you aren't thinking of a unique-ish word, would line #s work in that case? It was sluggish at first but now the scan feels effortless and then it's just a few keys, unless I screw up j/k ;)
@@g0t4 Could you give an example?
1:42: "I'm gonna go KKKKK" - Wes Higbee 2024
ASMR videos?
You can just delete html elements from the console
I like it how ChatGPT recognizes US-citizens being simpletons not specifying for which country they ask the 46th president for yet specifying this correctly in the answer.
Other Presidents?! Like 45, 44?
A lot of websites have started not rendering the full articles behind the paywall popup to combat things like this. You can remove the pop up, but only the first paragraph or so will be available
Makes me think they want people to bypass the paywall when they do stuff like this.
he suck... it is really easy xD
This video was so helpful, I've been learning Vim motions alongside 12 other things and every time I hit a sticking point I resort to the mouse and arrow keys 😅 Just as a bit of insight (sorry if this is unwarranted!) I nearly didn't click on this video. I had to scroll back and do a double take to understand that this video would be helpful for me. I didn't know what the Hardmode plugin was and the title didn't explain a lot either. It's nice and catchy but doesn't tell me what I should expect as a layperson. Might be worth reconsidering since I'm probably bang on your target audience!
mutual feeling about Vim motions! I've been using this for at least a week now, and now I find myself trying to use hjkl in Finder and swearing... at least it's helping me in Vim :) Feedback is great, for this video, what you would suggest to put into the thumb and/or title?
Great video. Loved the faster method for scrolling large files.
Scrolling is a huge win in Vim... if I can remember all the different ways to do so.
This was a great video. <C-H>, <C-M>, and <C-L> are huge. Only using VSVim extension currently to learn motions, then planning to move to Vim once semi-comfortable. Hardtime seems like a must have as I enter that space.
we’re really in the future…
I wish something like this existed when I started learning!
it might still have some gems!
thanks for making my life easier
Thank you, I really appreciate this tip
Super useful. Thank you!
So simple and so useful. Using vim/neovim for 10 years and I did not know this. Thanks
What kind of dumb website makes their paywall client side? Like why???
whats your keyboard?? sounds good
Razer Hunstman Analog, feels as good as it sounds!
whats your keyboard?? sounds good
For me, I could not adobt the vim motions in other ide's (like vs code) , because I allready had the shortcuts from these to ingraved in my brain. Tried and failed a couple of times. So for me it was an abroubt switch, that made me convert. And the big win (and target) was actually to get rid of the filetree alltogether, and adobting alternative filenavigation technics, like telescope, harpoon, and oil. I know the fuzzy finding is avaliable in vs code, but I just do not find it as good. I am also avare that there now is a harpoon plugin in vs code (not sure if its feature complete), but I have not tried it as I am quite happy in my new enviroment :)
@@sailingspearo1074 yup the file tree is likely a bridge to something idiomatic in vim
If you squint a bit, you can see vscode
check out oil.nvim instead
Why not use code at this point ;-;
both! I've never really given Vim the time of day beyond editing one-off files... and Vim mode in other IDEs. Giving it a shot and seeing what all I miss in VSCode (et al)
Thanks for the video. I think I prefer to use the oil.nvim plugin more than the nvim-tree.
what features are superior in oil?
@@g0t4 Hey nothing against any file explorer. Oil has easier navigation and batch processing of files. Plus it opens folders rather than tree branches. I find it faster to operate.
Thanks, Wes!
I used to use nvim-tree when I initially switched to Neovim, but as I got more and more comfortable it started feeling more and more like I was trying to emulate the VS Code way of doing things rather than doing them the "Vim" way. Eventually I discovered 2 plugins that each do part of what nvim-tree did for me (editing the file structure and finding/opening files) much more effectively: Oil.nvim and Telescope.nvim. Oil is a file tree plugin like nvim-tree, but with one key difference: rather than having to memorize all the shortcuts to add/move/rename/etc. files, you just edit them like a regular text buffer. If you want to add a file, just make a new line and type in the file name. If you want to rename the file, you just 'cw' or whatever and type in the new name. If you want to move a file you just 'dd', move to the directory you want it in, and 'p' to paste it back in. github.com/stevearc/oil.nvim Telescope is a fuzzy finder for pretty much anything, but what's relevant here is it's "find files" command. When you open Telescope, it gives you a search box to type in the approximate name of the file and it'll search through all subdirectories and find the one you're looking for. It's WAY faster than having to go through and expand a bunch of folders in a tree to find a file, especially if you don't remember the path or exactly what it's called. github.com/nvim-telescope/telescope.nvim
Cool
God I hate cd-ing to a file and doing what you described. The change you made should be the default in 2024 for all cd commands
I am glad this isn't just a personal problem!
I am having a similar issue with my connection to RDP. My job requires me to copy several items to a 3rd party clipboard manager nad then paste them into my Mac, gather data and then copy from my Mac and paste the data into the RDP. After about three times doing this process, RDPclip causes my connection to either freeze or crash and the only way to get things back is to shut down RDP through a force quit or sometimes I need to reset my mac completely. I have tried using task manager to shut down rdpclip and then restarting the app, but this doesn't work. Do you think that this bug is what is causing my problems?
@@pc_gaijin it sounds similar… though I haven’t had a frozen connection. If it’s happening seemingly because of pasting, then I wouldn’t be surprised that it’s related though. If you want to do a test and find out if RDP clip is the issue the next time you need to copy and paste some stuff, try copy and paste one thing and then restart RDP clip after that, then go get the next thing to paste and then restart rdpclip again after that, basically restart it after every single copy and paste and see if that makes it so that the problem doesn’t happen And then, if that works, I would suggest smth like auto hot key to restart RDP clip after each time you paste, maybe after a small delay too to not interrupt you. Good luck, seems like Microsoft doesn’t want to fix these clipboard issues.
@@g0t4 That was actually the next thing I was going to try. Today I confirmed that if I didn't use a clipboard manager, the network wouldn't crash, but I had to copy and paste one item at a time. Thank you for your advice. I like the idea of an auto-hotkey, is this something that could be built into Karabiner elements or would it have to be built on the remote desktop side?
What are your thoughts on o1 mini vs Claude sonnet for programming?
@@ANSHU61936 I haven’t directly compared… that would make for a good video. Also I’d like to try o1 mini with the new canvas feature as that is where Claude exhibits extraordinary capabilities in terms of coding on its own. And I’d really like to see newer models integrated with GitHub copilot completions because that to me is still the killer interface. Where a seasoned developer can steer the model to save a ton of time typing and ruminating over mundane logic.
@@ANSHU61936 do you have any opinions about the two?
Good vídeo - short and to the point
Genius!
Amen
MAN it blows my mind how can someone code this is very complicated , i genuinely can’t make any sense
which part?
Thanks
my pleasure, any other similar config that's frustrating to change in terminal?
@@g0t4 There is this thing i've been unable to figure out....In VIM, running it using command prompt, you have the cursor that you choose in the appearance window....but when you go to insert mode, if changes....what do you do if you want the cursor to remain the same in all modes - a non blinking filled box? I've tried various tweaks to the vimrc but all unsuccessful
@@sanjayvaradharajan like solid block in both cases?
If so, here’s Lua config (or grab inside “” for vimscript) -- cursor block in insert: vim.cmd(":set guicursor=i:block")
@@g0t4 Thanks a lot. I will try this soon and let you know.
Fantastic stuff
I hate websites like this. Just let me read my damn articles
Can you try bypassing Nebula they have videos that have pay walls
I imagine they don't let you load the video until you are logged in, it would be shocking if not... that said, search for mp4 or other movie file types in devtools and find out.. sometimes the video files are linked but hidden... PSA to anyone with private videos, if you leave the links in the html (or otherwise)... you might as well just show the video
for daily mail, crtl-a, ctrl-c open word, crtl-v
Would be a great browser extension
I imagine someone has a decent browser extension that grabs context and lets you ask ?s and manipulate pages... probably to automatically create tampermonkey scripts by just saying "fix xyz"
I mean it shouldnt be behind a pay wall tbf just to read someone repeating same context in between every 5 lines
and these days the titles tend to give away the story anyways
Nice. I love it.
nice!!! now tell claude to shave your head!!
but then I wont get all the lovely comments!
@@g0t4 true. gotta work that algorithm. respect level 100
so basically you just de-vscoded your editor...
visually, yes! do you know anyone that actually uses the minimap?! or the activity bar?
Or just use vim / helix. Here you have the negative of using an election-based app without the positive of having an actual GUI. IMO that's just the worst of both worlds Maybe im just bitter, but that doesn't sound useful at all, i guess it's cool that it's possible but i don't see the use case.
For those increasingly rare times when vscode is the only way to go... i.e. jupyter notebooks, have you worked with those in vim/nvim?
@@g0t4 No, i've never used Jupyter, but doesn't it have a web interface ?