Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sainnhe/dotfiles

My Dotfiles (Containerized)
https://github.com/sainnhe/dotfiles

container docker dotfiles neovim tmux vim zsh

Last synced: about 1 month ago
JSON representation

My Dotfiles (Containerized)

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 Tools

Currently, 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