diff --git a/wiki/programming-languages/c-language.md b/wiki/programming-languages/c-language.md index fa2ddfd..106bee5 100644 --- a/wiki/programming-languages/c-language.md +++ b/wiki/programming-languages/c-language.md @@ -2,15 +2,13 @@ C is a common programming language. -## Installation +## Setup To get c working you basically just need to install a compiler. To get a compiler for c there are a few options. - [GNU compiler collection](https://gcc.gnu.org) -## IDE - ### Vim The steps to make Vim a c IDE are described in [the vim section of this wiki](../linux/vim/c-language.md). diff --git a/wiki/programming-languages/golang.md b/wiki/programming-languages/golang.md index dd3e44a..7e92504 100644 --- a/wiki/programming-languages/golang.md +++ b/wiki/programming-languages/golang.md @@ -2,7 +2,7 @@ GoLang is a common programming language. -## Installation +## Setup To get go working you basically just need to install [Go](https://golang.org/doc/install). Make sure to set the `GOPATH` and the `GOBIN` variable and add the last to the `Path` @@ -16,8 +16,6 @@ export PATH="${GOBIN}:${PATH}" You can move the `GOPATH` where you want. -## IDE - -### Vim +## Vim The steps to make Vim a Go IDE are described in [the vim section of this wiki](../linux/vim/golang.md). diff --git a/wiki/programming-languages/nim.md b/wiki/programming-languages/nim.md index 31d61cf..d19c125 100644 --- a/wiki/programming-languages/nim.md +++ b/wiki/programming-languages/nim.md @@ -3,15 +3,13 @@ [Nim](https://nim-lang.org) is a statically typed compiled systems programming language. -## Installation +## Setup You can install nim using choosenim with `curl https://nim-lang.org/choosenim/init.sh -sSf | sh`. If you're on an arch-based machine you can also run `yay -S choosenim` (install `yay` if necessary). -## IDE - -### Vim +## Vim The steps to make Vim a nim IDE are described in [the vim section of this wiki](../linux/vim/nim.md). diff --git a/wiki/programming-languages/python.md b/wiki/programming-languages/python.md index 8ab6fd1..202ddd2 100644 --- a/wiki/programming-languages/python.md +++ b/wiki/programming-languages/python.md @@ -3,7 +3,7 @@ [Python](https://www.python.org) is an interpreted general-purpose programming language. -## Installation +## Setup You can install python using various ways. With `pyenv` you can switch between different versions. @@ -22,9 +22,12 @@ You can then set and install your preferred version of python globally with Analog to managing python versions, `pipenv` can manage pip and package versions. A guide and description of the usage can be found on [gioele.io](https://gioele.io/pyenv-pipenv). -### Avoid Errors in Vim +### Vim -Make sure to add +The steps to make Vim a python IDE are described in +[the vim section of this wiki](../linux/vim/python.md). + +Additionally make sure to add ```vimscript let g:python_host_prog = "/usr/bin/python2" @@ -40,13 +43,6 @@ to your `init.vim` to avoid usage of `pyenv`s version of python in autocompletio To automatically create a `requirements.txt` of your current project, navigate to it and run `pipreqs` (install it if not already done). -## IDE - -### Vim - -The steps to make Vim a python IDE are described in -[the vim section of this wiki](../linux/vim/python.md). - ## Modules There are various modules and package managers to install these for python like diff --git a/wiki/programming-languages/vhdl.md b/wiki/programming-languages/vhdl.md index 5354da0..a389889 100644 --- a/wiki/programming-languages/vhdl.md +++ b/wiki/programming-languages/vhdl.md @@ -2,12 +2,18 @@ VHDL is a hardware description language. -## Installation +## Setup To simulate a VHDL project get [GHDL](https://github.com/ghdl/ghdl). After simulating you can view the simulation with [GTKWave](https://github.com/gtkwave/gtkwave). -## Makefile for basic project +### Vim + +The steps to make Vim VHDL-ready are described in [the vim section of this wiki](../linux/vim/vhdl.md). + +## Usage + +### Makefile for basic project Easiest way to analyse and simulate your project is a `Makefile`: @@ -51,9 +57,3 @@ clean: ``` You can then for example do all steps by running `make all` in the according folder. - -## IDE - -### Vim - -The steps to make Vim VHDL-ready are described in [the vim section of this wiki](../linux/vim/vhdl.md).