https://github.com/bclindner/vim-openvscode
Probably the only Vim plugin useful to a non-Vim user.
https://github.com/bclindner/vim-openvscode
Last synced: 6 months ago
JSON representation
Probably the only Vim plugin useful to a non-Vim user.
- Host: GitHub
- URL: https://github.com/bclindner/vim-openvscode
- Owner: bclindner
- Created: 2019-01-31T19:46:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T22:38:00.000Z (over 7 years ago)
- Last Synced: 2025-06-07T09:42:18.279Z (about 1 year ago)
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-openvscode
A super-simple plugin to open all your current Vim buffers in [Visual Studio
Code](https://code.visualstudio.com), for quick transitioning between the two.
It attempts to keep the same line number as the Vim buffers when opening in
Code, as well.
I wrote this as a simple hack to allow my co-workers to browse and edit code on
my machine when necessary (suggesting changes, helping out with code problems,
etc.)
Requires [Visual Studio Code](https://code.visualstudio.com) to be installed and
the VS Code executable to be installed in the PATH. Currently only tested on
macOS, but will *probably* work on anything *nix.
# Usage
Install with your favorite plugin manager, open up some files, and type:
```vim
:OpenVSCode
```
You can also call it as a function:
```vim
call openvscode#AllBuffers(1) " 0 to omit line numbers
```