Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Hidetoxin/dotfiles

My personal dotfiles managed by chezmoi
https://github.com/Hidetoxin/dotfiles

chezmoi neovim tmux tpm zinit

Last synced: about 2 months ago
JSON representation

My personal dotfiles managed by chezmoi

Awesome Lists containing this project

README

        

# :house: DOTFILES MANAGED BY CHEZMOI

## :wrench: INSTALLATION

To install these configuration files you need [chezmoi] installed on your system,
you'll also need to tweak the secrets as this repository is specific to my use
case. Once you tweaked the secrets you can just run the below command:

``` sh
chezmoi init hidetoxin/dotfiles
```

## :keyboard: SHORTCUTS

### :abcd: ZSH

| Key Combination | Key Effect |
|--------------------------------|----------------------------------------|
| Esc | switch to `vim` normal mode |
| Alt + c | bring [fzf] to do a `cd` |
| Ctrl + z | switch app background / foreground |
| Ctrl + g | bring [navi] with [fzf] |
| Ctrl + r | bring `history` with [fzf] |
| Ctrl + h | bring `history` with [mcfly] |
| Ctrl + t | recent files using [fzf] |

### :green_book: NVIM

| Key Combination | Key Effect |
|------------------------------------------------------------|---------------------------------------------------------|
| , | [neovim] leader key |
| " | show registers on NORMAL mode with `which-key` |
| Ctrl + r | show registers on INSERT mode with `which-key` |
| up | select window at the top |
| down | select window at the bottom |
| left | select window to the left side |
| right | select window to the right side |
| c s | start `vim-surround` replace |
| d s | remove `vim-surround` delimiters |
| Ctrl + \\ | toggle terminal using `toggleterm` |
| leader + b d | close current buffer |
| leader + b a | close all buffers |
| leader + q q | close everything |
| leader + l g | open [lazygit] on a floating terminal |
| leader + m d | open [glow] on a floating terminal |
| leader + h i | open [himalaya] on a floating terinal |
| leader + t w | toggle concentration mode with `twilight.nvim` |
| leader + t d | search _TODO_ using `Telescope` |
| leader + t t | toggle `nvim-tree.lua` on a left side panel |
| g + c c | toggle comments |
| leader + t d | open todo picker with `Telescope` |
| leader + e m | open emoji picker with `Telescope` |
| leader + n c | open yanks buffer with `Telescope` |
| leader + Enter | open buffer selected with `Telescope` |
| leader + g b | toggle git blame using `Gitsigns` |
| leader + g h | open [ghq] repositories with `Telescope` |
| leader + t s | open `tree-sitter` symbols with `Telescope` |
| leader + f f | open files on current folder with `Telescope` |
| leader + f b | open file browser on current folder with `Telescope` |
| leader + g f | open files on current `git` repository with `Telescope` |
| leader + r g | search using [ripgrep] with `Telescope` |
| leader + z l | open files using [zoxide] with `Telescope` |
| leader + m m | toggle [minimap] on a new tab |
| leader + v v | toggle `Vista` on a new tab |
| leader + n t | toggle numbers from `Numbers` |
| leader + n n | disable numbers from `Numbers` |
| leader leader + w | move to word on `EasyMotion` |
| leader leader + k | move to line forward on `EasyMotion` |
| leader leader + j | move to line downward on `EasyMotion` |

### :desktop_computer: TMUX

