A PyMOL Python snippet library to edit live Jupyter notebook cells with Sublime Text 3 using browser plugin GhostText and the Ghost Text plugin for Sublime Text 3. The later plugin links a server in Sublime Text 3 with any text area in the web browser including jupyter notebooks. This snippet library includes snippets for loading PyMOL's Python API into an active Jupyter notebook.
The snippets are stored in separate files with the extension .sublime-snippet.
To install the snippets via the Sublime Text's GUI (Mac, Windows, Linux), go to Preferences→Browse Packages...→User→snippets, you may need to create the subdirectory called snippets. Copy and paste the folder st3pymolpysnips into the snippets folder.
To install the snippets on the command line on macOS, create the snippets directory in the Sublime Text 3 folder:
mkdir ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/snippets/
Move the st3pymolpysnips folder into the snippets folder.
mv st3pymolpysnips ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/snippets/.
Some snippets depend on some pymolshortcuts. Add the pymolshortcuts.py file to your working directory.
- jupyterlabpymolpysnips PyMOL Python snippets for use in JupyterLab with the jupyterlab-snippets extension.
- jupyternbclassicpymolpysnipsplus
- taggedpymolpysnips
- taggedpymolpysnipspymolpysnipsplus
- jupyter-vsc-pymolpysnips
- jupyter-st3-pymolpysnips
- jupyter-emacs-pymolpysnips
- jupyter-ultisnips-pymolpysnips
- jupyter-snipmate-pymolpysnips
- jupyter-neosnippets-pymolpysnips
- jupyter-atom-pymolpysnips