Download a 25 page Linux Checklist here - learn.savvynik.com
@SavvyNik4 жыл бұрын
0:00 - Intro and About Vim 1:34 - Open First File with Vim 2:15 - Install Vim instead of using Vi 2:53 - Navigating a File with Vim 3:30 - Inserting Text into a file with Vim 4:40 - Undo Past Changes in Vim 5:17 - Quit out of Vim 6:30 - Save Changes to file using Vim 8:15 - Create a New File using Vim 9:00 - Open Another File using Vim to make edits 9:51 - Search for Specific Line in Vim 10:24 - Search for Specific Text in File using Vim 11:50 - Delete Lines in a File using Vim 13:21 - Recap of all operations/commands used in Vim w/ Explanation 16:00 - Using vimtutor command for more help
@BeansEnjoyer9113 жыл бұрын
Your tutorials are amazing. Subbed. Helped so much as I've been learning Linux
@SavvyNik3 жыл бұрын
Awesome to hear! Glad you found the tutorials helpful and thanks for subbing.
@ComsicQuestGG3 жыл бұрын
Thanks! Setting up a OpenVPN server; and needed to edit the server config file but couldn't for the life of me remember how to insert/edit a file. Spent way too much time in a Windows enviro forgot all my Linux.
@SavvyNik3 жыл бұрын
Awesome to hear!! No problem, glad you found the video helpful.
@khareckless67694 жыл бұрын
thank you! I was so overwhelmed at 1st and you made it very simple and fun
@SavvyNik4 жыл бұрын
Awesome, Np!! Glad you enjoyed the video =)
@Slavolko2 жыл бұрын
Thanks. Never used vim before, so this was a nice intro.
@SavvyNik2 жыл бұрын
Glad I could help
@lubnafathima75172 жыл бұрын
Thank you so much for this tutorial MUCH NEEDED ONE!!!!
@SavvyNik2 жыл бұрын
You're welcome!!
@rawindrareddy55782 жыл бұрын
Wow amazing You made it so easy man Thank You So Much ❤️
@SavvyNik2 жыл бұрын
You're welcome 😊
@ummatilawan5797 Жыл бұрын
Very informative. thank you so much for this video.
@k_usuan Жыл бұрын
Awesome and so smooth and precise
@SavvyNik Жыл бұрын
Glad you liked it
@kingstonxavier3 жыл бұрын
Cool post and very helpful. Is there a way to edit the read-only files and save as a new file?
@SavvyNik3 жыл бұрын
Glad you liked it. Try using :w /path/where/you/access/to/write
@avishekpdsyouthoob90834 жыл бұрын
OMG A DREAM! A VIM TUTORIAL VIDEO
@SavvyNik4 жыл бұрын
@AvishekPD's YouThoob - Glad you enjoyed it ^^
@omnimathic Жыл бұрын
Amazing video!
@rupalijindal56802 жыл бұрын
Thanks for the detailed video👍
@SavvyNik2 жыл бұрын
No problem, glad you liked it!
@vijayalaxmisr48063 жыл бұрын
Thanks a lot, you explained it very nicely
@SavvyNik3 жыл бұрын
Glad it was helpful! Make sure to smash that like button for me if you haven't already =)
@DonTequilon3 жыл бұрын
Thank you for the easy explanation
@SavvyNik3 жыл бұрын
You are welcome!
@nikolasg42104 ай бұрын
Thank you very good tutorial
@PurposefulThinkers2 жыл бұрын
Thank you so much for making this video!!!
@SavvyNik2 жыл бұрын
You're welcome! Glad it was helpful.
@danielcastillovillamarin31072 жыл бұрын
Amazing video!!!! Thank you so much!
@SavvyNik2 жыл бұрын
You are so welcome!
@Wongmc644 Жыл бұрын
Great intro to video. Thnks
@SavvyNik Жыл бұрын
No problem
@oraziofindus46754 жыл бұрын
Thank you for this tutorial, awesome work!
@SavvyNik4 жыл бұрын
Glad you enjoyed it! You're welcome =)
@Nepal0713 жыл бұрын
Thank you for making this video!
@SavvyNik3 жыл бұрын
Glad it was helpful! You're welcome!
@erebusparcae2 жыл бұрын
thank you i needed this...
@SavvyNik2 жыл бұрын
Awesome, no problem.
@신상원-t4j3 жыл бұрын
thanks a lot. i'm exactly in the same situation u mentioned. it was a lot of help.
@SavvyNik3 жыл бұрын
Awesome to hear! Glad you found this helpful. Make sure to smash that like button for me if you haven't already =)
@wldtrbls Жыл бұрын
Perfect, thank you :)
@SavvyNik Жыл бұрын
No problem 😊
@roauf-2 жыл бұрын
How to like a youtube videos twice? cuz I wanna do it to ur video, thank u so much bro for the great simple explanation
@SavvyNik2 жыл бұрын
Glad you enjoyed it! You're welcome :)
@roauf-2 жыл бұрын
@@SavvyNik thank you, I'm looking forward for more of your videos
@norah50732 жыл бұрын
The best explaination
@SavvyNik2 жыл бұрын
Thanks
@sixtuscardinal25813 жыл бұрын
Helpful tutorial....Thank You!
@SavvyNik3 жыл бұрын
Glad it was helpful! No problem.
@davidreyes59463 жыл бұрын
Nice tutorial! Really helpful. New sub :)
@SavvyNik3 жыл бұрын
Awesome to hear!! Glad you enjoyed and thanks for the sub =)
@joellopescunhadesouza86172 жыл бұрын
Thank you very much! It helped me a lot
@SavvyNik2 жыл бұрын
Glad it helped! You're welcome.
@meergoedemuziek Жыл бұрын
Thank you so much for this content ⭐⭐⭐
@SavvyNik Жыл бұрын
No problem
@codemagic24873 жыл бұрын
thanks a lot! very helpful for me !
@SavvyNik3 жыл бұрын
You are welcome, glad you liked it!
@vipulkanojia30802 жыл бұрын
thanks for this tutorial
@SavvyNik2 жыл бұрын
You're welcome 😊
@TheEspikes Жыл бұрын
You are a cool tutor
@ozonewagle2 жыл бұрын
Thank you so much.
@SavvyNik2 жыл бұрын
You're welcome!
@cameronribeiro96603 жыл бұрын
Try adding this: Think people want to see: Create a python port scanner to run in terminal.
@ulrichsamosii60586 ай бұрын
Great job!
@greghenderson15382 жыл бұрын
Very helpful. Thank you!
@SavvyNik2 жыл бұрын
Glad it was helpful! You're welcome.
@user-ou5jn7fj8o Жыл бұрын
Hi, is there any way we can go to a specific column in the line? Say i want to go to 15th char in a line, is there a command i could use?
@SavvyNik Жыл бұрын
Try n| where n is the number in the line you want to get to or if you want to go to a specific line in the doc you can do :n where n is is the number of the line you want to get to
@azkaamin34258 ай бұрын
really helpful tutorial
@SavvyNik8 ай бұрын
Thanks
@narasimhaswamy79862 жыл бұрын
Very useful video
@SavvyNik2 жыл бұрын
Glad you liked it
@danielcastillovillamarin31072 жыл бұрын
Hey man, thank u for the video, it was so useful to me! May you please share with me that background image? Greetings!
@SavvyNik2 жыл бұрын
Glad you think so :) pixabay.com/videos/hello-world-pc-retro-monitor-28320/
@raedsalih51462 жыл бұрын
Thanks
@SavvyNik2 жыл бұрын
You're welcome!
@sauravdas53254 жыл бұрын
Do you use vim daily or use vscode?
@SavvyNik4 жыл бұрын
@Saurav Das - For most small edits and programming that I know will be contained all in one/two files I stick to vim. Otherwise, I'll use vscode if it's a large project or brand new so I can get the structure going properly.
@abhishek-xv5ow2 жыл бұрын
lots of informations :)
@SavvyNik2 жыл бұрын
Glad you think so!
@mxibarr27 Жыл бұрын
While in normal mode if I type a command more then once it starts logging all of my keystrokes at the bottom of the page and the commands won't process. For example if I look for a specific letter with /w and I type n to go next after my first two n it will start logging all of the n I type and won't go next. Might be a noob questions, but appreciate any help
@kingstonxavier3 жыл бұрын
I encountered this issue E212: Can't open file for writing while saving the file. I had to open open the file with sudo to get the file saved.
@gouravkumarshaw54672 жыл бұрын
gg for going top and shift +g to go to the bottom
@CheezyDibbles3 жыл бұрын
out of my windows habit i pressed "ctrl+s" it freezed VIM. i had to close terminal to open up another one. what should i do in this case?
@gouravkumarshaw54672 жыл бұрын
esc +:x to save and exit
@NJ-rx2dn4 жыл бұрын
Does vim recognize different extensions? I mean like if I name a file as something.cpp, will it recognize it as a C++ file? Also I saw a list.sl file. What is a .sl file? I searched but came across a .sln file.
@SavvyNik4 жыл бұрын
It does not have syntax highlighting for most types of extensions, but you can add plugins in for various extensions (which will give you that support). A *.sl file is something I just made up. The extension doesn't need to be one that's already been used.. (I figured sl would stand for simpleList which was a database for a program that I wrote in one of my past C++ tutorial videos).
@NJ-rx2dn4 жыл бұрын
@@SavvyNik So we can make up extensions as well? That's something I didn't know... Also, if I write a code and save it as a .cpp file can I execute it with the text editor or should I use the terminal for that? Also would the permissions when I do the ls -l in the terminal show executable also? Hope you can understand me 😅
@SavvyNik4 жыл бұрын
@@NJ-rx2dn Sure you can make your own extensions up. Any text editor that saves a file can usually do this just save as filename.whateverext although it won't be recognized by the system. If you want to edit a cpp file through a text editor that's perfectly fine. I use sublime text editor sometimes for this. I'm not sure what you mean by executable permissions.. a cpp file doesn't need executable permissions because it cannot be executed until it has been compiled.
@NJ-rx2dn4 жыл бұрын
@@SavvyNik Oh I meant when we do a ls -l in the terminal we get a long list and in the first column it shows the different rwx permissions available for the user and others right? That's what I meant by permissions.
@SavvyNik4 жыл бұрын
@@NJ-rx2dn yes that does show you the list of permissions. I'm not sure if it'd show executable or not. I wouldn't think so unless you chmod.
@analysis0923 жыл бұрын
Sir my vim is opening in terminal, I want to open separately. How can I do that ??
@kartikthakur48524 жыл бұрын
how you did that hello world wallpaper thing?
@SavvyNik4 жыл бұрын
I made a video on this application that allows for live wallpapers here's a link: kzbin.info/www/bejne/d2qclYNul5p9e6M just make sure to destroy the like button for me =)
@kartikthakur48524 жыл бұрын
@@SavvyNik thanks for such a fast reply 🙏
@SavvyNik4 жыл бұрын
@@kartikthakur4852 No problem
@tinbilltv41413 жыл бұрын
I have a problem with the colon, it won't work on my mac.
@lechsiz16422 жыл бұрын
hardly in the same league, but micro looks a bit easy. heck, even word grinder. why doesn't vim change many of its keybindings to standard ones now? There must be 15+ standard keybindings that work in all OSs, web browsers, and 30+ in all Linux.
@PeacefulMusic-l7o Жыл бұрын
Redo command?
@gouravkumarshaw54672 жыл бұрын
:q to exit without save
@mr.b72772 жыл бұрын
Completely disliked vi/vim annd preferred nano until I watched this video. Thank you!
@SavvyNik2 жыл бұрын
You're welcome! Glad to hear it :)
@Hyodoh73 жыл бұрын
When searching for something, I found you can use "n" to go forward and "b" to go back. Thought that could help someone else too
@SavvyNik3 жыл бұрын
Yes, good mentions! Thanks Nate.
@siik-ghostface4 жыл бұрын
I can't open wordlist1.txt file with text editor or with vim but I can however open the file with terminal to see the content inside the file. I believe there's something wrong and missing that is causing that problem preventing the OS and file from successfully and smoothly opening with vim and text editor to view content. Can you or anyone here on KZbin do quick investigative look? You can go to www.Kali.org then downloads, find VBox appliance(2020 release version) version, get 64bit version. Password and username by default is kali/kali instead of root/toor. Well let me know if you looked inside and found the same issue as I came across with opening generates word list file. ...................................................................................................................................................................................................... Ok I find out that crunch tool is causing this problem to make the generated files to not work with vim and text editor, so they won't work with another because of crunch tool it seems. If I do a right click in the /home/Kali/Desktop/Word list directory in file manager and create empty file document and say name it wordlist6.txt ..... what will happen is when I double click on wordlist6.txt file, it successfully opens up text editor within 4 seconds like it should but if I create that same kind of file with crunch then it will not successfully open with vim or text editor. So the crunch tool is the culprit problem here. I think it's making them unsupported or corrupted. But yeah can still look into this and find a fix solution.
@SavvyNik4 жыл бұрын
@Dimitri Esprit The Hermit - Thanks for posting your in depth issue and what you ended up finding! I'm sure this will help people who run into a similar issue. Not sure how it has corrupted the file. Usually vim is capable of even opening up executables/binary files which are unreadable but still displays characters. Interesting indeed.
@siik-ghostface4 жыл бұрын
@@SavvyNik it probably just generated as unsupported file not corrupt. But I just thought of smarter idea about crunch I discovered a person can do with crunch. I read that not only can you send and generate wordlist to the terminal screen or generate a wordlist file to folder into your desktop.....but 3rd optionally to another PROGRAM (Web browser counts as program yes?!) So a person doesn't have to worry about wasting storage space on his Linux OS device(sda1) so instead it goes to web page, into a file there... basically to and within web browser. You get understand what I am saying. Now I just have to look how to send a wordlist to the web browser from crunch tool terminal.
@SavvyNik4 жыл бұрын
@@siik-ghostface - Interesting idea. Basically a cloud backup solution for Crunch =D
@siik-ghostface4 жыл бұрын
@@SavvyNik yes then a person should be able to run that file that's from the cloud with connection and using password cracking tool in terminal.
@SavvyNik4 жыл бұрын
@@siik-ghostface - Pretty cool idea. Good luck!
@HyperionBadger2 жыл бұрын
Have a big fat subscribe from me.
@SavvyNik2 жыл бұрын
Awesome to hear! Thanks for the sub :)
@gouravkumarshaw54672 жыл бұрын
esc u for undo
@johnd942 Жыл бұрын
Why use a BLACK SCREEN if you are typing light-coloured fonts? So Dumb!
@nramdec2019873 жыл бұрын
too much-unwanted talk
@SavvyNik3 жыл бұрын
I guess I like talking ;)
@analysis0923 жыл бұрын
Sir my vim is opening in terminal, I want to open separately. How can I do that ??
@analysis0923 жыл бұрын
Sir my vim is opening in terminal, I want to open separately. How can I do that ??
@piyushnaithani76892 жыл бұрын
It opens in terminal. To open it separately may be u need to install some desktop app.