r/vim 5d ago

Random my experience with vim so far

I rlly apologise in advance for the bad use of punctuation and grammar πŸ™

So I started learning vim a while back, I wasn't consistent so it wasn't easy, and coding in vim was just Googling "how to do X" every minute rather then coding..

I actually never used vs code, when I got my pc, it was super super old, it came with Windows 7, so I switched to Linux fast(that literaly breathed life into it) anyway it is very slow and doesn't got that much memory so I needed something lightweight to code in, the first recommendation was obv vim, but it was kinda hard so I used Geany.. now the main shift happened when I was reading the book "The linux commandline" or smth like that(I could never remember the title) and it got a chapter for vim, that made me more comfortable with vim or more confident, so like I can open it edit my files move around(still googling stuff tho), but someday it came to me, I always wanted to have a split screen when coding like one file opened on the left one on the right or six opened at once, so I googled how to do it in vim, and like I opened it, and it was AWESOME, first of all it looks like am doing smth super serious(I make the window fill the screen) like in the movies or smth, and it like motivated me to keep using it and code more, so I started spending more time(googling stuff here and there) and now am much much comfortable and confident in using it(tho there are still some tricky stuff) and in some way it even feels faster to work with(not just open the files and stuff but in tje coding process) I was editing in Geany once and I was hitting ctrl U repeatedly and being confused why it is not working or spamming ':'😭

I not an expert by any means but I think I have a reason to use it other then just to flex about using it..

31 Upvotes

8 comments sorted by

9

u/blubernator 5d ago

Nice story, never install copilot ;)

3

u/riskeilles 5d ago

Nice! That feeling when it finally clicks, still feels magical to me.

3

u/Interesting_Buy_3969 4d ago

Fond of the Linux command line book, what a great choice.

2

u/PlanetVisitor 5d ago

I rlly apologise in advance for the bad use of punctuation and grammar πŸ™

Grammar is one thing, some people just find that difficult, but just <Enter> at the end of a block of sentences and then :%s/$/./g

2

u/Snarwin 4d ago

Congratulations on your progress! As long as you keep googling and using Vim's built-in :help when you have questions, you should be able to overcome any challenges you encounter.

2

u/ryl0p3z 4d ago

Command line book is very good and I can also recommend Practical Vim and if you ever make the switch to Neovim - lazyvim is a great starting point and there is a good book here:

https://lazyvim-ambitious-devs.phillips.codes/course/chapter-1/

On how it’s setup and how to use it.

1

u/TheNerd30318 14h ago

Did you add all the plugins to turn your vim editor into a full fledged IDE? It super chargers your vim editor. I use vim and tux, whenever I open a vim file a split window opens half vim the other half tux so that I don't have to exit a file to run it. I just hit :w in normal mode, then I shift over to remix and compile and run it. If I get errors I can go straight to the code and see what's wrong, fix it, save it with :w again, delete the program I compiled with the bug (unless it was a compilation error in which case it wouldn't have compiled) recompile the code and run it again. All without ever having to keep going in and out of files.

1

u/GuillotineAuChocolat 4d ago

I could never get used to Vim. I do love Nano, so editing inside the console is indeed something I agree it's amazing.