Skip to content

Instantly share code, notes, and snippets.

@KBalderson
Last active November 8, 2015 05:30
Show Gist options
  • Save KBalderson/3d030d19bc0f5e14ec33 to your computer and use it in GitHub Desktop.
Save KBalderson/3d030d19bc0f5e14ec33 to your computer and use it in GitHub Desktop.

Revisions

  1. KBalderson revised this gist Jul 9, 2015. 2 changed files with 0 additions and 0 deletions.
    File renamed without changes.
    File renamed without changes.
  2. KBalderson revised this gist Jul 9, 2015. 2 changed files with 0 additions and 0 deletions.
    File renamed without changes.
    File renamed without changes.
  3. KBalderson revised this gist Jul 9, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # Steps

    1. Install (investigate.vim)[https://github.com/keith/investigate.vim]
    1. Install [investigate.vim](https://github.com/keith/investigate.vim)
    2. Append the contents of the included .vimrc to your own .vimrc file
    3. Profit!
  4. KBalderson created this gist Jul 9, 2015.
    10 changes: 10 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    " Optionally, map <leader>d to investigate
    " nnoremap <leader>d :call investigate#Investigate()<CR>

    " for all of the DevDocs.io languages contained in investigate's s:defaultLocations
    for lang in ["c", "clojure", "coffee", "cpp", "css", "django", "go", "haskell", "html", "javascript", "lua", "php", "python", "rails", "ruby"]
    " use a url
    execute("let g:investigate_use_url_for_".lang." = 1")
    " use the DevDocs URL
    execute("let g:investigate_url_for_".lang." = \"http://devdocs.io/#q=^s\"")
    endfor
    5 changes: 5 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    # Steps

    1. Install (investigate.vim)[https://github.com/keith/investigate.vim]
    2. Append the contents of the included .vimrc to your own .vimrc file
    3. Profit!