Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carlosrocha/vim-chrome-devtools
Neovim integration with Chrome DevTools
https://github.com/carlosrocha/vim-chrome-devtools
chrome-devtools google-chrome neovim
Last synced: 3 months ago
JSON representation
Neovim integration with Chrome DevTools
- Host: GitHub
- URL: https://github.com/carlosrocha/vim-chrome-devtools
- Owner: carlosrocha
- License: mit
- Archived: true
- Created: 2018-05-14T01:34:52.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T18:32:18.000Z (over 1 year ago)
- Last Synced: 2024-09-26T05:04:43.187Z (3 months ago)
- Topics: chrome-devtools, google-chrome, neovim
- Language: JavaScript
- Homepage:
- Size: 180 KB
- Stars: 63
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - vim-chrome-devtools
README
Archived: A pure Lua version of this is available on https://github.com/carlosrocha/chrome-remote.nvim
# vim-chrome-devtools
This plugin uses [chrome-remote-interface](https://github.com/cyrus-and/chrome-remote-interface)
to connect to your Google Chrome instance.![CSS reload](https://user-images.githubusercontent.com/312351/39975780-335638a2-56f6-11e8-945a-128fe59fa76c.gif)
More screencasts can be seen [here](https://github.com/carlosrocha/vim-chrome-devtools/issues/1).
## Requirements
- Google Chrome with open remote debugging port using flag `--remote-debugging-port=9222`. You can find setup instructions [here](https://chromedevtools.github.io/devtools-protocol/).
- [Neovim](https://neovim.io) 0.2.2 for Node.js remote plugin support.
- [Neovim Node.js provider](https://github.com/neovim/node-client).
- [Node.js](https://nodejs.org)
- [FZF (optional)](https://github.com/junegunn/fzf.vim)Tested on node 8.5.0 and Google Chrome 61.
## Installation
### Using [vim-plug](https://github.com/junegunn/vim-plug)
```
Plug 'carlosrocha/vim-chrome-devtools', { 'do': 'bash install.sh' }
```After installing or updating you need to run `:UpdateRemotePlugins` and restart Neovim.
## Variables
- `g:ChromeDevTools_host`: Chrome host, `localhost` by default.
- `g:ChromeDevTools_port`: Chrome port, `9222` by default.## Commands
- `ChromeDevToolsConnect`
## Functions
- `ChromeDevTools_Page_reload()`
- `ChromeDevTools_Runtime_evaluate()`
- `ChromeDevTools_CSS_createStyleSheet()`