# Table of Contents for 6 Researching Techniques

## Files
- [[Highlighting Colors and What they Mean.md]]
- [[Learning How to Use Github.md]]
- [[Pandoc and Going from Markdown to LaTeX.md]]
- [[Setting up a virtual python environment (venv).md]]
- [[Setting up Neovim for Python.md]]
- [[Useful VIM commands.md]]
- [[What is a vision paper (Q).md]]

## Summary
Here is the code and documentation from the provided markdown files:

**Learning How to Use Github**
```
git init
git add .
git commit -m "Initial Commit"
git remote add origin https://github.com/danesabo/python_environments.git
git push -u origin master
```

**Setting up Neovim for Python**

* Install `nodejs` and `npm`: `sudo apt install nodejs` and `sudo apt install npm`
* Install `pyright` with `mason`: `npm install pyright`
* Install `ruff` as the primary LSP: replace `pyright` in the init.lua config
* Remove `pyright` from the environment

**Useful VIM commands**

* Work with prose:
	+ `( ) - move to the previous or next sentence
	+ {} - move to the previous or next paragraph
	+ vis - select the current sentence
	+ c) or c( - change to the beginning or end of the sentence
	+ f'x' and F'x' - find forwards and find backwards. Move to next or prev 'x'.
	+ J - join lines
* Work with tabs and windows:
	+ ':tabnew' to open a new tab
	+ ':tabc(lose)' to close a tab
	+ 'gt' cycle between tabs
	+ 'alt-v' to vertically split with a terminal
	+ ':terminal' opens a new terminal

**Setting up a virtual python environment (venv)**

* Create a new virtual environment: `python3 -m venv beaglebone_env`
* Activate the environment: `source beaglebone_env/bin/activate`
* Install dependencies: `pip freeze > env_req.txt`
* Create a `requirements.txt` file to recreate the environment
* Use `pip install -r env_req.txt` to install from the requirements list
* Create a new project and install dependencies: `python3 -m venv my_project/venv` and `pip install -r env_req.txt`

Note that these are just some of the instructions provided in the markdown files, and may not be an exhaustive guide.

Generated by llama3.2:latest
