mathiasbynens / mathiasbynens/dotfiles

set nocompatible doesn't do anything

Open
#817 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
31.5k
Forks
8.4k
PR merge metrics
No merged PRs in 30d

Description

[In `.vimrc`](https://github.com/mathiasbynens/dotfiles/blob/ba59d567a3aa0604c7967df69f12f3f166022553/.vimrc#L6):

```
" Make Vim more useful
set nocompatible
```

The compatible option [defaults to off when a `.vimrc` is found](http://vimdoc.sourceforge.net/htmldoc/options.html#'compatible'), so I believe this line does nothing.

Thanks for these dotfiles, I've been using them for years and they're great 😄

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the `.vimrc` entry at line 6 and compare it with Vim's documented default behavior when a `.vimrc` is present. The work is complete when the redundant `set nocompatible` line is removed and the configuration remains otherwise unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.