https://github.com/trafitto/my-shortcuts
Shortcuts & Aliases I Don't Want to Forget
https://github.com/trafitto/my-shortcuts
Last synced: 5 months ago
JSON representation
Shortcuts & Aliases I Don't Want to Forget
- Host: GitHub
- URL: https://github.com/trafitto/my-shortcuts
- Owner: Trafitto
- Created: 2025-07-03T12:29:27.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-09-24T11:38:39.000Z (9 months ago)
- Last Synced: 2025-09-24T13:25:22.008Z (9 months ago)
- Size: 170 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shortcuts & Aliases I Don't Want to Forget
This document collects the main keyboard shortcuts and configurations I use in my development environment.
## 🖥️ Basic Setup
- **Operating System**: Ubuntu
- **Window Manager**: Pop Shell
- **Terminal Emulator**: Kitty
- **Shell**: Zsh with Oh-My-Zsh
## ⌨️ Kitty Terminal Shortcuts
| Action | Shortcut |
|--------------------------|-------------------------|
| Open a new tab | `Ctrl + Shift + T` |
| Switch to next tab | `Ctrl + Shift + →` |
| Switch to previous tab | `Ctrl + Shift + ←` |
| Close current tab | `Ctrl + Shift + Q` |
| Split horizontally | `Ctrl + Shift + O` |
| Close split or terminal | `Ctrl + Shift + w` |
## Tmux
| Action | Shortcut |
|--------------------------|------------------------------------------|
| Start tmux | `tmux` |
| Create a named session | `tmux new -s "session name"` |
| Show tmux session | `tmux ls` |
| Attach a session | `tmux a -t "session name"` |
| Close session | `tmux kill-session -t "session name" ` |
## 🪟 Pop Shell Keyboard Shortcuts
| Action | Shortcut |
|------------------------------------------------|---------------------------|
| Maximize window | `Super + M` |
| Minimize window | `Super + ,` |
| Toggle floating mode | `Super + Y` |
| Minimize all window | `Super + D` |
| Close window | `Super + Q` |
| Toggle notifications menu | `Super + V` |
| Open a terminal | `Super + T` |
| Open Files | `Super + F` |
| Move focus to the left window | `Super + Left Arrow` |
| Move focus to the right window | `Super + Right Arrow` |
| Move focus to the window above | `Super + Up Arrow` |
| Move focus to the window below | `Super + Down Arrow` |
| Enter window adjustment mode | `Super + enter` |
| In window adjust mode change window dimension | `shif + arrow key` |
## 🐚 Shell Configuration
### Oh-My-Zsh Setup
**Theme:**
```bash
ZSH_THEME="af-magic"
```
**Plugins:**
```bash
plugins=(git docker docker-compose gcloud kubectl nvm zsh-autosuggestions zsh-syntax-highlighting)
```
### Environment Variables
| Variable | Value | Description |
|-----------------|-----------------|--------------------------------|
| `KUBE_EDITOR` | `"code -w"` | Default editor for kubectl |
## 🔧 Useful Aliases
### General & System
| Alias | Command | Description |
|--------------------|------------------------------------------------------|---------------------------------------|
| `editzshrc` | `code -w ~/.zshrc` | Edit zsh configuration file |
| `changeterminal` | `sudo update-alternatives --config x-terminal-emulator` | Change default terminal emulator |
### Git
| Alias | Command | Description |
|-----------|--------------|------------------------|
| `gis` | `git status` | Quick git status check |
### Python Development
| Alias | Command | Description |
|----------------|--------------------------------|--------------------------------|
| `createenv` | `python3 -m venv .venv` | Create Python virtual environment |
| `activateenv` | `source .venv/bin/activate` | Activate Python virtual environment |
### Docker
| Alias | Command | Description |
|-------------|--------------------------------------|------------------------------|
| `dockclose` | `docker ps -a -q \| xargs -r docker stop` | Stop all Docker containers |
### Hardware & Custom Keyboard
| Alias | Command | Description |
|----------------|--------------------------------|------------------------------------------------|
| `enablewbhid` | `sudo chmod 0666 /dev/hidraw*` | Enable WebHID for [custom keyboard](https://shop.yushakobo.jp/products/ergo68?srsltid=AfmBOooudKzfT2ei_vvEQ10X4z9P25RyCY7CwjRBGARdegu56czVlCKU) remapping |
> **Note**: The `enablewbhid` alias is needed before using [Remap](https://remap-keys.app/) to configure the custom keyboard layout.