| Key Combination | Key Effect |
|----------------------------------------------|----------------------------------------------------|
| \` | [tmux] prefix key |
| prefix + d | detach from current session |
| prefix + x | close current pane |
| prefix + n | go to next pane |
| prefix + c | create a new window |
| prefix + s | select a session |
| prefix + z | zoom in current pane |
| prefix + u | bring [bitwarden] in a [fzf] pane |
| prefix + h | go to pane on the right |
| prefix + j | go to pane on the bottom |
| prefix + k | go to pane on the top |
| prefix + l | go to pane on the left |
| prefix + I | install [tpm] plugin manager |
| prefix + F | open [fzf] on a pop-up to search the [tmux] buffer |
| prefix + U | update [tpm] managed plugins |
| prefix + \| | split pane vertically |
| prefix + - | split pane horizontally |
| prefix + Tab | toggle sidebar with `tree` |
| prefix + Backspace | toggle sidebar with `tree` and focus |
| prefix + [ | start `copy-mode` |
| `copy-mode` + o | open selected text |
| `copy-mode` + S | open selected text on `$EDITOR` |
| `copy-mode` + Ctrl + o | search selected text on DuckDuckGo |
| `copy-mode` + Space | start selecting text to yank |

### :japanese_ogre: YABAI

| Key Combination | Key Effect |
|------------------------------------------------------------------------|---------------------------------------------|
| Alt + space | [skhd] modal key |
| modal + b | switch to bar mode |
| modal + g | switch to grid mode |
| modal + s | switch to swap mode |
| modal + w | switch to warp mode |
| modal + m | switch to move mode |
| modal + f | switch to focus mode |
| modal + r | switch to resize mode |
| bar + left | toggle bar left item |
| bar + right | toggle bar right item |
| grid + d | destroy desktop |
| grid + w | create desktop and follow focus |
| grid + t | toggle float window |
| grid + k | make float window fill screen |
| grid + h | make float window fill left half of screen |
| grid + l | make float window fill right half of screen |
| grid + p | toggle sticky, float and resize in pip |
| grid + B | balance windows |
| grid + a | toggle padding |
| grid + z | toggle window parent zoom |
| grid + c | toggle window full-screen zoom |
| grid + n | toggle window native zoom |
| grid + e | toggle window split type |
| grid + B | toggle window border |
| grid + S | toggle sticky |
| grid + A | toggle bsp layout |
| grid + D | toggle float layout |
| swap + h | swap window to the left |
| swap + j | swap window to the bottom |
| swap + k | swap window to the top |
| swap + l | swap window to the right |
| swap + a | rotate window around |
| swap + x | rotate window on *x* axis |
| swap + y | rotate window on *y* axis |
| warp + h | warp window to the left |
| warp + j | warp window to the bottom |
| warp + k | warp window to the top |
| warp + l | warp window to the right |
| move + w | create desktop, move and focus |
| move + h | move window to the left |
| move + j | move window to the bottom |
| move + k | move window to the top |
| move + l | move window to the right |
| move + H | insert window to the left |
| move + J | insert window to the bottom |
| move + K | insert window to the top |
| move + L | insert window to the right |
| move + cmd + x | move to last display and focus |
| move + cmd + c | move to next display and focus |
| move + cmd + z | move to previous display and focus |
| move + cmd + 0-9 | move to display 1-10 and focus |
| move + x | move window to last desktop |
| move + c | move window to next desktop |
| move + z | move window to previous desktop |
| move + cmd + lalt + 0-9 | move window to space 1-10 and focus |
| move + cmd + lshift + 0-9 | move window to space 11-20 and focus |
| move + cmd + ralt + 0-9 | move window to space 21-30 and focus |
| move + cmd + rshift + 0-9 | move window to space 31-40 and focus |
| focus + h | focus window on the left |
| focus + j | focus window on the bottom |
| focus + k | focus window on the top |
| focus + l | focus window on the right |
| focus + cmd + lalt + 0-9 | focus space 1-10 |
| focus + cmd + lshift + 0-9 | focus space 11-20 |
| focus + cmd + ralt + 0-9 | focus space 21-30 |
| focus + cmd + rshift + 0-9 | focus space 31-40 |
| focus + x | focus last display |
| focus + c | focus next display |
| focus + z | focus previous display |
| focus + 0-9 | focus display 1-10 |
| resize + h | increase window size to the left |
| resize + j | increase window size to the bottom |
| resize + k | increase window size to the top |
| resize + l | increase window size to the right |
| resize + H | decrease window size to the left |
| resize + J | decrease window size to the bottom |
| resize + K | decrease window size to the top |
| resize + L | decrease window size to the right |

## :art: GUI APPLICATIONS

This repository manages my configuration for the below *GUI* applications:

* [skhd] - hotkey daemon for *macOS*
* [yabai] - window management utility for *macOS*
* [kitty] - fast *GPU* based terminal-emulator
* [alacritty] - fast *GPU* based terminal-emulator written in [rust]
* [sketchybar] - status bar for *macOS*

[skhd]: https://github.com/koekeishiya/skhd
[yabai]: https://github.com/koekeishiya/yabai
[kitty]: https://github.com/kovidgoyal/kitty
[sketchyar]: https://github.com/felixkratz/sketchybar
[alacritty]: https://github.com/alacritty/alacritty

## :computer: CLI APPLICATIONS

---

This repository manages my configuration for the below *CLI* applications and
plugins:

* [sd] - better `sed` replacement written in [rust]
* [fd] - better `find` replacement written in [rust]
* [jq] - command-line JSON parser written in [c]
* [xh] - better `curl` / `wget` replacement written in [rust]
* [exa] - better `ls` replacement written in [rust]
* [bat] - better `less` replacement written in [rust]
* [dog] - better `dig` replacement written in [rust]
* [duf] - disk usage utility written in [go]
* [tpm] - `tmux` plugin manager
* [aws] - tool for managing aws cloud
* [fzf] - general-purpose command-line fuzzy finder written in [go
* [zsh] - better interactive shell and replacement for `bash`
* [bat] - better `cat` replacement written in [rust]
* [dust] - better `du` replacement written in [rust]
* [navi] - interactive cheat-sheet tool for the command-line
* [tmux] - terminal multiplexer
* [p10k] - `zsh` theme for prompt
* [cheat] - better `man` replacement written in [go]
* [delta] - `git` / `diff` viewer written in [go]
* [gping] - better `ping` replacement written in [rust]
* [procs] - better `ps` replacement written in [rust]
* [goenv] - virtual environment manager for [go]
* [pyenv] - virtual environment manager for [python]
* [rbenv] - virtual environment manager for [ruby]
* [zinit] - `zsh` plugin manager
* [vivid] - tool for setting-up `ls` colors
* [mcfly] - `fzf` like tool for searching history written in [rust]
* [neovim] - `vim` re-written replacement
* [bottom] - better `top` replacement written in [rust]
* [choose] - better `awk` / `cut` replacement written in [rust]
* [gpg-tui] - `gpg` *TUI* front-end written in [rust]
* [lazygit] - `git` *TUI* front-end written in [go]
* [minimap] - `vscode` like minimap for `nvim` written in [rust]
* [ripgrep] - better `grep` replacement written in [rust]
* [chezmoi] - dot files manager utility written in [go]
* [thefuck] - corrects errors in previous commands
* [tealdeer] - better `man` replacement written in [rust]
* [bitwarden] - tool for managing secrets
* [aws-vault] - tool for fetching aws credentials using sso
* [tmuxinator] - `tmux` session manager
* [pre-commit] - tool to manage `git` hooks
* [commitizen] - tool to validate `git` commit messages
* [spotify-tui] - *TUI* front-end for spotify
* [taskwarrior] - task management utility
* [taskwarrior-tui] - *TUI* front-end for [taskwarrior] written in [rust]

[sd]: https://github.com/chmln/sd
[xh]: https://github.com/ducaale/xh
[fd]: https://github.com/sharkdp/fd
[jq]: https://github.com/stedolan/jq
[aws]: https://github.com/aws/aws-cli
[bat]: https://github.com/sharkdp/bat
[dog]: https://github.com/ogham/dog
[duf]: https://github.com/muesli/duf
[exa]: https://github.com/ogham/exa
[tpm]: https://github.com/tmux-plugins/tpm
[fzf]: https://github.com/junegunn/fzf
[zsh]: https://github.com/ohmyzsh/ohmyzsh
[bat]: https://github.com/sharkdp/bat
[dust]: https://github.com/bootandy/dust
[navi]: https://github.com/denisidoro/navi
[tmux]: https://github.com/tmux/tmux
[glow]: https://github.com/charmbracelet/glow
[p10k]: https://github.com/romkatv/powerlevel10k
[cheat]: https://github.com/cheat/cheat
[delta]: https://github.com/dandavison/delta
[gping]: https://github.com/orf/gping
[goenv]: https://github.com/syndbg/goenv
[rbenv]: https://github.com/rbenv/rbenv
[pyenv]: https://github.com/pyenv/pyenv
[zinit]: https://github.com/zdharma/zinit
[vivid]: https://github.com/sharkdp/vivid
[mcfly]: https://github.com/cantino/mcfly
[procs]: https://github.com/dalance/procs
[choose]: https://github.com/theryangeary/choose
[bottom]: https://github.com/https://github.com/ClementTsang/bottom
[neovim]: https://github.com/neovim/neovim
[zoxide]: https://github.com/ajeetdsouza/zoxide
[gpg-tui]: https://github.com/orhun/gpg-tui
[minimap]: https://github.com/wfxr/code-minimap
[lazygit]: https://github.com/jesseduffield/lazygit
[ripgrep]: https://github.com/BurntSushi/ripgrep
[chezmoi]: https://github.com/twpayne/chezmoi
[thefuck]: https://github.com/nvbn/thefuck
[tealdeer]: https://github.com/dbrgn/tealdeer
[himalaya]: https://github.com/soywod/himalaya
[aws-vault]: https://github.com/99designs/aws-vault
[bitwarden]: https://github.com/bitwarden/cli
[commitizen]: https://github.com/commitizen/cz-cli
[pre-commit]: https://github.com/pre-commit/pre-commit
[tmuxinator]: https://github.com/tmuxinator/tmuxinator
[spotify-tui]: https://github.com/Rigellute/spotify-tui
[timewarrior]: https://github.com/GothenburgBitFactory/timewarrior
[taskwarrior]: https://github.com/GothenburgBitFactory/taskwarrior
[taskwarrior-tui]: https://github.com/kdheepak/taskwarrior-tui

## :thought_balloon: INSPIRATION

* [Reddit's r/cli]
* [Reddit's r/vimporn]
* [Reddit's r/unixporn]
* [Reddit's r/commandline]
* [Vim Galore]
* [Awesome Privacy]
* [Rootknecht's CLI]
* [Open Source Mac Apps]
* [Top Command Line Tools]
* [Cool But Obscure Unix Tools]

[Reddit's r/cli]: https://www.libredd.it/r/cli
[Reddit's r/vimporn]: https://www.libredd.it/r/vimporn
[Reddit's r/unixporn]: https://www.libredd.it/r/unixporn
[Reddit's r/commandline]: https://www.libredd.it/r/commandline
[Vim Galore]: https://github.com/mhinz/vim-galore
[Awesome Privacy]: https://github.com/pluja/awesome-privacy
[Rootknecht's CLI]: https://rootknecht.net/knowledge/applications/cli/
[Open Source Mac Apps]: https://www.oss.wiki/
[Top Command Line Tools]: https://stackify.com/top-command-line-tools
[Cool But Obscure Unix Tools]: https://kkovacs.eu/cool-but-obscure-unix-tools

## :white_check_mark: TODO

- [ ] Fix fzf-tab plugin
- [ ] Add mpv configuration
- [ ] Add alsa configuration
- [ ] Add xplr configuration
- [ ] Add buku configuration
- [ ] Add siggo configuration
- [ ] Add sn-cli configuration
- [ ] Fix sotrmssh configuration
- [ ] Fix newsboat configuration
- [ ] Add infracost configuration
- [ ] Fix sketchybar configuration

[//]: # (Additional links for reference)

[go]: https://github.com/golang/go
[rust]: https://github.com/rust-lang/rust
[ruby]: https://github.com/ruby/ruby
[python]: htttps://github.com/python