Vim

92 readers
20 users here now

Vim, the powerful modal editor!

founded 2 years ago
MODERATORS
1
 
 

Randomly got into selfhosting/webhosting and everytime I need to edit anything when using the terminal, I end up installing vim and using it to edit stuff, it feels so much more comfortable than any other way of editing. I like vim now, it's the first thing I install when I need to config something. I like that its a modal editor and I have to use insert so I dont accidentally change stuff, if I want to save I :wq, if I don't I just :q, don't have a million options show up, it just works.

2
 
 

cross-posted from: https://lemmy.world/post/2712042

Bram Moolenaar, the creator of the widely respected Vim code editor, has passed away at the age of 62. The family announced his passing in a heartfelt Google Groups message on August 5, revealing a sudden progression of a medical condition that had afflicted him.

3
2
submitted 2 years ago* (last edited 2 years ago) by Blemish5236 to c/vim
 
 

Hello!

I'm having an issue in Vim where it will not do syntax highlighting unless using hard tabs. I prefer hard tabs, but they aren't valid yaml and I get yelled at when I try and import the file in python.

With proper spaces

With hard tabs

Does anyone know how I can resolve this?

Thanks!

EDIT: This is confusing. I've just discovered that if I run set ft? it shows filetype=yaml. If I then run set ft=yaml the syntax highlighting works correctly??? That doesn't make any sense.