{"_id":"@amosbird/jupyterlab_vim","_rev":"1-db3ea5787f9254128f08124109d63f2e","name":"@amosbird/jupyterlab_vim","dist-tags":{"latest":"0.11.0"},"versions":{"0.11.0":{"name":"@amosbird/jupyterlab_vim","version":"0.11.0","description":"Code cell vim bindings","author":{"name":"Amos Bird"},"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","homepage":"https://github.com/amosbird/jupyterlab_vim","bugs":{"url":"https://github.com/amosbird/jupyterlab_vim/issues"},"repository":{"type":"git","url":"git+https://github.com/amosbird/jupyterlab_vim.git"},"keywords":["extension","jupyter","jupyterlab","jupyterlab-extension"],"scripts":{"build":"tsc","clean":"rimraf lib","prepare":"npm run build","watch":"tsc -w"},"jupyterlab":{"extension":true},"dependencies":{"@jupyterlab/application":"^1.0.1","@jupyterlab/codemirror":"^1.0.1","@jupyterlab/cells":"^1.0.1","@jupyterlab/notebook":"^1.0.1","@phosphor/commands":"^1.6.3","@phosphor/coreutils":"^1.3.1","@phosphor/domutils":"^1.1.3","@types/codemirror":"^0.0.76"},"devDependencies":{"rimraf":"^2.6.2","typescript":"~3.5.1"},"gitHead":"131439cc636fd13a0d487516036735f68a83b93b","_id":"@amosbird/jupyterlab_vim@0.11.0","_nodeVersion":"13.5.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-86NLOl/pRUDogG7wg2u6Zj6wNwTuZDDIc7j07529tt78GrCRSSTMHzjDsX5Y3fOY8yH2dYWhoS8W4LdY8CfFqg==","shasum":"2cd4aa5e7b0241f54ff3dcead9a18363020fdac0","tarball":"https://registry.npmjs.org/@amosbird/jupyterlab_vim/-/jupyterlab_vim-0.11.0.tgz","fileCount":7,"unpackedSize":46541,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBPfPCRA9TVsSAnZWagAASwAQAIZHVt2VWLtPXAkbw5qK\nAM8GrwHZAfntzkesbtniF60uUtlZXmyhsU+hKwMCcL8s3dct1pKH3nWO7W/D\nDXlLcLIAabMK7rQYDoEdYvMRApHg5SKjXtHDWwYHThdGHZVqRjIhLzwrCoRJ\n8uwc1UokNoB1IP8u7vQ+grLF/x671Ltve5B/pAMoUDiWT3rkAd6gfXCq8VMF\n29tqdAcAg/axOD1oEQVkuxsHNZ3kiv461KjWPJw7xaCgGAc2aoHg6rTtORUs\n4W4MFjDvwe331hGNJkgFCvKRVCMfxtPEb8KvW0CoCnLobuLoEiM2uhBvXxo5\nG4tvo8dYibSJ2SPBB27jYlucHGX3La46PJ4cQfB/gEGgbhlrAS+ODGZN8Y1P\nZJfiwRqR2UM40ORT5YzYT9O5resXQAVdtmTfrMPrO52ILeMhbzvWO+zgnrlJ\nQDlahXuYPUfpwmY0Me6AuKvz94egYPyhUHCR5B5QZDZAK4DgIQZ6y95cTTwu\npsIoteOnHvXRXVmGwCO673wDu/B42BCRcMOMf5No/4RS2grTwHkQqaZZMVb/\nnXByy1VFyg2OPZ1pfdTt3ildH18youLFnOXPd5WMIk7risfgQTsE/BaEwx4k\niE7b2SYfaT5rFINVI2+U/IC4rVE+Y204VEHPZiUYb1nHAhOQQ7lMYCwrH3Gw\n0rA7\r\n=ayKD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5aSUIJ1qHP2m42XRcgxApl8FV3lq+Aw0vA+BZMHslPAiAQeqNMWpNb/hZtsG9ZxvRvCbpmtHSI6asuZyVynG2y1Q=="}]},"maintainers":[{"name":"amosbird","email":"amosbird@gmail.com"}],"_npmUser":{"name":"amosbird","email":"amosbird@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jupyterlab_vim_0.11.0_1577383887225_0.018019603138560436"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-26T18:11:27.191Z","0.11.0":"2019-12-26T18:11:27.379Z","modified":"2022-04-04T13:51:00.908Z"},"maintainers":[{"name":"amosbird","email":"amosbird@gmail.com"}],"description":"Code cell vim bindings","homepage":"https://github.com/amosbird/jupyterlab_vim","keywords":["extension","jupyter","jupyterlab","jupyterlab-extension"],"repository":{"type":"git","url":"git+https://github.com/amosbird/jupyterlab_vim.git"},"author":{"name":"Amos Bird"},"bugs":{"url":"https://github.com/amosbird/jupyterlab_vim/issues"},"license":"MIT","readme":"# jupyterlab-vim\n\n[![npm version](https://badge.fury.io/js/jupyterlab_vim.svg)](https://www.npmjs.com/package/jupyterlab_vim)\n[![Build Status](https://travis-ci.org/jwkvam/jupyterlab-vim.svg?branch=master)](https://travis-ci.org/jwkvam/jupyterlab-vim)\n[![npm downloads](https://img.shields.io/npm/dw/jupyterlab_vim.svg)](https://www.npmjs.com/package/jupyterlab_vim)\n\nNotebook cell vim bindings\n\n![jlabvim](https://user-images.githubusercontent.com/86304/38079432-b7596fd8-32f3-11e8-9ebd-4b9e7823f5f9.gif)\n\n## Special Thanks\n\nI want to acknowledge [Alisue](https://github.com/lambdalisue) and his excellent work creating [vim bindings](https://github.com/lambdalisue/jupyter-vim-binding) for Jupyter notebooks.\nI hope this extension can meet the high bar his work set.\n\n## Modes\n\nThis extension splits Jupyter edit mode into two modes: Vim command mode and Vim insert mode.\nThree editing modes now exist: Jupyter command, Vim command, and Vim insert.\n\n## Install\n### Prerequisites\n\n* JupyterLab 1.0\n\n### Install or upgrade\n\n```bash\njupyter labextension install jupyterlab_vim\n```\n\n### Uninstall\n\n```bash\njupyter labextension uninstall jupyterlab_vim\n```\n\n## Key Bindings\n\n**Please note that all keys are lowercase unless `Shift` is explicitly indicated.**\nFor example, `Y, Y` is two lowercase `y`s, `Shift-Y, Y` is one uppercase `Y` followed by a lowercase `y`.\n\nShortcuts this extension introduces:\n\n### Vim Ex commands\n\n| Command  | Action                     |\n| -------  | ------                     |\n| :w[rite] | Save Notebook              |\n| :q[uit]  | Enter Jupyter command mode |\n\n### Vim command bindings\n\n| Chord          | Action                    |\n| -----          | -------                   |\n| Ctrl-O, U      | Undo Cell Action          |\n| -              | Split Cell at Cursor      |\n| Ctrl-O, -      | Split Cell at Cursor      |\n| Ctrl-O, D      | Cut Cell                  |\n| Ctrl-O, Y      | Copy Cell                 |\n| Ctrl-O, P      | Paste Cell                |\n| Ctrl-Shift-J   | Extend Marked Cells Below |\n| Ctrl-Shift-K   | Extend Marked Cells Above |\n| Ctrl-O, O      | Insert Cell Below         |\n| Ctrl-O, Ctrl-O | Insert Cell Above         |\n| Ctrl-J         | Select Cell Below         |\n| Ctrl-K         | Select Cell Above         |\n| Ctrl-O, G      | Select First Cell         |\n| Ctrl-O, Ctrl-G | Select Last Cell          |\n| Ctrl-E         | Move Cell Down            |\n| Ctrl-Y         | Move Cell Up              |\n| Ctrl-O, Z, Z   | Center Cell               |\n| Ctrl-G         | Show Tooltip              |\n| Command/Ctrl-1 | Code Cell Mode            |\n| Command/Ctrl-2 | Markdown Cell Mode        |\n| Command/Ctrl-3 | Raw Cell Mode             |\n| Shift-Escape   | Leave Vim Mode            |\n\n### Jupyter command bindings\n\n| Chord   | Action            |\n| -----   | ------            |\n| G, G    | Select First Cell |\n| Shift-G | Select Last Cell  |\n| D, D    | Delete Cell       |\n| Y, Y    | Yank (Copy) Cell  |\n| P       | Paste Cell        |\n| Shift-P | Paste Cell Above  |\n| O       | Insert Cell       |\n| Shift-O | Insert Cell Above |\n| U       | Undo Cell Action  |\n| Ctrl-E  | Move Cells Down   |\n| Ctrl-Y  | Move Cells Up     |\n| Z, Z    | Center Cell       |\n\n## Contributing\n\nContributions and feedback are most welcome!\n\n[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/0)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/0)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/1)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/1)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/2)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/2)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/3)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/3)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/4)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/4)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/5)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/5)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/6)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/6)[![](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/images/7)](https://sourcerer.io/fame/jwkvam/jwkvam/jupyterlab-vim/links/7)\n\n## Development\n\nFor a development install (requires npm version 4 or later), do the following in the repository directory. **Please note**, you need to make sure that you satisfy all the prerequisites, i.e. the JupyterLab version.\n\n```bash\njlpm install\njlpm run build\njupyter labextension link .\n```\n\nTo rebuild the package and the JupyterLab app:\n\n```bash\njlpm run build\njupyter lab build\n```\n","readmeFilename":"README.md"}