This commit is contained in:
bastien 2023-05-22 10:34:55 +02:00
parent 121fec1bb3
commit c65291cbca

View file

@ -8,12 +8,12 @@
#### 1. Why change #### 1. Why change
To write or edit computer code, program an arduino etc... we use IDE (integrated development environment) To write or edit computer code, program an arduino etc... we use IDE (integrated development environment)
Many very complete graphic software exist to do that like VScode from microsoft or Atom. Many very complete graphic software exist to do that like VScode from microsoft or Atom.
So why not use them ? They have drawbacks: So why not use them ? They have drawbacks:
* They are resource intensive, lots of RAM (~1.3 GB, about 18,000 times more than the Apollo 11 mission that sent the first men to the moon :/ ) * They are resource intensive, lots of RAM (~1.3 GB, about 18,000 times more than the Apollo 11 mission that sent the first men to the moon :/ )
* They are quite difficult to debug because of the large abstraction layers that make them up * They are quite difficult to debug because of the large abstraction layers that make them up
* They don't work without a graphical system (through ssh, on a server or a Raspberry Pi) * They don't work without a graphical system (through ssh, on a server or a Raspberry Pi)
* It is sometimes difficult to make them do something simple if it was not planned by the developers * It is sometimes difficult to make them do something simple if it was not planned by the developers
@ -30,7 +30,7 @@ So why not use them ? They have drawbacks:
* Usable through SSH on servers or very light computers (Raspberry Pi, etc.) * Usable through SSH on servers or very light computers (Raspberry Pi, etc.)
* Rock solid, crashes must exist, but I've never even heard of them * Rock solid, crashes must exist, but I've never even heard of them
2. Avantages of this solution #### 2. Avantages of this solution
VimsCode is an IDE with vim for beginner or expert VimsCode is an IDE with vim for beginner or expert
@ -42,26 +42,26 @@ So why not use them ? They have drawbacks:
## Quick Start ## Quick Start
1. Introduction: #### 1. Introduction:
Installation requires [git, wget, flex, bison, gperf, python3, python3-venv, cmake, ninja-build, ccache, libffi-dev, libssl-dev, dfu-util, libusb-1.0-0] Installation requires [git, wget, flex, bison, gperf, python3, python3-venv, cmake, ninja-build, ccache, libffi-dev, libssl-dev, dfu-util, libusb-1.0-0]
``` ```
sudo apt update sudo apt update
sudo apt install git, wget, flex, bison, gperf, python3, python3-venv, cmake, ninja-build, ccache, libffi-dev, libssl-dev, dfu-util, libusb-1.0-0, elinks sudo apt install git, wget, flex, bison, gperf, python3, python3-venv, cmake, ninja-build, ccache, libffi-dev, libssl-dev, dfu-util, libusb-1.0-0, elinks
``` ```
2. Set up VimsCode #### 2. Set up VimsCode
git clone https://git.cohabit.fr/bastien/VimsCode.git git clone https://git.cohabit.fr/bastien/VimsCode.git
After clone don't forgot to rename "vimrc-conf" -> ".vimrc" and "/vim-conf" -> "/vim" After clone don't forgot to rename "vimrc-conf" -> ".vimrc" and "/vim-conf" -> "/vim"
3. Install Plugins: #### 3. Install Plugins:
Launch `vim` and run `:PluginInstall` Launch `vim` and run `:PluginInstall`
## Docs ## Docs
1. Short-cute VimsCode #### 1. Short-cute VimsCode
``` ```
"F2" Shows a vim note "F2" Shows a vim note
@ -74,6 +74,6 @@ So why not use them ? They have drawbacks:
"F9" navigate between vim tabs "F9" navigate between vim tabs
``` ```
2. More Doc #### 2. More Doc
https://projets.cohabit.fr/redmine/projects/accueil/wiki/Documentation_IDE_Vim https://projets.cohabit.fr/redmine/projects/accueil/wiki/Documentation_IDE_Vim