Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sainnhe/dotfiles
My Dotfiles (Containerized)
https://github.com/sainnhe/dotfiles
container docker dotfiles neovim tmux vim zsh
Last synced: 3 months ago
JSON representation
My Dotfiles (Containerized)
- Host: GitHub
- URL: https://github.com/sainnhe/dotfiles
- Owner: sainnhe
- License: other
- Created: 2018-12-20T03:16:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T10:19:46.000Z (3 months ago)
- Last Synced: 2024-08-03T11:23:16.155Z (3 months ago)
- Topics: container, docker, dotfiles, neovim, tmux, vim, zsh
- Language: Shell
- Homepage:
- Size: 2.47 MB
- Stars: 219
- Watchers: 8
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-Anti-996
Awesome Lists containing this project
README
## Gallery
![demo-1](https://gitlab.com/sainnhe/img/-/raw/master/dotfiles-1.png)
![demo-2](https://gitlab.com/sainnhe/img/-/raw/master/dotfiles-2.png)
![demo-3](https://gitlab.com/sainnhe/img/-/raw/master/dotfiles-3.png)
## About
This repository contains my personal configuration files for development on Windows && macOS && Linux.
It's not recommended to directly copy my configs, unless you know what they mean. Google and the manual pages are your best friends when exploring the open source world.
If you want to have a look at my vim configs, check out [sainnhe.txt](./.config/nvim/doc/sainnhe.txt).
For portable development, I bundled my dotfiles and development tools into a container image. You can try it out if you have podman or docker installed.
The container image is based on alpine and will be built on schedule. It features the following:
- Vim/Neovim
- Zsh
- Tmux
- Some UNIX Development ToolsCurrently, it supports two architectures:
- `amd64`
- `arm64`To run it, install podman or docker and run this command:
```shell
podman run -it --rm /sainnhe/dotfiles:latest
```Where `` is one of the following:
- [`ghcr.io`](https://github.com/sainnhe/dotfiles/pkgs/container/dotfiles)
- [`quay.io`](https://quay.io/repository/sainnhe/dotfiles)To access local directory in the container, use:
```shell
podman run -v :/root/work -it --rm sainnhe/dotfiles:latest
```Where `` is the path of the directory you want to access on your local machine.
## Tips
- Don't forget to install nerd font for your terminal emulator.
- Execute `tmuxinit` in zsh to start a tmux session.
- Press Ctrl-Space twice to launch tmux-fzf which can help you better manage tmux environment.
- Execute `colorscheme` in zsh to switch color schemes.
- Press Space in Vim/Neovim normal mode to get a set of shortcuts.
- Type `:h sainnhe.txt` in vim to read the user manual.## License
[MIT](./LICENSE-MIT) && [Anti-996](./LICENSE-Anti-996) © sainnhe