Skip to content

Instantly share code, notes, and snippets.

@vallettea
Last active April 14, 2021 15:05
Show Gist options
  • Save vallettea/f551d2a0721ca403285f to your computer and use it in GitHub Desktop.
Save vallettea/f551d2a0721ca403285f to your computer and use it in GitHub Desktop.

Revisions

  1. vallettea revised this gist Dec 14, 2015. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions vim.md
    Original file line number Diff line number Diff line change
    @@ -35,6 +35,15 @@ cd bundle
    git clone https://github.com/scrooloose/nerdtree.git nerdtree
    ```

    git clone https://github.com/moll/vim-node.git ~/.vim/bundle/node
    git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript

    cd ~/.vim/bundle
    git clone https://github.com/maksimr/vim-jsbeautify.git
    cd vim-jsbeautify & git submodule update --init --recursive

    git clone https://github.com/jelera/vim-javascript-syntax.git ~/.vim/bundle/vim-javascript-syntax

    ### Install color scheme

    ```
  2. vallettea revised this gist Dec 14, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vim.md
    Original file line number Diff line number Diff line change
    @@ -28,12 +28,12 @@ runtime! config/**/*.vim

    ## Install nerdtree:


    ```
    cd ~/.vim
    mkdir -p bundle
    cd bundle
    git clone https://github.com/scrooloose/nerdtree.git nerdtree

    ```

    ### Install color scheme

  3. vallettea revised this gist Dec 14, 2015. 1 changed file with 18 additions and 1 deletion.
    19 changes: 18 additions & 1 deletion vim.md
    Original file line number Diff line number Diff line change
    @@ -23,6 +23,23 @@ set number
    filetype plugin indent on
    syntax on
    runtime! config/**/*.vim
    ```

    runtime! config/**/*.vim
    ## Install nerdtree:


    cd ~/.vim
    mkdir -p bundle
    cd bundle
    git clone https://github.com/scrooloose/nerdtree.git nerdtree


    ### Install color scheme

    ```
    cd ~/.vim/colors
    wget wget https://raw.githubusercontent.com/tpope/vim-vividchalk/master/colors/vividchalk.vim
    ```

    and add `colorscheme vividchalk` to vimrc
  4. vallettea created this gist Dec 14, 2015.
    28 changes: 28 additions & 0 deletions vim.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    ## Install pathogen and use a proper directory structure

    ```
    cd
    mkdir -p .vim/{autoload,colors,syntax,plugin,spell,config}
    mv .vimrc .vim/vimrc
    ln -s .vim/vimrc .vimrc
    cd ~/.vim
    git clone https://github.com/tpope/vim-pathogen.git pathogen
    cd autoload
    ln -s ../pathogen/autoload/pathogen.vim .
    ```

    in `~/.vimrc`

    ```
    set nocompatible
    " Initialisation de pathogen
    call pathogen#infect()
    call pathogen#helptags()
    set number
    filetype plugin indent on
    syntax on
    ```

    runtime! config/**/*.vim