r/vim

▲ 61 r/vim

It doesn't seem that bad?

I avoided vim for years, from the way people talked about it, sounded like it would be too much to learn programming and at the same time learn modal editing...but I've started using it now because I a course I started on C programming insists that people completing the course use a barebones text editor, no IDE or anything IDE-like with plugins.

Decided why not, this is my chance to learn vim. I've discovered that it behaves like a regular text editor in insert mode, then if I want to practice vim motions I can go into normal mode and practice, adding 1 or 2 new keys or combos every week or two...

Am I missing something or doing it wrong? Other than remembering to change modes this doesn't seem that difficult? I don't know most of the keys or combos but that's not a pain as I don't need to use them?

I feel like people shouldn't be talking about vim like it's this super hard thing with a steep learning curve. So far it has seemed easy to learn at a pace I have control over?

reddit.com
u/ConsiderationIll5607 — 11 days ago
▲ 3 r/vim

How to get past skipped lines?

I've been getting good with vim but every now and then when I want to access a certain line, I can't move the cursor into it, it just jumps over. What I usually do it move the cursor a line above it and (number)+w a few times. Any advice for this small problem I'd be grateful.

reddit.com
u/Hot_Technology8777 — 10 days ago
▲ 4 r/vim

How to set tab while branching in vim?

Hello guys! Lately I've often been using vim instead of VS code. But my habits didn't disappear: As you know, in VS code when you go to the next line, while you write conditionals or functions, IDE set
x number of tabs for you. For me it's pretty cool feature and vim doesn't have it natively. What can I write in ~/.vimrc or maybe download smth to enable this feature on vim?

reddit.com
u/MrOladushek1984_ — 10 days ago
▲ 6 r/vim

Stuck on thehelp – keyboard shortcuts

Hi,

I have a Linux VPS and I'm currently struggling with vim... As soon as I type `:help`, the help page appears. The following shortcut is located there:

"Jump to a subject: Position the cursor on a tag (e.g. bars) and hit CTRL-]"

1.) I haven't seen a keyboard shortcut yet that had a minus sign between the keys. It’s always Ctrl+C, for example. What is the minus sign supposed to indicate?

2.) "Ctrl + closing square" bracket doesn't do anything either. I can jump to the subject by clicking the mouse or by pressing Ctrl + I. This might be due to the keyboard layout, or does "]" actually refer to the letter I?

Greetings

reddit.com
u/JaMi_1980 — 12 days ago