Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikededo/.dotfiles
Dotfiles when I'm distro hopping.
https://github.com/mikededo/.dotfiles
dotfiles fish lazyvim lua neovim
Last synced: 2 months ago
JSON representation
Dotfiles when I'm distro hopping.
- Host: GitHub
- URL: https://github.com/mikededo/.dotfiles
- Owner: mikededo
- Created: 2021-08-14T12:49:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T06:15:06.000Z (3 months ago)
- Last Synced: 2024-09-17T08:48:26.804Z (3 months ago)
- Topics: dotfiles, fish, lazyvim, lua, neovim
- Language: Lua
- Homepage:
- Size: 319 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
~/.dotfiles
Personal dotfiles to keep the important configurations whenever I change the
OS. Currently, using MacOs devices, therefore the `main` branch contains the
configurations for such devices.> Note that the other branches may not be as maintained nor up to date as the
> `main` branch.## Set up
You can run the `./setup.sh` script which will initialise the OS by adding the
moving the packages. It uses `stow`, therefore make sure it is installed. It
requires other packages, such as `git`, `nvim` and `curl`. In case one of
the dependencies it is not found, the execution will stop.
It installs `nvm` as a `node` and `npm` version manager, but it can easily be
removed by removing the `$HOME/.nvm` folder.> As soon as possible, the script will be migrated to a `lua` script in order to
provide a more customizable installation.## fish && kitty
As well as installing `fish`, the `./setup.sh` script will also install the
[`fisher`](https://git.io/fisher) plugin manager. With it, I recommend
installing the following plugins:- `plugin-kubectl`: adds simliar aliases as the kubectl plugin for zsh.
> Completions can be installed from most executables (`gh`, `cargo`, `volta`...)
> and should be stored in `~/.config/fish/completions/.fish`.
> Docker does not provide a `completion(s)` command. Use the following command
> to run:```sh
curl -sS https://raw.githubusercontent.com/docker/cli/master/contrib/completion/fish/docker.fish \
> .config/fish/completions/docker.fish
```## Starship
Using `starship`, I have a shared prompt configuration. Since it is exclusively
for the prompt, it does not include any sort of plugin configuration.> Configuration can be found in `./starship/.config/starship.toml`.
## Neovim
The Neovim configuration is built upon
[`NvChad`](https://github.com/NvChad/NvChad). It adds a couple of plugins to
deal with formating and the required configurations for the LSP server.> You can find and modify LSP configurations in the
> [NvChad custom config folder](./nvim/.config/nvim/lua/custom/plugins).Currently, the LSP is set up for:
- Bash (it has a very simple completion).
- Docker
- Go
- Rust
- JavaScript, Typescript and TailwindCSS
- Yaml (including k8s), JSONIt includes diagnostics as well as formatting for each LSP. All required LSP are
installed through the Mason plugin, meaning they will all be installed on
launching `MasonInstallAll`. Same for TreeSitter language highlights, which
has defined the required languages.> You can modify the formatting options in the
> [`formatter.lua`](./nvim/.config/nvim/lua/custom/plugins/user/formatter.lua).Currently using a minimally modified [NvChad](https://github.com/NvChad/NvChad)
set up. The goal is to add the plugins required in order to make it fully
functional both for front and back end development.