Update docs/tech_docs/linux/system_setup.md

This commit is contained in:
2024-03-10 19:38:05 +00:00
parent 501dbc7ff1
commit 1a7c75ab4e

View File

@@ -1,3 +1,65 @@
Streamlining the guide further, we aim for precision and clarity, targeting users well-versed in Linux environments. The revised guide focuses on setting up i3, TMUX, and Vim on Debian 12, incorporating a clean approach to dotfiles management with GNU Stow.
# Efficient Setup of i3, TMUX, and Vim on Debian 12
This guide is tailored for experienced Linux users looking to establish a keyboard-centric development environment on Debian 12 (Bookworm) using i3, TMUX, and Vim, complemented by efficient dotfiles management with GNU Stow.
## System Preparation
**Update and Install Essential Packages:**
```bash
sudo apt update && sudo apt upgrade -y
sudo apt install git curl build-essential stow i3 tmux vim -y
```
## Environment Setup
### i3
- Install i3 and reload your session. Choose your mod key (usually Super/Windows) when prompted during the first i3 startup.
- Customize i3 by editing `~/.config/i3/config`, tailoring keybindings and settings.
### TMUX
- Launch TMUX with `tmux` and configure it by editing `~/.tmux.conf` to fit your workflow, ensuring harmony with i3 keybindings.
### Vim
- Start Vim and adjust `~/.vimrc` for your development needs. Consider plugin management solutions like `vim-plug` for extended functionality.
## Dotfiles Management with GNU Stow
1. **Organize Configurations**: Create a `~/dotfiles` directory. Inside, segregate configurations into application-specific folders (i3, TMUX, Vim).
2. **Apply Stow**: Use GNU Stow from the `~/dotfiles` directory to symlink configurations to their respective locations.
```bash
stow i3 tmux vim
```
3. **Version Control**: Initialize a Git repository in `~/dotfiles` for easy management and replication of your configurations.
## Automation
- **Scripting**: Create a `setup.sh` script in `~/dotfiles` to automate the installation and configuration process for new setups. Ensure the script is executable with `chmod +x setup.sh`.
## Key Tips
- Use i3 workspaces for project-specific tasks.
- Employ TMUX for terminal session management within i3 windows.
- Master Vim keybindings for efficient code editing.
## Additional Tools
Consider enhancing your setup with `i3blocks` or `polybar` for status bar customization, and explore terminal emulators like `gnome-terminal`, `alacritty`, or `urxvt` for better integration with your environment.
## Conclusion
Adopting this setup on Debian 12 provides a streamlined, efficient development environment. Leveraging i3, TMUX, and Vim in conjunction with GNU Stow for dotfiles management enhances productivity, offering a powerful, keyboard-driven user experience for seasoned Linux enthusiasts.
---
# Streamlined Guide for Setting Up i3, TMUX, and Vim on Debian 12
This guide provides a straightforward approach to setting up a highly efficient development environment on Debian 12 (Bookworm) using i3 window manager, TMUX, and Vim. It's tailored for users who value keyboard-driven productivity and minimalism.