Level Up Your Vim Game with These Hidden Tricks

  Рет қаралды 14,137

DevOps Toolbox

DevOps Toolbox

Күн бұрын

Пікірлер: 53
@comfysage
@comfysage Жыл бұрын
btw, u can use `set cmdheight=0` to hide the command line underneath the statusbar. since u use nui for your commandline this might remove some visual noise
@devopstoolbox
@devopstoolbox Жыл бұрын
Ha! Sweet! Thanks!
@joffreybluthe7906
@joffreybluthe7906 Жыл бұрын
One trick that I particularly like that I got from the Primeagen is "g+increment". So if you have a column of 0, select all of them and then do g and then ^A you end up with a column of 1, 2, 3, 4, etc... Works with decrements as well! But I can never remember that it's g when I need it lol
@neon13x
@neon13x Жыл бұрын
That's a very cool trick, thanks :)
@joffreybluthe7906
@joffreybluthe7906 Жыл бұрын
You're welcome! 😁
@devopstoolbox
@devopstoolbox Жыл бұрын
That's perfect! Yet another "G" magic in Vim. I think this keystroke actually deserves its own video...
@goodboyneon
@goodboyneon Жыл бұрын
Your videos are pure gold! They deserve way more attention. By the way, it'll be cool to have the real Ultimate Neovim setup guide. There are lots on KZbin but they lack one thing or another. I think you are the perfect person to teach us how to setup our Neovim just like yours or at least like an absolute pro!
@devopstoolbox
@devopstoolbox Жыл бұрын
Ahh thanks for all the kind words mate! Definitely noted and I'm still researching the best way to jump start a full blown Neovim configuration. I'm on it 😉
@Skatox
@Skatox Жыл бұрын
Awesome! I didn't know about the Ctrl + O for a single normal mode command. Also, I was looking the video in the background and wondering how to edit the content inside brackets and your video told me exactly like 2 seconds later.
@devopstoolbox
@devopstoolbox Жыл бұрын
Yes! Happy to help 😉
@CurlyWoof
@CurlyWoof Жыл бұрын
SO nicely produced. A pleasure to watch. Tips I had not seen elsewhere on ^O and spelling. Thank you very much!
@jparaujobezerra
@jparaujobezerra Жыл бұрын
Great video, what is that window "Commandline" in 1:10?
@jparaujobezerra
@jparaujobezerra Жыл бұрын
Ive found it, noice.nvim plugin. Thank you
@devopstoolbox
@devopstoolbox Жыл бұрын
Yes! This is Noice! Supper interesting project
@n0kodoko143
@n0kodoko143 Жыл бұрын
I love that there is always more to learn. Some great nuggets in this video!
@devopstoolbox
@devopstoolbox Жыл бұрын
As always - thank you 😉
@bobby9568
@bobby9568 Жыл бұрын
How did you make it look like that? Including the middle pop up menu that shows up
@devopstoolbox
@devopstoolbox Жыл бұрын
Hi! I'm guessing you're asking about noice, check it out! - github.com/folke/noice.nvim
@mikhailhyde565
@mikhailhyde565 Жыл бұрын
Do you plan on sharing your config? It’s everything I’ve ever wanted out of neovim 😍
@devopstoolbox
@devopstoolbox Жыл бұрын
Of course! Right here: github.com/omerxx/dotfiles/blob/master/nvim/init.lua
@mikhailhyde565
@mikhailhyde565 Жыл бұрын
@@devopstoolbox wow...how about a patreon xD
@devopstoolbox
@devopstoolbox Жыл бұрын
@@mikhailhyde565 that’s very flattering! I don’t think I’m there yet though. I want to share knowledge and learn from the community and that’s my joy right now. When I feel it has grown enough and I can find a process that can create additional value for certain members I’ll reconsider :) Thanks!
@theIbraDev
@theIbraDev 5 ай бұрын
What do you use to get the messages in a window on the top right?
@devopstoolbox
@devopstoolbox 5 ай бұрын
Nvim-notify
@tabotkevin8116
@tabotkevin8116 Жыл бұрын
Nice video, I love your nvim config. Which flavour of nvim is this? Or is it a person configuration version?
@devopstoolbox
@devopstoolbox Жыл бұрын
Thank you! This a self-configured neovim powered by kickstart.nvim. I’ll probably make a video about that shorlty
@rafaelborges8707
@rafaelborges8707 Жыл бұрын
Hi, which terminal do you use?
@devopstoolbox
@devopstoolbox Жыл бұрын
It changes a lot! Nowadays for daily work wezterm. For videos it's mostly iterm or wezterm depends on the mood :)
@niksingh710
@niksingh710 Жыл бұрын
can you please share your Noice.nvim config?
@devopstoolbox
@devopstoolbox Жыл бұрын
Certainly! To be honest I didn't customize at all, but what I do recommend is adding this config bit if you're using lualine so that noice doesn't hide it when you record macros: github.com/omerxx/dotfiles/blob/master/nvim/init.lua#L324
@niksingh710
@niksingh710 Жыл бұрын
@@devopstoolbox Thanks for sharing!! Loving your content minimal and informative. I wanted to get that noice completions as I type unable to figure out how to get that.
@felipegutierrez2944
@felipegutierrez2944 Жыл бұрын
1:34 I had the same problem with notify about my transparent background, i added this to my theme config => require("notify").setup({ background_colour = "#000000"})
@devopstoolbox
@devopstoolbox Жыл бұрын
Yes! I've done that too but was more annoyed with the sudden color so left it as is. I should probably restore it. Thanks!
@VovaY
@VovaY Жыл бұрын
1:20 what does mean ; and : ? Do you have some tricky key mapping?
@devopstoolbox
@devopstoolbox Жыл бұрын
I’m sorry, this is meant to be just colon and up arrow to search the history of commands. Just bad visual representation of the key… thanks for noticing! 🙏🏿
@Danielo515
@Danielo515 Жыл бұрын
You don't need to put the cursor on top of the number. It's enough to be on the same line
@devopstoolbox
@devopstoolbox Жыл бұрын
Totally! Thank you :)
@gabrieltambellinitanzi439
@gabrieltambellinitanzi439 Жыл бұрын
Very nice !!
@avatar_ng
@avatar_ng Жыл бұрын
How is your experience using noice?
@devopstoolbox
@devopstoolbox Жыл бұрын
So far, really good. The only thing I find slightly annoying is the hanging notifications which sometimes hide text. I work around it by jumping to the pop up window (C-w+C-w) and then closing it (C-w c). There's probably better configuration that I haven't yet got around to set
@channel-rk2pn
@channel-rk2pn Жыл бұрын
​@@devopstoolbox if you only have 1 window (no splits) you can just do Ctrl+w o, which closes all other windows except current one
@devopstoolbox
@devopstoolbox Жыл бұрын
@@channel-rk2pn True! Although with no splits this is usually not a problem as the notifications are quite far from where I normally view code 😎
@adibhanna
@adibhanna Жыл бұрын
Great video!
@devopstoolbox
@devopstoolbox Жыл бұрын
Thank you!
@edusoto91
@edusoto91 Жыл бұрын
shift + down does not really work by default shift + j does. Great video!
@devopstoolbox
@devopstoolbox Жыл бұрын
You’re totally right! Thanks!
@surajthakkar
@surajthakkar Жыл бұрын
please post more Kubernetes content :)
@devopstoolbox
@devopstoolbox Жыл бұрын
I want to! Maybe further down the road. Anything in particular you’re interested in?
@utilyre
@utilyre Жыл бұрын
You can also append "camel" to spelloptions (`vim.opt.spelloptions:append("camel")`) to avoid getting errors on correct words like HelloWorld
@devopstoolbox
@devopstoolbox Жыл бұрын
Cool!
@ChristophVonBagel
@ChristophVonBagel Жыл бұрын
Oh wow that session thing reminds me of tmux ... Awesome . I didn't even know about :tabnew lol ... I got a long way to go .
@devopstoolbox
@devopstoolbox Жыл бұрын
Well I love Tmux, and I've got more Tmux content coming soon, but my workflow in Vim and out is definitely influenced by tmux style / motions etc.
The SECRET to Learning Neovim
10:29
DevOps Toolbox
Рет қаралды 18 М.
These HIDDEN MOTIONS in Neovim will CHANGE how you work
11:11
DevOps Toolbox
Рет қаралды 24 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,8 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 4,1 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,9 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 45 МЛН
SPEED UP your Vim navigation skills!
7:15
DevOps Toolbox
Рет қаралды 47 М.
How to Vim in 2023: Tips and Tricks
15:53
ThePrimeagen
Рет қаралды 435 М.
7 Vim Tips and Tricks I Wish I Learned Sooner
9:26
Marco Peluso
Рет қаралды 7 М.
The Development of Vim
7:20
ForrestKnight
Рет қаралды 16 М.
The Ultimate Database Control. Right WITHIN NEOVIM
9:35
DevOps Toolbox
Рет қаралды 60 М.
everyone codes faster when they stop using their mouse
10:32
Low Level
Рет қаралды 223 М.
Tmux From Scratch To BEAST MODE
12:44
DevOps Toolbox
Рет қаралды 125 М.
VIM shortcuts but they keep getting crazier
9:53
Amichai Mantinband
Рет қаралды 16 М.
Vim Motions & Tricks I Wish I Learned Sooner
9:25
Henry Misc
Рет қаралды 42 М.
Is Neovim the ULTIMATE note taking tool?
10:43
DevOps Toolbox
Рет қаралды 60 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,8 МЛН