████████▄ ▄██████▄ ███ ▄████████ ▄█ ▄█ ▄████████ ▄████████
███ ▀███ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███ ███ ███ ███
███ ███ ███ ███ ▀███▀▀██ ███ █▀ ███▌ ███ ███ █▀ ███ █▀
███ ███ ███ ███ ███ ▀ ▄███▄▄▄ ███▌ ███ ▄███▄▄▄ ███
███ ███ ███ ███ ███ ▀▀███▀▀▀ ███▌ ███ ▀▀███▀▀▀ ▀███████████
███ ███ ███ ███ ███ ███ ███ ███ ███ █▄ ███
███ ▄███ ███ ███ ███ ███ ███ ███▌ ▄ ███ ███ ▄█ ███
████████▀ ▀██████▀ ▄████▀ ███ █▀ █████▄▄██ ██████████ ▄████████▀
▀
Source for ASCII-fonts: https://www.coolgenerator.com/ascii-text-generator (Font: Delta Corps Priest 1
This repository holds my personal dot config files to configure and/or install my favorite apps. It also includes a script to setup my shell environment with ZSH, Oh my ZSH! and PowerLevel10k.
Supported configurations:
- Shell setup with ZSH, Oh my ZSH!, PowerLevel10k README
- Neovim README
- kitty README
- TMUX README
- GTile Gnome Extension README
- Vim README
- alacritty README
The aim is to get a system quicker configured and gain general productivity.
Shortcut | Description |
---|---|
Space + Space |
Show current open files/buffers |
Ctrl & f |
Search text in current file/buffer |
Space + s + h |
Search help |
Space + s + Space |
Search files (*smart) |
Space + s + g |
Search IN files (via grep) |
Space + s + f |
Search files (by name) |
Space + g + f |
Search in git files |
Space + ? |
Show recently opened files/buffers |
* smart search: If the current directory is in a git repo, the search is in git file search mode otherwise in file search mode.
Shortcut | Description |
---|---|
Z + Z |
:wa :qa Save all & exit |
Z + W |
:wa Save all |
Z + Q |
:qa exit only when nothing to save |
Shortcut | Description |
---|---|
Space + k + 2 chars |
jump leap up ↑ |
Space + j + 2 chars |
jump leap down ↓ |
Shortcut | Description |
---|---|
Ctrl + v |
Vertical split from file under cursor |
Ctrl & w + x |
Close current window |
Ctrl & w + h,j,k,l |
Move between windows |
Shortcut | Description |
---|---|
Ctrl & t |
Open in Tab |
g + t |
Next tab |
g + T |
Previous tab |
Shortcut | Description |
---|---|
z + f |
Create new folding zone |
z + a |
Toggle folding zone |
z + d |
Delete folding zone |
Shortcut | Description |
---|---|
Space + c + a |
"[C]ode [A]ction" - Perform action for issue |
Space + s + s |
Search symbols (e.g., props or methods) |
] + d |
Next diagnostics |
[ + d |
Prev diagnostics |
Space + r + n |
[R]e[n]ame all references of symbol under cursor |
Shortcut | Description |
---|---|
g + d |
Go to definition |
g + r |
Find references |
g + I |
Go to implementation(s) |
Alt & k |
Show documentation under cursor |
Ctrl + (space )* |
incrementally increases the selection. |
You will need to have Delve
installed to debug Go code.
Shortcut | Description |
---|---|
Space + d + b |
Set a breakpoint |
Space + d + Space |
Start session / Continue |
Space + d + l |
Step over/next |
Space + d + j |
Step into |
Space + d + k |
Step out |
Space + d + x |
Close session |
Space + d + r |
Restart session |
Space + d + ? |
Inspect variable under cursor |
When two windows are open (side by side) Space
+ d
+ t
will diff the
currently opened windows.
:Format
will format the current buffer.
Use :Telescope keymaps
to show shortcuts / key bindings.
:Telescope help_tags
offers a fuzzy find over all help files.
Type :Lazy
to open the plugin manager.
Use u
to update and i
to install plugins.
q
to close the plugin manager.
Type :Mason
to open install additional language support.
Use i
to install and u
to uninstall.
q
to close the plugin manager.
Shortcut | Description |
---|---|
g + c + c |
Toggle comment of current line |
g + c |
Toggle comment of selection |
https://github.com/tpope/vim-surround
- Visualize a word and press
S
+"
to surround it with"
. - To chance an existing surrounding with () to [] , press
c
+s
+(
+[
.
Use Space
+ u
to open the undotree.
https://github.com/kyazdani42/nvim-tree.lua Besides browsing offers many options to manipulate files and folders.
Shortcut | Description |
---|---|
Space + e |
Toggle nvim-tree window |
g + ? |
Show Keymappings |
Ctrl & t |
Open in new tab |
Ctrl & v |
Open in left & right split - vertical split |
Ctrl & x |
Open in up & down split - horizontal spplit |
Enter |
Enters file |
a |
Add file or directory (with trailing / ) |
https://github.com/tpope/vim-fugitive
Use :G <command>
to show the git status.
Do not forget to SAVE the file before trying to add it to the staging area.
To stage a file :G add -A
.
For committing us :G commit
.
To push use :G push
.
Shortcut | Description |
---|---|
Ctrl & a + - |
Split up & down |
Ctrl & a + | |
Split left & right |
Ctrl & a + x |
Close current pane |
Ctrl & a + z |
Toggle current pane is 100% |
Ctrl & a + h,j,k,l |
Move to pane in direction |
Ctrl & a + h,j,k,l |
Resizing: Move boder in direction |
Ctrl & a + Space |
Toggle layouts |
There is a subfolder for each app (e.g. ./kitty
for Kitty).
Each subfolder holds at least one app related config file and potentially an installation script.
View the config file(s) and and use the corresponding installation script to apply the configuration
to your system.
If available you find install and setup scripts under each subfolder.
To install and configure the shell:
curl -sSL https://raw.githubusercontent.com/mopore/jni-dot-files/main/jni-shell/install_jni-shell.sh | /bin/bash
To install and configure Tmux:
curl -sSL https://raw.githubusercontent.com/mopore/jni-dot-files/main/tmux/install_tmux_config.sh | /bin/bash
To install and configure vim with my settings:
curl -sSL https://raw.githubusercontent.com/mopore/jni-dot-files/main/vim/install_vim_config.sh | /bin/bash
Install "mdr" as a Markdown renderer to have a better viewing experiencing during installation Under arch-based distros:
pacman -S mdr
- Leap jumping w/ leap.nvim
- Integration of Debugging with DAP for Go
- Better exit commands
- Custom functions (smar search and highlighting, etc.)
- Lua call examples
- Better Documetation
- Add Neovim config.
- Add configuration for kitty.
- Remove neovim from vim configuration.
- Update readme files.
- Vim configuration added.
- GTile Gnome extension added.
- Tmux configuration added.
- Alacritty terminal added.