This project contains a collection of configuration files to setup a Linux system to my liking. Altough it may also work for other systems, these configurations are only tested on Debian and Arch Linux.
In your $HOME do
git clone <this-repo> . The following steps are necessary to make certain tools work as intended. In the future they may be automated. (famous last words of a programmer)
The german keyboards have a somewhat necessary annoyance that to get any of the 3 characters ````, ^ or ~ you need to press the key twice (or follow it up with a space). That's to allow the typing of accented characters like ã. To disable that behaviour you may choose the layout ".. no dead keys".
```
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
```
-
Clone zplug
git clone https://github.com/zplug/zplug .zplug -
Install all zsh plugins if this was not already done automatically
zplug install -
Change to your prefered theme (my choice: solarflare)
base16_<your-prefered-theme>
Either use a version of vi compiled with the flags that supports the inline windows coc uses (nox vim) or use neovim.
-
download https://github.com/junegunn/vim-plug and copy it to either ~/.vim/autoload (normal vim) or ~/.config/nvim/autload
-
Install all vim plugins
:PlugInstall -
Adapt the theme if required. If you chose material-darker you may want to change color08 / Bright Black to "90/90/90" to make comments etc more visible. File to adapt: $HOME/.config/base16-shell/scripts/base16- .sh
| char(s) | effect |
|---|---|
| % | find the next item in this line after or under the cursor and jump to its match. |
| C | like d$a, delete to end of like then insert |
| 10j | move 10 lines down |
| 10G | goto line 10 |
| CTRL-w j | switch window to down (like hjkl) |
| * OR # | while * is select word and go to next one, # is backwards |
| CTRL-y OR | scroll screen 1 line up / down |
| CTRL-e | |
| "+y | yank selected text to system register (available to CTRL-V) |
| gt OR gT | change tab |
| ,o | open file search (Plugin) |
| CTRL-t | open selection from search in new tab |
| :tab help | open help in other tab |
| / OR ? | search forward or backwards. n and N repeat forward backwards |
| m[a-z] | mark a position within a file |
| m[A-Z] | mark a position globally |
| :%s/text/replace/g | %s all, g global |
| :%s/text/t2/gc | c: confirm |
| :%s/.text.\n//g | vim knows wildcards |
| :g/text/d | d: delete |
| :%s vs :s | %: whole buffer, s: next match |
| :%! command | replace buffer with output of shell command |
| :%! clip.exe | a (bad) way of copy to clipboard on windows |
| :%! grep ABC | opposite of :g/ABC/d |
| ' | jump to beginning of line of mark |
| ```` (1x) | jump to mark |
| :delm a | delete mark a |
- make sure you have ghcup installed (https://www.haskell.org/ghcup/)
- install nodejs
- install npm/yarn
- in vim do
:CocInstall coc-json
- If you choose a dark system theme you may have to change meld to a dark color scheme aswell (my choice: Solarized-Dark)
Feel free to create a pull request.
This project is released under the GPLv3 license.