12 Replies - 1878 Views - Last Post: 05 June 2011 - 10:29 PM

#1 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 731
  • View blog
  • Posts: 8,644
  • Joined: 14-September 07

.vimrc Let's Compare

Posted 03 June 2011 - 06:55 PM

Any vim fans out there??

Mine at the moment is very minimal but working on it still. Let's see your .vimrc

Posted Image

This post has been edited by Nykc: 04 June 2011 - 06:55 AM

Is This A Good Question/Topic? 0
  • +

Replies To: .vimrc Let's Compare

#2 Shane Hudson  Icon User is offline

  • D.I.C Technophile
  • member icon

Reputation: 343
  • View blog
  • Posts: 1,286
  • Joined: 06-December 09

Re: .vimrc Let's Compare

Posted 04 June 2011 - 01:57 AM

I am still a beginner and have not yet touched that file, but I am looking forward to seeing different variations in this thread and I will probably use them to create my own!
Was This Post Helpful? 0
  • +
  • -

#3 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 731
  • View blog
  • Posts: 8,644
  • Joined: 14-September 07

Re: .vimrc Let's Compare

Posted 04 June 2011 - 06:54 AM

I am only about a month in myself but I have since went full time on it.

This post has been edited by Nykc: 04 June 2011 - 06:56 AM

Was This Post Helpful? 0
  • +
  • -

#4 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: .vimrc Let's Compare

Posted 04 June 2011 - 12:32 PM

You know, you could have just posted the file rather than a screenshot of the file...

I'm an Emacs user. Vim and I aren't friends.
Was This Post Helpful? 0
  • +
  • -

#5 SurfingShark  Icon User is offline

  • D.I.C Head

Reputation: 38
  • View blog
  • Posts: 188
  • Joined: 18-April 11

Re: .vimrc Let's Compare

Posted 04 June 2011 - 08:58 PM

Very interesting stuff. I honestly never heard of it and just googled it. So what do you use it for once you create your environment??
Was This Post Helpful? 0
  • +
  • -

#6 nooblet  Icon User is offline

  • D.I.C Addict

Reputation: 120
  • View blog
  • Posts: 541
  • Joined: 12-March 10

Re: .vimrc Let's Compare

Posted 05 June 2011 - 02:21 AM

View PostRaynes, on 04 June 2011 - 12:32 PM, said:

You know, you could have just posted the file rather than a screenshot of the file...

I'm an Emacs user. Vim and I aren't friends.


I've never used Emacs so I can't personally comment on it and could care less about the editor wars between the two but I am VIM user :whistling:

View PostSurfingShark, on 04 June 2011 - 08:58 PM, said:

Very interesting stuff. I honestly never heard of it and just googled it. So what do you use it for once you create your environment??


VIM/Emacs are the ultimate editors. You use it to code whatever your hearts desires to build.
Was This Post Helpful? 2
  • +
  • -

#7 no2pencil  Icon User is offline

  • Admiral Fancy Pants
  • member icon

Reputation: 5388
  • View blog
  • Posts: 27,384
  • Joined: 10-May 07

Re: .vimrc Let's Compare

Posted 05 June 2011 - 02:22 AM

vi is where it's at, that vim crap is for light-weights.
Was This Post Helpful? 1
  • +
  • -

#8 Programmist  Icon User is offline

  • CTO
  • member icon

Reputation: 252
  • View blog
  • Posts: 1,833
  • Joined: 02-January 06

Re: .vimrc Let's Compare

Posted 05 June 2011 - 05:28 AM

The machines I log into don't always have vim, so I don't bother with customization and often fall back to vi to write shell scripts (not because it's better, but because I am fast with it). When I worked as a Unix sysadmin (in a previous life) there was one guy on our team who liked emacs over vi. He was adamant about how much better it was while most everyone else could care less and just wanted to get work done. The vi vs emacs holy war pre-dates many of the people on the site, so if you're not familiar with it think of it as similar to Mac vs PC, Windows vs Linux, "Less filling" vs "Tastes great." In other words much of it pure personal preference.
Was This Post Helpful? 0
  • +
  • -

#9 GWatt  Icon User is offline

  • member icon

Reputation: 278
  • View blog
  • Posts: 3,079
  • Joined: 01-December 05

Re: .vimrc Let's Compare

Posted 05 June 2011 - 06:41 AM

My .vimrc is pretty boring. I find it more useful to use the language specific config files than putting everything in the .vimrc.
Was This Post Helpful? 0
  • +
  • -

#10 SurfingShark  Icon User is offline

  • D.I.C Head

Reputation: 38
  • View blog
  • Posts: 188
  • Joined: 18-April 11

Re: .vimrc Let's Compare

Posted 05 June 2011 - 07:31 AM

If I still did C/Assembly I would definitely take advantage of it, but I'm a VS guy. :)
Was This Post Helpful? 0
  • +
  • -

#11 Nykc  Icon User is offline

  • Gentleman of Leisure
  • member icon

Reputation: 731
  • View blog
  • Posts: 8,644
  • Joined: 14-September 07

Re: .vimrc Let's Compare

Posted 05 June 2011 - 03:41 PM

I found some good vimrc's on the web... What I currently have does the trick for basic web design and simple C++, Python scripts. I do know people that customize it a little further when they are using perl, php...
Was This Post Helpful? 0
  • +
  • -

#12 Raynes  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 611
  • View blog
  • Posts: 2,815
  • Joined: 05-January 09

Re: .vimrc Let's Compare

Posted 05 June 2011 - 10:13 PM

View PostSurfingShark, on 05 June 2011 - 04:58 AM, said:

Very interesting stuff. I honestly never heard of it and just googled it. So what do you use it for once you create your environment??


Emacs and Vim are super editors. They both have large learning curves and both make you massively more productive when you can use them properly. I use Emacs for writing code in any language, but text editing isn't really the end of its capabilities. There is actually an implementation of tetris built into Emacs. M-x tetris. It's insane the things you can do with Emacs and Vim.
Was This Post Helpful? 0
  • +
  • -

#13 GWatt  Icon User is offline

  • member icon

Reputation: 278
  • View blog
  • Posts: 3,079
  • Joined: 01-December 05

Re: .vimrc Let's Compare

Posted 05 June 2011 - 10:29 PM

The most I've ever had to do was modify my scheme.vim file to support the proper indentation since the rules are different depending on whether something is a function or a macro. I also made it so the keyword 'lambda' would be replaced by the greek symbol.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1