News for hackers. Stuff that matters.
Re:What is in your .vimrc by gbog on Sunday August 21, 2011 @10:37AM (#2909260)
These vimrc posts are not always very useful. Actually, it should be reminded that each line in vimrc may have bad side-effects. It may increase Vim instance loading time, and increase editing footprint, or slowdown processes like highlighting and scrolling.

Moreover, and probably worse, each specific configuration increases the distance between your daily Vim-fu and the one you'll have to use on another user or another machine. And these occasions have been, in my experience, those when great Vim-fu was the most critical (eg. trying to keep your hand on a dying server on a flooded connection, or showing off your skills on your boss's Mac during plane trip). All this holds for bashrc too. The closest to the default is the best, to some extent.

I take vimrc posts as good occasions to proofread mine and remove all unused stuff. I just commented out a very weird "set notagbsearch" which was probably killing my <ctrl>-].

Re:What is in your .vimrc by lynndylanhurley on Sunday August 21, 2011 @07:10PM (#2910606)
Well then you have to extend the argument to plugins as well, and certain plugins (SnipMate, AutoComplPop, Fugitive, etc.) can increase productivity by several orders of magnitude.

It's best to store your .vimrc + .vim/ folder on GitHub or a thumb-drive for easy restoration rather than crippling yourself with a limited configuration. Someone else mentioned Homesick (https://github.com/technicalpickles/homesick) which works really well.

Re:What is in your .vimrc by slmbrhrt on Monday August 22, 2011 @03:47PM (#2913806)
Yeah, I've found that over the years my .vimrc gets shorter and shorter because I rewrite it from scratch with each new environment, taking with me only what I remember through everyday use. I'm down to 30 lines now, counting whitespace.
Re:What is in your .vimrc by hack_edu on Sunday August 21, 2011 @12:06PM (#2909458)
I like your style. Care to share yours?
Re:What is in your .vimrc by gbog on Monday August 22, 2011 @10:44PM (#2915116)
Vim 7 in terminal exclusively:

I have the classic things about backspace, black background, statusbar, hlsearch, autocomplete, etc.

Then I have a few shortcuts on <Function keys>, because these cannot override other bindings. The most important is <F9> linked to pastetoggle.

I also have some specific settings for my current main language (Python).

I try to avoid rebinding normal keys because it can kill you when you get used to your tweaks and have to use another instance, but one thing I do is imap <ins> <Nop>, because I hate being suddenly thrown in replace mode.

Plugins I have grep.vim linked to <F3> and I'm currently trying NERD_commenter.vim on <F6>

Re:What is in your .vimrc by Vitaly on Sunday August 21, 2011 @10:04AM (#2909204)
a whole packaged deal at https://github.com/astrails/dotvim

tons of extensions and custom bindings. good README.

Re:What is in your .vimrc by beza1e1 on Sunday August 21, 2011 @02:38AM (#2908663)
Re:What is in your .vimrc by jmcantrell on Sunday August 21, 2011 @04:30PM (#2910205)
Re:What is in your .vimrc by mitjak on Saturday August 20, 2011 @08:20PM (#2908130)
I don't have much to add to the thread except for:

    set undofile
which will allow for persistent undo, i.e. undoing changes even after closing a file.
Re:What is in your .vimrc by thristian on Saturday August 20, 2011 @10:50PM (#2908372)
I also "set undodir=/tmp" so that it doesn't litter my working directory with persistent undo files.
Re:What is in your .vimrc by telemachos on Sunday August 21, 2011 @06:54AM (#2908947)
I prefer a variant of that. You can specify more than one place (that is, first choice, second choice, etc.) with a comma-separated list. I do this:

    " Vim 7.3, now with persistent undo
    set undofile
    set undodir=$HOME/.vim_undo,/tmp
That way, if I've remembered to create a .vim_undo folder, they go there (best option). Otherwise, /tmp. (You can do the same thing when specifying places for swap and backup files.)

As the comment suggests, the undo feature is only 7.3 or better.

Re:What is in your .vimrc by unfasten on Saturday August 20, 2011 @07:57PM (#2908094)
Insert single characters: Press 's' in normal mode and the next character you type will be inserted at the cursor and put you back in normal. Press 'S' (Capital S or shift+s) and the character will be inserted after the cursor like 'a' append. This is also repeatable, so you can insert a character and then do '5.' to insert it 5 times, still leaving you in normal mode afterwards. Being repeatable is the reasoning I read for it being a function. I picked this up from the Vim wikia site awhile ago.

    " Insert single char (repeatable)
    function! RepeatChar(char, count)
        return repeat(a:char, a:count)
    endfunction
    nnoremap <silent> s :<C-U>exec "normal i".RepeatChar(nr2char(getchar()), v:count1)<CR>
    nnoremap <silent> S :<C-U>exec "normal a".RepeatChar(nr2char(getchar()), v:count1)<CR>

Press 'F5' to run the file you're editing, assuming it has a shebang.

    " Run current file if it has a shebang
    function! <SID>CallInterpreter()
        if match(getline(1), '^\#!') == 0
            let l:interpreter = getline(1)[2:]
            exec ("!".l:interpreter." %:p")
        else
            echohl ErrorMsg | echo "Err: No shebang present in file, canceling execution" | echohl None
        endif
    endfun
    map <F5> :call <SID>CallInterpreter()<CR>

I don't actually use this one a lot, but it can be handy. F10 to switch between the line numbering modes, in Vim versions that have relative line numbering (>= 7.3)

    " Toggle line numbering modes
    " Default to relativenumber in newer vim, otherwise regular numbering
    if v:version >= 703
        set relativenumber
        let s:relativenumber = 0
        function! <SID>ToggleRelativeNumber()
            if s:relativenumber == 0
                set number
                let s:relativenumber = 1
            elseif s:relativenumber == 1
                set relativenumber
                let s:relativenumber = 2
            else
                set norelativenumber
                let s:relativenumber = 0
            endif
        endfunction
        map <silent><F10> :call <SID>ToggleRelativeNumber()<CR>
    else
        set number
    endif
Re:What is in your .vimrc by ashley_woodard on Sunday August 21, 2011 @02:21AM (#2908643)
This is an ugly hack I came up with to layout my windows how I like them. I have NERDTree and Taglist in a horizontally split window to the left and MiniBufExplorer across the top of the screen. See http://yfrog.com/h7sg7fp

  autocmd VimEnter * call<SID>LayoutWindows()

  function! s:LayoutWindows()
    execute 'NERDTree'
    let nerdtree_buffer = bufnr(t:NERDTreeBufName)
    execute 'wincmd q'
    execute 'Tlist'
    execute 'wincmd h'
    execute 'split'
    execute 'b' . nerdtree_buffer

    let mbe_window = bufwinnr("-MiniBufExplorer-")
    if mbe_window != -1
      execute mbe_window . "wincmd w"
      execute 'wincmd K'
    endif

    execute 'resize +20'
    execute 'wincmd l'
  endfunction
Re:What is in your .vimrc by ajtaylor on Sunday August 21, 2011 @08:07AM (#2909041)
That does it! I've read about both these extensions before, but tomorrow morning I'm taking the time to set them up on my machines. The setup looks like exactly what I've been wanting. Split windows only go so far, and still doesn't let me easily have more than a few buffers visible at once.
Re:What is in your .vimrc by Pewpewarrows on Saturday August 20, 2011 @05:46PM (#2907812)
Managed using the "homesick" command-line utility to propagate changes to all my working machines:

https://github.com/Pewpewarrows/dotfiles/blob/master/home/.v...

Re:What is in your .vimrc by nyellin on Saturday August 20, 2011 @06:02PM (#2907843)
Thank you. Here is a link to homesick for others:

https://github.com/technicalpickles/homesick

Re:What is in your .vimrc by joelthelion on Sunday August 21, 2011 @03:48AM (#2908738)
It's a shame that SO doesn't allow these types of questions anymore. They are very useful for beginners who want to know how experienced users actually use the tool.

The fact that they cannot be answered objectively doesn't make them less useful, and contrary to what is stated in the FAQ, the question and answers model is perfectly suited to this type of question.

Re:What is in your .vimrc by tommi on Sunday August 21, 2011 @05:34AM (#2908840)
It's because it's more like a discussion than a question. And it's more suited here anyway: http://superuser.com/
Re:What is in your .vimrc by joelthelion on Sunday August 21, 2011 @09:13AM (#2909126)
Not really: "What's in your .vimrc?" is a question.

Don't get me started on the idea to have separate "sites" for every topic. It creates a lot of noise, confuses beginners and serves no practical purposes that tags can't fulfil.

Re:What is in your .vimrc by spiffytech on Sunday August 21, 2011 @10:55PM (#2911102)
StackOverflow, and it's family of sites, aim to answer questions that can have a single "most correct" answer. While "what's in your .vimrc"-style questions are undoubtedly helpful, they are beyond the scope of SO et al.
Re:What is in your .vimrc by joelthelion on Monday August 22, 2011 @05:54AM (#2911951)
Yes, and they shouldn't, which is my point.
Re:What is in your .vimrc by nickknw on Sunday August 21, 2011 @01:30PM (#2909658)
Vim questions generally do belong on StackOverflow, not SuperUser.

http://meta.stackoverflow.com/questions/25925/vim-questions-...

Re:What is in your .vimrc by duggan on Saturday August 20, 2011 @06:20PM (#2907874)
I'm not sure how many man-hours were lost to fatfingering :wq as :Wq or :w as :W, but a simple alias has solved that particular bit of grief:

   cnoreabbrev Wq wq
   cnoreabbrev W w
The rest of my .vimrc mostly belongs to the guy I caught the vim addiction from, but sets some useful defaults: https://github.com/duggan/dotfiles/blob/master/.vimrc
Re:What is in your .vimrc by ElbertF on Saturday August 20, 2011 @07:08PM (#2907983)
Mapping ; to : and vise versa is a more elegant solution in my opinion (no need to press shift).

Here's my .vimrc: https://github.com/ElbertF/dotfiles/blob/master/.vimrc

Re:What is in your .vimrc by quadhome on Saturday August 20, 2011 @08:56PM (#2908194)

  ZZ
Re:What is in your .vimrc by nagnatron on Saturday August 20, 2011 @06:50PM (#2907934)
Using :x kinda solves the :Wq issue
Re:What is in your .vimrc by huhtenberg on Saturday August 20, 2011 @07:43PM (#2908066)
By the way :X is encrypt. Now guess how I know that... :)
Re:What is in your .vimrc by nagnatron on Sunday August 21, 2011 @08:33AM (#2909075)
I DID NOT know that and I withdraw my advice above :)
Re:What is in your .vimrc by graywh on Sunday August 21, 2011 @09:41AM (#2909166)
Also, :wq always writes; :x only writes when the buffer is modified (like :up | q).
Re:What is in your .vimrc by _sh on Saturday August 20, 2011 @09:22PM (#2908238)
I work with multiple files a lot, so I'm always navigating between split screens and across buffers.

  " Split windows/multiple files
  " use <Ctrl>+s to split the current window
  nmap <C-S> <C-W>s
  " use <Ctrl>+j/<Ctrl>+k to move up/down through split windows
  nmap <C-J> <C-W>j
  nmap <C-K> <C-W>k
  " use <Ctrl>+-/<Ctrl>+= to maximise/equalise the size of split windows
  nmap <C--> <C-W>_
  nmap <C-=> <C-W>=
  " use <Ctrl>+h/<Ctrl>+l to move back/forth through files:
  nmap <C-L> :next<CR>
  nmap <C-H> :prev<CR>
Note these use the same 'hjkl' navigation keys.
Re:What is in your .vimrc by jonasb on Sunday August 21, 2011 @05:39AM (#2908844)
The most important thing I've learnt recently regarding Vim config is Pathogen. https://github.com/tpope/vim-pathogen

With it it's much easier to keep plugins separate and encourages putting your own tweaks in custom plugins.

Re:What is in your .vimrc by fauziassegaff on Saturday August 20, 2011 @06:08PM (#2907854)
generally speaking, this .vimrc is most core config file that had a most use for me, been messing around with it before, and finally i use janus carl and huda https://github.com/carlhuda/janus (had to thanks to them) for their distro of the .vimrc configuration, it include just all what i need for my macvim, it has a good plugins and configurations to where i can start of developments.

for others that don't want to mess around with vimrc configs (although its fun)just give it a shot and hopefully, and will happifly accept an contribution

git clone git://github.com/carlhuda/janus.git

(don't forget to rake it after)

Re:What is in your .vimrc by jonathanwallace on Saturday August 20, 2011 @05:57PM (#2907832)
I forked a great vim_config for ruby/rails coding and made a few tweaks of my own.

https://github.com/wallace/vim_config

Re:What is in your .vimrc by marshray on Saturday August 20, 2011 @08:58PM (#2908201)

  "	Shift-Alt-S    -- (C++) - change the current    word/identifier in a quoted
  " string to an ostream expression.
  " For example, put the  cursor on on the 'xxx' in:
  "       cout << "value = xxx\n";
  " hit Shift-Alt-S and it changes to:
  "       cout << "value = " << xxx << "\n";
  inoremap <S-A-s> <Esc>lbdei" << <Esc>pa << "<Esc>bb
  inoremap ^[S     <Esc>lbdei" << <Esc>pa << "<Esc>bb
   noremap <S-A-s>      lbdei" << <Esc>pa << "<Esc>bb
   noremap ^[S          lbdei" << <Esc>pa << "<Esc>bb
  onoremap <S-A-s> <C-c>lbdei" << <Esc>pa << "<Esc>bb
  onoremap ^[S     <C-c>lbdei" << <Esc>pa << "<Esc>bb
Re:What is in your .vimrc by oinksoft on Saturday August 20, 2011 @07:27PM (#2908038)
This is one of my favorite bits from my .vimrc. It lets you use !find with location list:

  function! g:Find(...)
      let subexpr = 'substitute(v:val, ".*", "\"&\" 0: found", "")'
      let found = join(map(split(system('find ' . join(a:000, ' ')), '\n'), subexpr), "\n")
      exec 'lgete "' fnameescape(found) '" | lop'
  endfunction

  command! -nargs=+ Find call g:Find(<f-args>)
The :Find command above passes its arguments to `find`.

I use splits heavily, and these mappings for navigating and resizing splits are indispensable:

  nnoremap <C-K> <C-W>k
  nnoremap <C-J> <C-W>j
  nnoremap <C-H> <C-W>h
  nnoremap <C-L> <C-W>l
  nnoremap _ 3<C-W><LT>
  nnoremap + 3<C-W>>
Re:What is in your .vimrc by viraptor on Sunday August 21, 2011 @08:52AM (#2909096)
Interesting bits:

make sure I'm scrolling visual lines, not real lines

    noremap j gj
    noremap k gk
ctrl+l/h for changing tabs

    noremap <C-l> gt
    noremap <C-h> gT
Search improvements:

    set incsearch
    set hlsearch
Best theme ever (very objective of course):

    let g:inkpot_black_background = 1
    colors inkpot
Making sure tmp files are stored in only one location, not all around the system:

    if ! isdirectory(expand('~/vimtmp'))
        call mkdir(expand('~/vimtmp'))
    endif
    if isdirectory(expand('~/vimtmp'))
        set directory=~/vimtmp
    else
        set directory=.,/var/tmp,/tmp
    endif
Re:What is in your .vimrc by gcr on Saturday August 20, 2011 @09:57PM (#2908291)

  nnoremap \ta <Esc>:tab ball<CR>
Now you can run `vim foo bar baz` and then when open just type `\ta` and it will open them cleanly in three different tabs. Why they renamed a command "tab ball" I will never know.
Re:What is in your .vimrc by X-Istence on Saturday August 20, 2011 @10:04PM (#2908305)
See :he ball for why the command is named the way it is, ball as in buffer all ;-)
Re:What is in your .vimrc by graywh on Sunday August 21, 2011 @12:20AM (#2908504)
Or you could alias vim to vim -p.

Obligatory comment about the tabbar not being a replacement for :ls. Many things in Vim don't respect the one buffer = one tab paradigm.

Re:What is in your .vimrc by marshray on Saturday August 20, 2011 @08:56PM (#2908192)
I made a little convention of marking 's' and 'd' as the top and bottom of a range of lines. Then I define several handy utilities like:

  "	Shift-Alt-Z    #-comment range 's,'d
  inoremap <S-A-z> <Esc>:'s,'ds/^/#/g<CR>:noh<CR>
  inoremap ^[Z     <Esc>:'s,'ds/^/#/g<CR>:noh<CR>
   noremap <S-A-z>      :'s,'ds/^/#/g<CR>:noh<CR>
   noremap ^[Z          :'s,'ds/^/#/g  <CR>:noh<CR>
  onoremap <S-A-z> <C-c>:'s,'ds/^/#/g<CR>:noh<CR>
  onoremap ^[Z     <C-c>:'s,'ds/^/#/g<CR>:noh<CR>
Re:What is in your .vimrc by cpeterso on Monday August 22, 2011 @01:42AM (#2911455)

  " Automagically save files when focus is lost
  autocmd BufLeave,FocusLost silent! wall

  " Highlight whitespace at the end of a line
  highlight ExtraWhitespace ctermbg=Black guibg=Black
  match ExtraWhitespace /\s\+$/
  autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
  autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
  autocmd InsertLeave * match ExtraWhitespace /\s\+$/
  autocmd BufWinLeave * call clearmatches()

  " Disable man key
  nnoremap K <nop>
Re:What is in your .vimrc by LeafStorm on Saturday August 20, 2011 @11:18PM (#2908408)
While the flexibility and portability of Vim is quite attractive, I doubt I could really retrain myself to use the modal interface. Are there packages/scripts/whatever that would allow one to use Vim in the way that one would use a more "normal" text editor?
Re:What is in your .vimrc by jberryman on Saturday August 20, 2011 @11:22PM (#2908417)
Gvim in insert mode is essentially a "normal" editor, I.e. You can use it like ms notepad. But that would defeat the whole purpose. It takes memorizing about a dozen key bindings to be proficient with basic editing, and then you're off to the races. You'll have no problem.
Re:What is in your .vimrc by njharman on Saturday August 20, 2011 @11:21PM (#2908415)
Vim == modal

Without modal interface vim is just another editor. Modal is fundamental to vim's power.

Re:What is in your .vimrc by Groxx on Saturday August 20, 2011 @11:26PM (#2908420)
I'm not a vim scripter, but I'd be willing to bet you could make a (very very simple) script that would dump you back into input mode after a single command. That, or use a gui vim and ignore the whole command-mode thing (probably augmented with the before-mentioned script) and use buttons.
Re:What is in your .vimrc by seabee on Saturday August 20, 2011 @11:27PM (#2908422)
You might be interested in Cream:

http://cream.sourceforge.net/

Re:What is in your .vimrc by hetman on Sunday August 21, 2011 @11:50AM (#2909420)
It's worth mentioning that Cream is completely Vim underneath, however, by default it uses the Common User Access interface for user input like most modern editors.

It is also possible to enable traditional Vim input using expert mode, CUA is retained in insert mode making it very easy for anyone not familiar with Vim to get started and transition.

Re:What is in your .vimrc by mun2mun on Sunday August 21, 2011 @02:38AM (#2908664)
My favourite two lines (found in another .vimrc long time ago).

   set switchbuf=useopen,usetab
Files opened from buffer if exists. Handy for command-t plugin.

   autocmd BufReadPost * normal `"
Remembers the cursor position of files.
Re:What is in your .vimrc by sliverstorm on Saturday August 20, 2011 @07:51PM (#2908083)
I go with whatever the default is. I've logged on to hundreds of *nix machines in just the past few years, and it's completely not worth the effort to try and maintain a concurrent configuration.
Re:What is in your .vimrc by viraptor on Sunday August 21, 2011 @05:09PM (#2910293)
I've got `cd .dotfiles ; hg pull ; hg up` in my bash to solve this (+ ssh agent to not require logins all the time)
Re:What is in your .vimrc by wahnfrieden on Sunday August 21, 2011 @05:02PM (#2910275)
git clone git://github.com/myname/vimrc.git

That's too much effort? Enjoy your default configs with no syntax highlighting etc.

Re:What is in your .vimrc by markbao on Saturday August 20, 2011 @06:23PM (#2907884)
from those answers:

    nore ; :
    nore , ;
Do this now. Probably not the vimrc line that has saved me the most time... but definitely saved me the most pinky pain.
Re:What is in your .vimrc by Dejital on Saturday August 20, 2011 @11:14PM (#2908404)
Why not take it one step further with:

  nore <Space> :
Let your thumbs do the work.
Re:What is in your .vimrc by nyellin on Saturday August 20, 2011 @06:33PM (#2907897)
What do you use for leader?
Re:What is in your .vimrc by cma on Saturday August 20, 2011 @06:41PM (#2907917)
:
Re:What is in your .vimrc by wahnfrieden on Sunday August 21, 2011 @01:23AM (#2908576)
That's awful, 2 keystrokes for <leader>? Use \ for leader, or , for leader and \ for ;
Re:What is in your .vimrc by nyellin on Sunday August 21, 2011 @04:10AM (#2908763)
That's no better, I think. There is no standard location for \

Try using <space> instead. The default binding is useless for the largest key.

Re:What is in your .vimrc by wahnfrieden on Sunday August 21, 2011 @03:24PM (#2909980)
Why does it matter if there's no standard location? Do you use the ; command that often in vim anyway that this would be an issue if it were mapped to \?
Re:What is in your .vimrc by nyellin on Monday August 22, 2011 @12:37AM (#2911325)
Ymmv but it unfortunately matters for me. I switch between my work PC and personal Macbook daily. The different positions for \ drive me crazy, but as least it's rarely used on Macs due to sane file paths. Using a moving key in Vim is a bad idea.
Re:What is in your .vimrc by wahnfrieden on Wednesday August 24, 2011 @12:55PM (#2921472)
I just can't imagine prioritizing many commands over the <leader> key, which gets a load of use from me. Try space then, I guess.
Re:What is in your .vimrc by marshray on Saturday August 20, 2011 @08:12PM (#2908117)
I map semicolon to <Esc>, and ctrl-l to insert a semicolon in insert mode.

<Esc> is one of the most frequent commands, no reason it should be on one of the farthest keys.

Re:What is in your .vimrc by mitjak on Saturday August 20, 2011 @08:19PM (#2908127)
<Ctrl-C> works the same as <Esc> and does the same job of jumping back into normal mode.
Re:What is in your .vimrc by marshray on Saturday August 20, 2011 @08:45PM (#2908180)
Ctrl-[, too. But for some reason it's not as smooth for me. This idea of mapping semicolon came from a command layout rethink experiment I originally did on emacs. Always been meaning to reconstruct that more fully some day. Vim doesn't make it possible to define new first-class modes, so it will probably have to be a from-scratch editor (if I ever get around to it).
Re:What is in your .vimrc by freyrs3 on Saturday August 20, 2011 @08:26PM (#2908143)
Or bind Caps Lock to <Esc>:

     $ xmodmap -e "clear lock"; xmodmap -e "keycode 0x42 = Escape"
Re:What is in your .vimrc by marshray on Saturday August 20, 2011 @08:47PM (#2908182)
I'm hooked on Caps Lock being an additional Ctrl. That helps for emacs-style bindings too (like bash).
Re:What is in your .vimrc by jacobr on Sunday August 21, 2011 @05:09AM (#2908815)
I have mapped Caps Lock to switch between input and command mode. I use F10 as a "placeholder" to avoid triggering an actual changing of caps lock mode.

    # .Xmodmap:
    keycode 66 = F10
    clear Lock

    # .vimrc
    imap <F10> <ESC>
    nmap <F10> i
Re:What is in your .vimrc by ElliotH on Sunday August 21, 2011 @07:49AM (#2909019)
Re:What is in your .vimrc by IznastY on Saturday August 20, 2011 @06:58PM (#2907957)
imap jj <Esc>
Re:What is in your .vimrc by pyre on Saturday August 20, 2011 @07:58PM (#2908098)
No need to create an alias avoid hitting escape:

  C-c works in most cases
  C-] works always
Re:What is in your .vimrc by rbonvall on Saturday August 20, 2011 @08:32PM (#2908156)
I prefer not having to press Ctrl. I also map jj to Esc.
Re:What is in your .vimrc by statictype on Sunday August 21, 2011 @07:14AM (#2908979)
I remap my Caps lock key to escape. That's one of the first things I do in a new machine.
Re:What is in your .vimrc by pyre on Sunday August 21, 2011 @11:44AM (#2909407)
I just remap CAPS to Control.
Re:What is in your .vimrc by dfranke on Saturday August 20, 2011 @08:41PM (#2908170)

  dfranke@ancalagon:~$ ls ~/.vimrc
  ls: cannot access /home/dfranke/.vimrc: No such file or directory
Re:What is in your .vimrc by hackingOnAJet on Sunday August 21, 2011 @12:12AM (#2908491)
Re:What is in your .vimrc by Oompa on Saturday August 20, 2011 @11:38PM (#2908440)
Re:What is in your .vimrc by amix on Saturday August 20, 2011 @07:16PM (#2908007)
Re:What is in your .vimrc by jedberg on Saturday August 20, 2011 @07:10PM (#2907993)
Re:What is in your .vimrc by chris24 on Saturday August 20, 2011 @07:16PM (#2908008)
That link errors out. I think you meant to post this: http://www.jedberg.net/jedberg_vimrc
Re:What is in your .vimrc by jedberg on Sunday August 21, 2011 @03:20AM (#2908715)
Yep you're right, but it won't let me edit. :/
Re:What is in your .vimrc by davidjairala on Saturday August 20, 2011 @07:12PM (#2907998)
Access denied :(
Re:What is in your .vimrc by james2vegas on Saturday August 20, 2011 @08:42PM (#2908177)
I don't have one, I have a .nexrc
Re:What is in your .vimrc by ConceitedCode on Saturday August 20, 2011 @05:50PM (#2907820)
There are some invaluable little snippets in there.
Re:What is in your .vimrc by pointyhat on Sunday August 21, 2011 @02:29PM (#2909816)
Cobwebs: syntax on; set ts=4; set sw=4; set ai;

Keep it simple :)