Skip to content

nkzawa/js-inspector.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-inspector.vim

Build Status

A Vim plugin for support JavaScript code development based on AST analysis.

screenshot

Installation

Use your preferred installation method.

Bundle 'nkzawa/js-inspector.vim'
cd ~/.vim/bundle
git clone git://github.com/nkzawa/js-inspector.vim.git

Dependencies

Make sure the node command is in your PATH.

Basic Usage

Add the following to your ~/.vimrc to enable default key mappings .

call jsinspector#keymaps()

Then open a JavaScript file:

  • Press <LocalLeader>* or <LocalLeader># to search the variable nearest to the cursor.
  • Press n or N to repeat searching.
  • Enter Insert mode and edit the variale to rename.
  • Run :JsInspectorSearchClear to stop highlighting for search.

License

MIT

About

JavaScript code inspector for Vim

Resources

License

Stars

Watchers

Forks

Packages

No packages published