- 4
- 19 358
Marco Peluso
Germany
เข้าร่วมเมื่อ 26 ก.ย. 2013
Hey, I'm Marco. Welcome to my channel!
I'm a Software Engineer and aspiring content creator interested in note-taking, personal knowledge management and workflow optimization, among other things. I love to learn and share knowledge with others.
I'm a Software Engineer and aspiring content creator interested in note-taking, personal knowledge management and workflow optimization, among other things. I love to learn and share knowledge with others.
7 Vim Tips and Tricks I Wish I Learned Sooner
Learn about 7 Vim tips and tricks I wish I would known earlier!
*th-cam.com/video/-2Nz8rn05bk/w-d-xo.html*
In this video you will learn about seven vim motions and commands, that will make your Vim experience even better!
⌛ *Timestamps*
00:00 - Intro
00:11 - 1. Exiting Vim
01:27 - 2. Relative Line Numbers
03:01 - 3. Using Text Objects
05:18 - 4. Running External Shell Commands
06:20 - 5. Read External File Content
06:50 - 6. Scrolling The Editing Window
08:28 - 7. Changing The Visual Selection
🔗 *Links*
My Website: marcopeluso.com
My Dotfiles: github.com/mplusp/dotfiles
🗨️ *Mentions*
th-cam.com/video/YwTalCgH2yc/w-d-xo.html
🎧 *Music*
Music track: Moonlight by Ocean Bloom
Source: freetouse.com/music
No Copyright Music for Videos (Free)
Music track: Waking Up by Ocean Bloom
Source: freetouse.com/music
Royalty Free Music (Free Download)
Music track: Catamaran by Ocean Bloom
Source: freetouse.com/music
Copyright Free Music (Free Download)
Music track: Sky by Ocean Bloom
Source: freetouse.com/music
Free No Copyright Music Download
#️⃣ *Tags*
#vim #neovim
#terminal #commandline #macosterminal #macos #unix #linux #linuxterminal #shell #bash #zsh
*th-cam.com/video/-2Nz8rn05bk/w-d-xo.html*
In this video you will learn about seven vim motions and commands, that will make your Vim experience even better!
⌛ *Timestamps*
00:00 - Intro
00:11 - 1. Exiting Vim
01:27 - 2. Relative Line Numbers
03:01 - 3. Using Text Objects
05:18 - 4. Running External Shell Commands
06:20 - 5. Read External File Content
06:50 - 6. Scrolling The Editing Window
08:28 - 7. Changing The Visual Selection
🔗 *Links*
My Website: marcopeluso.com
My Dotfiles: github.com/mplusp/dotfiles
🗨️ *Mentions*
th-cam.com/video/YwTalCgH2yc/w-d-xo.html
🎧 *Music*
Music track: Moonlight by Ocean Bloom
Source: freetouse.com/music
No Copyright Music for Videos (Free)
Music track: Waking Up by Ocean Bloom
Source: freetouse.com/music
Royalty Free Music (Free Download)
Music track: Catamaran by Ocean Bloom
Source: freetouse.com/music
Copyright Free Music (Free Download)
Music track: Sky by Ocean Bloom
Source: freetouse.com/music
Free No Copyright Music Download
#️⃣ *Tags*
#vim #neovim
#terminal #commandline #macosterminal #macos #unix #linux #linuxterminal #shell #bash #zsh
มุมมอง: 8 412
วีดีโอ
Revolutionize Your Workflow on The Command-line With fzf
มุมมอง 1K28 วันที่ผ่านมา
fzf will change your workflow on the command-line! *th-cam.com/video/LnZdaNfQ86o/w-d-xo.html* ⌛ *Timestamps* 00:00 - Intro 00:28 - What is fzf 01:23 - Installing fzf 02:16 - Basic Functionality 03:14 - Search Syntax 05:05 - Shell Ingegration - Keybinds 08:15 - Shell Ingegration - Completions 11:47 - Configure Shell Integration 15:02 - fzf Wiki 🔗 *Links* My Blog: marcopeluso.com My Dotfiles: git...
Boost Your Terminal Productivity Like a PRO with zoxide!
มุมมอง 456หลายเดือนก่อน
Use zoxide to navigate your terminal like a wizard! *th-cam.com/video/LnZdaNfQ86o/w-d-xo.html* ⌛ *Timestamps* 00:00 Intro 00:14 Introducing zoxide 00:54 Basic Usage 01:15 Training 01:48 A Deeper Look 02:28 Advanced Usage 03:11 Interactive Selection 03:50 Editing The Database 04:28 Interactive Completion 🔗 *Links* My Dotfiles: github.com/mplusp/dotfiles 🗨️ *Mentions* zoxide: github.com/ajeetdsou...
Level Up Your macOS Terminal with WezTerm, Starship and eza
มุมมอง 10Kหลายเดือนก่อน
Upgrade your macOS terminal experience! *th-cam.com/video/-2Nz8rn05bk/w-d-xo.html* Use Homebrew to set up WezTerm, Zsh plugins, a great prompt with Starship and replace ls with the better and more flexible file listing tool eza. Make your terminal experience more beautiful, more functional and more fun! ⌛ *Timestamps* 00:00 - Intro 00:33 - Installing Homebrew 01:08 - Installing WezTerm 01:57 - ...
really to see the video about the twm (maybe you already have it, will look into your channel :) )
Dude, you should have watched Luke Smith's "Vim Diesel Viminator"... It has all these cool tips and tricks and much more. Ok, first, thx for all these tricks but honestly that (a bit more than 1h) video I have saved on every machine and VM I own (yes, all linux... I am strange) but it should be repeated regularly. I know ppl h8 when mentioning other creators in comments, but as soon as I saw your first ZZ it reminded me on his 1st "trick" in his . He is a bit weird, but regarding Vim, tbh a lot to learn from him... keep em coming. Love your terminal...
What is the tool you rae using to show those keypresses??
You learn something new every day with Vim.
Well this doesn't seem like your 1st video, Video was super informational! I'm subscribing you:)
I regularly use diw, daw, ciw, caw etc, but didn't realize dw, cw etc existed lol.. i normally just use dt<space>, ct<space> etc, which mostly works 😅
Double explanation + command will echo in the editor itself. E.g. !!ls -a
Also a good one! Thanks for mentioning it!
Great video! You just sold me Wezterm after years using iterm2. Very powerful emulator, thanks!
Glad I could inspire you to try it out! Have fun with it 😊
yet another editor I'm never going to try.
Thanks for sharing your thoughts! I appreciate your honesty, and I hope you find the right editor that suits your needs!
@@marco_peluso Okay youtube is being weird for me, I know what video I meant to make this comment on and it wasn't this one lol. I think youtube loaded a vid I clicked on after this one but didn't update the comment section before commenting on the new vid.
I will add to video. You can also install homebrew on linux too. You can then install all the plugins he shown in indentical way. I did it for plugins i couldn't find in my distro's repository so fellow linux users things you want but can't find on your distro you can find and install using hombrew on linux.
The only command you need is actually M-x evil 😊
Exquisite quality. I think it was very engaging and sprinkled with lots of useful information. I'm intrigued for more content. You have a new sub from me!
Wow, thank you for the support and for subscribing! I'm glad you enjoyed the video. I hope I can deliver on your expectations 😅
Thank you so much. This video is really useful. I learned a lot from your tips.
Awesome, thank you! Stay tuned for more tips 😉
:read (can be shortcut to :r ) puts the text of the read file below the current line. You can use :0r to put the contents above the current line. This is helpful if you are reading some script with a shebang line that needs to be the first line.
I knew about `:r` but actually not about `:0r`. Another thing I wish I learned sooner! 😉 Thanks for your input!
@1:36 how did you jump the cursor onto the numberline itself? Is it odd that, that was my WTF moment.
It looks like he’s using a multiplexer (probably Tmux). If you go back and slow it down, you’ll see a Ctrl-Shift-X, which probably is a control sequence for the multiplexor. At that point the cursor is no longer inside (Neo)Vim but in the multiplexor view and can be moved around the multiplexor buffer. When he exits this mode, it returns the cursor to Vim’s control, which does not let you move the cursor to the line number column.
Very nice observation! It's actually WezTerm's copy mode you see me using here. I show it off more in depth in my first video is actually: th-cam.com/video/LnZdaNfQ86o/w-d-xo.html
Having a shortcut for destructive actions amplifies stupidity. i never use zq. 😑. went to college with bill joy.
Actually good point! There's always a tradeoff.
A good text editor would have a menu. You know what a menu is, right? It's that bar on the top screen (or bottom) where different options are available so you don't need to carry with you sheets of paper printed with key combinations. Yes, a menu... look that in the dictionary. The "Turbo Editor" had it in the late 80's. It was probably the best text mode editor that ever existed. A damn MENU and a minimal user interface. It's not so hard to implement nor does it take too much space to justify its absence. But admit it, VI(M) is the simply a tool for all the assholes that need to show off. Nothing more. And, for me, everyone that brags about using VI(M) ... IS just an ignorable asshole.
Thanks for sharing your thoughts! To each their own, I say. People are different and like different things, so you're of course entitled to have your own opinions and views. And if people are using something only for bragging rights, that's the wrong reason, in my humble opinion, of course 😉
Great content! Thanks man!
Thanks, man! Glad you liked it! More content is already in the pipeline 😊
I would love a keyboard layout video. I’m still searching for the best way to arrange my symbols.
Will do it, but I have a few other videos in the pipeline first. To help you a little bit sooner, I use Miryoku layout in combination with a 36-key chocofi keyboard. More info on the layout can be found here: github.com/manna-harbour/miryoku/tree/master/docs/reference
I always remap “viw” to “vw” and “vw” to “ve” etc. Visual word meaning the current word and “visual end” for the rest of the word after the cursor makes more sense to me
Great idea, I like that! Maybe I will try that, but I think my muscle memory is probably already too strong to make that switch, now 🙈
I'm always reluctant to change such fundamentals because they don't transfer. Vim keybindings are usable in a fair number of applications and they obviously don't use your custom re-mapping
Nice I learned a few new things. Also, a minor correction and the only reason I mention it is because I think it makes a difference for remembering its purpose if newbies are watching. The "a" in commands like "daw" or "caw" stands for "around" meaning it will grab the outer bounds. Really helpful to remember for example if you need to grab the quotes or brackets along with the text. so if you need to grab "text in quotes" the command va" will visually select the text and the quotes included where as let's say ci" will just change the text between the quotes but not include them.
@@davidallred991 Glad you learned something new 🥳 You’re actually the second person to mention this in the comments. I actually find "around" to be a better mnemonic myself. And also thanks for the helpful further explanation 😎 I totally agree with you, I should have called it “around” in the video, especially for people new to Vim. I was reading from the NeoVim docs in the video, though. There it is called “a word”. You can also have a look at the Vim docs, that seem to also have it defined as “a word”. See vimdoc.sourceforge.net/htmldoc/usr_04.html#04.8
Nice vid. Thank you! A lot of good stuff learned
Thanks so much! I’m glad you found it helpful. Your support means a lot!
[ 03:49 ] "a word"? I'm pretty sure the _a_ is for _around_ .
I actually say "around" myself, usually. The Vim docs define it as "A Word", though. See vimdoc.sourceforge.net/htmldoc/usr_04.html#04.8
4:21 😅
A man with a keen eye! 😉
Love the reminder for ZZ And ZQ - always forget those! Great video!
You're welcome 😜
Another quality video!
Thanks again! Trying my best here 😅
I find it hard to build up the muscle memory to make the complete switch to Vim, as I only use an editor occasionally. Videos like yours motivate me to keep on going because they show just how well thought out and powerful Vim really is. Thanks and keep up the good work
Just keep using it. I had a long on and off again relationship with Vim 😅 I kept coming back and eventually it just all made so much sense.
Thanks for suggesting Eza!
Glad you like it 👍
Super useful. Thanks for this tutorial.
I'm glad you found the video helpful! It means a lot!
Great tips!
Thanks for your support! Glad you liked 'em! What was your favorite tip?
I've been using Vim for 3 years and had no about :read or moving the front of visual selection. Thanks g
It's amazing how much there is to learn in Vim even after years of use! Glad you found it helpful!
g is OP
@ It really is! But I had to leave some more tips for a follow up video 😜
Brilliant!
Indeed! Glad you like the video ✌️
Thank you for the great tips! I'm using WezTerm for many months, but I had no idea about quick select :) (Subscribed!)
You don't need to install a Nerd Font to use Wezterm because it is already have built-in nerd symbols configured
@@micaelviana That's actually correct, thanks for the hint! Also JetBrains Mono is WezTerm's default font, so you don't even need to configure this. Unfortunately I found out about that a few weeks after the video already had been published.
Love your videos man! Please keep them coming!
Thanks so much for your support! I’m glad you’re enjoying the videos, and I’ll definitely keep on making more!
For a first video this was super!
Thank you so much, glad you think so! 🫶
Would love to see your WM setup! Subscribed🤞
Thanks for subscribing, really appreciate your support! I’ll definitely share my WM setup soon, so stay tuned!
I like wezterm. I'm having a problem with my current MacBook where it's not finding the config file. The same setup on another Mac she's fine. Rather frustration. Anyone else have this problem?
Unfortunately hard to tell what's wrong from here. Have you checked the file path and permissions on your current MacBook? Sometimes a small detail can make a big difference. Maybe have another look at wezfurlong.org/wezterm/config/files.html#configuration-files for more ideas. Good luck! 🤞
Hi I would love to help you. Can you reproduce it somehow? Maybe reinstall wezterm, mv ~/.config/wezterm/wezterm.lua{,.bak} , wezterm --config-file ~/.config/wezterm/wezterm.lua.bak . And none of this helps, report a bug on github.
Also, great video!! Subscribed! 👍🏻
Awesome! Thank you!
Im going to give this ago, I've been using iTerm2 for too long now 😂
Let me know how how it went! Have fun 😊
I was sold at the copy mode time to switch
It IS a great feature, right?
Amazing work, super useful tutorial!
Thanks, I'm glad you like it! 🥳
Hey Mischa love your videos too man!
@@RazoBeckett. Mischa is the best 🫶
Love the completion keybinds and kill process example. Awesome video!
I'm happy you liked it and learned something new 🥳
Nice!! Thanks for the timeline - it makes it much easier to navigate through. I’ll try this later👍 Keep uploading these kind of videos pls🙌
@@Hulk-und-Michelle-BrawlStars Have fun, let me know how it went. There's plenty of content coming, don't worry 😜
Interactive completion didn't work for me. Will try to find out why. Great video! Looking forward to the next one.
Glad you like it! Thank you ☺️ Regarding interactive completion not working: You need fzf to be installed for interactive completion to work. Did you install fzf? That's the first reason I can think of, why it might not be working.
@@marco_peluso I did install fzf cdi works fine It's just space + tab after "cd <part of name>", right?
That's right. Do you have Zsh comletions enabled? They have to be enabled and the line `eval "$(zoxide init zsh)"` has to be added after `compinit` is called in your `.zshrc`. There's also a hint in zoxide's installation instructions: > For completions to work, the above line must be added after `compinit` is called. You may have to rebuild your completions cache by running `rm ~/.zcompdump*; compinit`. If you haven't set up completions yet, this is a great guide: thevaluable.dev/zsh-completion-guide-examples/ Let me know if that helps 🤞 I'm assuming you're also using `Zsh` as your shell here, of course. zoxide completions only work with zoxide v0.8.0+, bash 4.4+/fish/zsh, btw.
@@marco_peluso this is exaclty what i was looking for. I recon interactive search did not work. cdi (zi) works like a charm. Thank you for spotting a possible issue
@@marco_peluso There we go, it works! I was indeed missing Zsh completions. Thank you for taking the time to help! That guide looks like a fun rabbit hole to get into sometime, thank you for sharing.
Awesome video, Marco! Keep them coming! Subscribed.
Thanks for the sub and the nice comment! More content is aleeady in the pipeline 😉
Can you make a video how to configure NVim😂from scratch
@@khunjame7 Great suggestion! It's already on my videos-to-make list 😉😎
You just made my day. I was using aliases to browse frequently used directories, but it kept getting harder and harder to remember all those aliases. zoxide seems really intuitive. Keep those vids coming, I need more terminal wizardry 🪄
I know, right? I've done exactly the same thing before I discovered zoxide... Glad I could help 🤗
Love it!
@@JamesKaupert Thank you!