████████▄ ▄██████▄ ███ ▄████████ ▄█ ▄█ ▄████████ ▄████████
███ ▀███ ███ ███ ▀█████████▄ ███ ███ ███ ███ ███ ███ ███ ███
███ ███ ███ ███ ▀███▀▀██ ███ █▀ ███▌ ███ ███ █▀ ███ █▀
███ ███ ███ ███ ███ ▀ ▄███▄▄▄ ███▌ ███ ▄███▄▄▄ ███
███ ███ ███ ███ ███ ▀▀███▀▀▀ ███▌ ███ ▀▀███▀▀▀ ▀███████████
███ ███ ███ ███ ███ ███ ███ ███ ███ █▄ ███
███ ▄███ ███ ███ ███ ███ ███ ███▌ ▄ ███ ███ ▄█ ███
████████▀ ▀██████▀ ▄████▀ ███ █▀ █████▄▄██ ██████████ ▄████████▀
▀
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
- Obsidian Helper (Neovim plugin) README
The aim is to get a system quicker configured and gain general productivity.
| Shortcut | Description |
|---|---|
Space + Space |
Show open buffers (* snipe) |
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 |
* snipe (plugin) config is described below. ** 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 |
|---|---|
k |
Select buffer up |
j |
Select buffer down |
q |
Close under cursor |
| |
Split vertically w/ under cursor |
- |
Split horizontally w/ under cursor |
| 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 ↓ |
Suggestions appear only when requested by toggling them on.
| Shortcut | Description |
|---|---|
Space + c + c |
Toggle inline suggestions (default: off) |
Shift & Tab |
Accept current suggestion |
Alt + ] |
Next suggestion |
Alt + [ |
Previous suggestion |
Ctrl & [ |
Dismiss |
For a GitHub Enterprise Cloud instance (*.ghe.com), set the Copilot auth
provider URL in the environment before starting Neovim. For example, add this
to your shell configuration (~/.zshrc):
export COPILOT_AUTH_PROVIDER_URL="https://company.ghe.com"Replace company.ghe.com with your enterprise hostname. The Neovim config
adds a trailing slash if needed. Leave this variable unset to use public
GitHub (github.com).
After installing the updated Neovim config, restart Neovim so it picks up the environment variable, then re-authenticate:
- Run
:Copilot auth signoutto sign out of the previous account. - Run
:Copilot auth(or:Copilot auth signin) and complete the device flow at the URL shown in Neovim. For an enterprise instance, this should usehttps://company.ghe.com/login/device. - Run
:Copilot auth infoto check the authenticated account.
The Copilot language server stores credentials in
~/.config/github-copilot/auth.db (or under $XDG_CONFIG_HOME). If
re-authentication still uses the wrong account, sign out and retry after
confirming the environment variable is present in Neovim's process.
| Shortcut | Description |
|---|---|
Ctrl + v |
Vertical split from file under cursor |
Ctrl & w + Ctrl & q |
Close current window |
Ctrl & w + h,j,k,l |
Move between windows |
Ctrl & w + Ctrl & w |
Move to next window |
| 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 (signature) 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 |
| Shortcut | Description |
|---|---|
Visualize + S + character |
Add surrounding of "character" |
c + s + character |
Change surrounding of "character" |
d + s + character |
Delete surrounding of "character" |
Use Space + u to open the undotree.
| Shortcut | Description |
|---|---|
Space + o |
Create a new note in your Obsidian vault |
Configure vault path with :ObsidianHelper.
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 /) |
Grep search with Space + s + g and hit Ctrl & q to create quickfix list from it.
| Shortcut | Description |
|---|---|
] + q |
Next Quickfix |
[ + q |
Prev Quickfix |
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 (use shift) |
Ctrl & a + Space |
Toggle layouts |
Ctrl & a + c |
Create a new window |
Alt & h or l |
Move to window to the left or right |
Ctrl & a + s |
Attach to an existing session |
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.