/vim-list-javascript-functions

A vim plugin to list all javascript functions in current file

Primary LanguageJavaScript

vim-list-javascript-functions

List all javascript functions in current file

Gif showing plugin

Installation

Use your plugin manager of choice.

  • Vundle
    • Add Plugin 'JohanGustafsson91/vim-list-javascript-functions'
    • Run :BundleInstall

NOTE: The plugin has only been tested on Linux

Basic usage

  1. Press <CTRL+a>f in file
  2. Watch output of found functions
  3. Go to line (optional)

Basic options

Set file path to python script

Default is ~/.vim/bundle/vim-list-javascript-functions/plugin/

let g:vim_list_javascript_functions_filepath = 'new/file/path/'

TODOs

  • Add support for filename extensions
  • Add support for user defined shortcut command
  • Test on Windows
  • Test on Mac