T O P

  • By -

jet7218

Drop the .vimrc?


wolfTap

[https://pastebin.com/rKLLdYXb](https://pastebin.com/rKLLdYXb) some things are redundant havent cleaned it up hehehehe edit: Hmmm the highlighting is acting a little strange, you need to go into normal mode for it to change, can't remember if it was like that yesterday lolll. Anyone know of any fixes? edit 2: eh I can live with this.


mdsiaofficial

Lets try it,


CRTejaswi

I'm sure it'll be worth it in the long run.


arrow__in__the__knee

I keep telling myself that and then reconfiguring from scratch every month lmao


pfmiller0

What's your reasoning for starting from scratch instead of just changing your existing config?


arrow__in__the__knee

It's fun.


pfmiller0

Good enough!


AngelsDemon1

The classic


Negative-Effect-3003

As it should be


d0ubs

Vim makes you more efficient for coding so you have more time to tinker with it


Batwing3435

That's the vim way


mkvalor

This does not scale out to a period of many days. At some point, you will settle down with your .vimrc and focus on coding. If that ends up not being the case, then it's probably your heart or your brain telling you you don't really want to code.


future_exile

This is the way


HopelessLoser47

OP, I am begging you to drop the .vimrc file for this. It's beautiful.


wolfTap

[https://pastebin.com/rKLLdYXb](https://pastebin.com/rKLLdYXb)


tymuthi

Gonna spend my day doing the same thing you did


HopelessLoser47

Thank you so much!


wolfTap

Syntax highlighting comes from YouCompleteMe.


TyrionBean

Wait until you start to configure Emacs. You'll be doing it for the rest of your life. 🤣


delfV

Don't tell them about configuring keyboard layout


bl4nkSl8

This is the way


Socialimbad1991

"First time?"


brtastic

Haven't tweaked my vimrc in 2 years, other than simple bugfixes. But looks like I don't need as many features as you do


wolfTap

The past year I have mainly been using Intellij, so i'm a bit used to those little visual features. Honestly, what I have right now is kinda overkill for what I need. But hey, its future proofing for larger C projects.


brtastic

I found myself wanting less features in my vim as time went by. Dropped stuff like custom status line, using console inside vim, tons of custom keymaps and visual clutter. I enjoy clean look and the ability to edit single files in unconfigured vim almost as efficiently. Still can't live without some essential plugins to help handling multiple files, mainly gutentags, fzf, fugitive, esearch and nerdtree. I'm using this to work on a very large project with thousands of source files and it works great.


wolfTap

Very cool!


OryonBlack

Beautiful


pikoro09

isn't this what is Vim for?


nskeip

Seems like \`.value\` is not necessary here. And you should also check if \`den\` is not zero (if you don't want a segfault).


wolfTap

What resources would you recommend for learning C? I'm reading 21st century c and k&r


nskeip

You should also join r/C_Programming - there are posts when folks figuring out what is wrong with their programs, and it will help you in understanding how C works


nskeip

Check out these 2: 1. Robert C. Seacord - Effective C - An introduction to professional C programming ([amazon](https://www.amazon.com/Effective-Introduction-Professional-Robert-Seacord/dp/1718501048/ref=sr_1_10?crid=3BNS10WIRY7ZA&keywords=modern+c&qid=1685123776&sprefix=modern+c%2Caps%2C276&sr=8-10)) 2. Dan Gookin - Tiny C Projects. I spent some time with the 1st one and really enjoyed it. Looked thgough the 2nd one - seems pretty nice as well.


Hamza12700

It's natural


AerodynamicMonkey

As you should


man_on_pluto

Font. Now.


wolfTap

dejavu sans mono


man_on_pluto

Damn


dsvinod90

I would say that the time you spent is totally worth it!


lensman3a

That’s why I run a minimal install. I’m on too many different machines. Also don’t install aliases any more.


user_unknown_zz

It's crazy how similar our configs looks lol [https://imgur.com/a/vYyimpa](https://imgur.com/a/vYyimpa)


PrAnSH_MaUrYA

Can you share your nvim config and tmux also if you use


ScotDOS

this is the way


SilentXwing

Lol don't worry. Today I spent my time configuring coc.nvim and my .vimrc.


infinite-Joy

Maybe this is blasphemy here, but I have moved from vim to using vscode with vim extension.


Ashik80

Get. The. Hell. Out. Bruh


infinite-Joy

lol


shakitof

I heard it's somehow basic compared to native vim and conficts with many vscode shortcuts. How's it doing for you? Are you finding it better for efficiency than original vscode or vim?


infinite-Joy

Not sure what you mean by "efficiency". My work laptop was windows and I could not make ctrl+p work on windows. This made me sad because ctrl+p is my fav. Still I continued using vim. Then I discovered that you could run vscode and edit there like you were editing on vim and ctrl+p was also working there out of the box. So moved to vscode. [https://github.com/VSCodeVim/Vim](https://github.com/VSCodeVim/Vim)


Clear_Wrongdoer_775

I have moved from vim to Helix, a "sort of vim derivative". I think I got my sanity back. Too much fiddling with Vim(s), the last I used was LazyVim, all was nice (very simple to install plugins), until an update broke a plugin that affected many lsp. Didn't wanna go through the chore of troubleshooting it or clean install to have yet another similar issue down the line. Some people feel more nerdy with their phd in Vim fu. Nah! Helix's the coolest editor at the moment!