Python command line application to convert vimrc to vscode compatible bindings.
This tool is meant to convert your custom vim bindings from your .vimrc into VSCode compatible bindings. At the time this tool was created, .vimrc is not officially supported by the VScodeVim extension (the most popular vim emulator for VSCode) and there are no known tool that automate the process formatting vim bindings for vscode-vim.
Link to VSCodeVim: <https://github.com/VSCodeVim/Vim/>
- Formats bindings for Normal Mode, Insert Mode and Visual Mode
- Auto-enables popular vim extensions like airline and vim-easymotion by activating vscode ports. Planned
- Sets flags like :set hlsearch and set :inclsearch. Planned
- Python 3.6+
You can get vim2vsc by running:
git clone https://github.com/devanshuDesai/vim2vsc
cd vim2vsc python3 convert.py
convert.py accepts three flags: - --vimrc Specify the path to your .vimrc installation (guesses path based on system if you don’t provide one). - --settings Specify the path to your settings.json for your VSCode Installation(guesses path based on system if you don’t provide one). - --nobackup If this flag is set, vscode-vim doesn’t save your old package.json before modifying it.
python3 convert.py –settings ~/downloads/settings.json –nobackup
python3 convert.py –s ~/downloads/settings.json –b
- Issue Tracker: github.com/$devanshuDesai/vim2vsc/issues
- Source Code: github.com/devanshuDesai/vim2vsc
The project is licensed under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size vim2vsc-0.1.0.tar.gz (3.5 kB)||File type Source||Python version None||Upload date||Hashes View|