1.7 KiB
1.7 KiB
Neovim Setup and Notes
TODO
The very first thing you should do is to run the command :Tutor in Neovim.
Notes
SNIPPET/LSP
- Trigger with
<c-x>. - For
TM_SELECTED_TEXT, block the text and then<tab>. - Move between choices with
<c-h>and<c-l>. - Move between placeholder with
<tab>and<s-tab>.
Copilot
- Trigger with
<c-j>.
Setup Instructions
General
- Install required Python packages:
pip install pynvim neovim
Paste Image
- Install Pillow:
pip install pillow
Jupyter Setup
- Set up a Conda environment.
- Install the following packages:
pip install ipykernel jupytext pynvim jupyter_client cairosvg plotly kaleido pyperclip nbformat
Install All Dependencies
- Run the following command:
pip install pynvim neovim pillow ipykernel jupytext pynvim jupyter_client cairosvg plotly kaleido pyperclip nbformat :UpdateRemotePlugins
Windows Specific
- Copy the
rplugin.vimfile:cp ./rplugin.vim C:\Users\yokow\AppData\Local\nvim-data/rplugin.vim
Initialization
- Add environment to Molten (e.g.,
labs):python -m ipykernel install --user --name labs --display-name labs - Initialize Jupyter Labs:
jupyter kernel --kernel=labs
iTerm2 Setup
- Keybindings:
#s-><C-s>!Up-><M-I>#Up-><M-i>!Down-><M-K>#Down-><M-k>#Left-><M-j>#Right-><M-l>
Lemonade Setup
- Install Lemonade:
go install github.com/lemonade-command/lemonade@latest - Start the Lemonade server:
~/go/bin/lemonade server