> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/LadybirdBrowser/ladybird/llms.txt
> Use this file to discover all available pages before exploring further.

# Vim configuration

> Configure Vim for Ladybird development with YouCompleteMe plugin for code completion

Vim can be configured to use the [YouCompleteMe](https://github.com/ycm-core/YouCompleteMe) plugin to provide code-completion.

## Setup

<Steps>
  <Step title="Install YouCompleteMe">
    Install the YouCompleteMe plugin following the instructions in the [official documentation](https://github.com/ycm-core/YouCompleteMe).
  </Step>

  <Step title="Whitelist configuration file">
    Once you've installed the YouCompleteMe plugin you should whitelist the configuration file that is part of the ladybird repository. You can do this by adding the following option to your `.vimrc` file:

    ```vim theme={null}
    let g:ycm_extra_conf_globlist = ['~/ladybird/.ycm_extra_conf.py']
    ```
  </Step>
</Steps>

<Info>
  The Ladybird repository includes a `.ycm_extra_conf.py` file that provides YouCompleteMe with the necessary configuration for code completion.
</Info>
