yeahh, well vimtutor says it looks like its pointing downwards, you may use that as an indication to remember it brings you downwards, h is on left in keyboard so it moves on left, vice-versa for l, it is on right on the keyboard, so it makes you move right
I would've done that by just recording a new macro which contains the smaller one. This one's nice too and can save some registers if you're working on a big thing.
Ah actually what I want to say is that when you enter a command in vim say like :messages which can span out a lot of line but I am not talking about a specific command. Can we somehow capture that text and output it to a file or some how better navigation in that output since for what I experience I can only use "jkud" to move and sometimes I reach the end and accidently close the ouput@@lian1238
Average Philly shopping list
Can't wait to buy Grandma with a side of meth
Just learned "J"
yeahh, well vimtutor says it looks like its pointing downwards, you may use that as an indication to remember it brings you downwards, h is on left in keyboard so it moves on left, vice-versa for l, it is on right on the keyboard, so it makes you move right
@@dazai826 J ≠ j
J : […] moves the line under the cursor to the current line…
j : moves the cursor to the line below it
I accidentally press it all the time lol
@@dazai826 lol
Tip: use Q to play the latest recorded macro, much easier than pressing @a and/or @@
Very cool. More videos on advanced Vim concepts, please!
Sure!
For anyone wanting to do this on the fly
]$ tr ‘
’ ‘,’ < inputfile > outputfile
Also double quotes work too
]$ tr “
” “,” < inputfile > outputfile
Nice example for editing macro. To trigger an appending recording qA (a capitalized) works fine here.
Still at the stage where I hit escape when I see"recording" in the status bar. I should change that.
My favourite fruits always contains methamphetamine
Could you redur this without the initial part. Just straight forward execution?
I have another short on macros
WHAT. I never knew you could visualize your macros and that’s also why I never used them
You can also have them in telescope, like files or buffers etc
:reg
I would've done that by just recording a new macro which contains the smaller one. This one's nice too and can save some registers if you're working on a big thing.
Excellent, thank you
Can you teach us how to make a custom color scheme?
Dang, TIL! Thanks!
yanking in a specific register never comes in hand for me 💀
how come I cannot keep multiple yanks in the default register.. what a shame
How would you select specific one then 💀
Deep magic. Well done
Ah this is great!
:norm would also be good for many macro usecases
I've been using vim for a damn long time. I did not know this
Meth??
Can we somehow direct vim/nvim output to a file
What do you mean
Ah actually what I want to say is that when you enter a command in vim say like :messages which can span out a lot of line but I am not talking about a specific command. Can we somehow capture that text and output it to a file or some how better navigation in that output since for what I experience I can only use "jkud" to move and sometimes I reach the end and accidently close the ouput@@lian1238
I know it's just an example to showcase macros, but in this particular case you could also just replace
with comma
:%s/
/,
:0,$-1 s/$/,/|%j
Sick tip, nerd. Thanks!
I would just put it on a new line and then delete it instead of new file. Imagine having to fix your macro multiple times
Wow
Vscode multiline much simpler
vscode/gui is for babies
meth 💀
`:put a` son or `"ap` daughter?
no thanks imma chatgpt it
Knowledge is free. Chatgpt isnt 😂
Even a basic ass ai can write this shit for free
@@rishabhtiwari6641 you’re ai
@@rishabhtiwari6641
what shit?