mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-01 14:47:31 +00:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c9edd4bf84 | |||
| 1023228ddc | |||
| 8f8851d08f | |||
| 2b06642e4b | |||
|
|
52cbebc0b3 | ||
| 2b64164f2b | |||
| 7c8fb993a2 | |||
|
|
e745583f07 | ||
| 5762d57eb1 | |||
|
|
4b1d860cb5 | ||
|
|
288580c150 |
BIN
.github/screenshots/tmux-nvim-astronvim.png
vendored
Normal file
BIN
.github/screenshots/tmux-nvim-astronvim.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
BIN
.github/screenshots/tmux-starship.png
vendored
Normal file
BIN
.github/screenshots/tmux-starship.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
66
Brewfile
66
Brewfile
@@ -379,3 +379,69 @@ mas "Keynote", id: 409183694
|
|||||||
mas "Numbers", id: 409203825
|
mas "Numbers", id: 409203825
|
||||||
mas "Pages", id: 409201541
|
mas "Pages", id: 409201541
|
||||||
mas "Tailscale", id: 1475387142
|
mas "Tailscale", id: 1475387142
|
||||||
|
vscode "akamud.vscode-theme-onelight"
|
||||||
|
vscode "amiralizadeh9480.laravel-extra-intellisense"
|
||||||
|
vscode "andrewleedham.vscode-css-modules"
|
||||||
|
vscode "andrewmcodes.tailwindcss-extension-pack"
|
||||||
|
vscode "austenc.tailwind-docs"
|
||||||
|
vscode "bmewburn.vscode-intelephense-client"
|
||||||
|
vscode "Box-Of-Hats.bemhelper"
|
||||||
|
vscode "bradlc.vscode-tailwindcss"
|
||||||
|
vscode "christian-kohler.npm-intellisense"
|
||||||
|
vscode "DavidAnson.vscode-markdownlint"
|
||||||
|
vscode "dbaeumer.vscode-eslint"
|
||||||
|
vscode "DotJoshJohnson.xml"
|
||||||
|
vscode "eamodio.gitlens"
|
||||||
|
vscode "EditorConfig.EditorConfig"
|
||||||
|
vscode "esbenp.prettier-vscode"
|
||||||
|
vscode "formulahendry.auto-close-tag"
|
||||||
|
vscode "formulahendry.code-runner"
|
||||||
|
vscode "gencer.html-slim-scss-css-class-completion"
|
||||||
|
vscode "github.vscode-github-actions"
|
||||||
|
vscode "GitHub.vscode-pull-request-github"
|
||||||
|
vscode "GraphQL.vscode-graphql"
|
||||||
|
vscode "GraphQL.vscode-graphql-execution"
|
||||||
|
vscode "GraphQL.vscode-graphql-syntax"
|
||||||
|
vscode "heybourn.headwind"
|
||||||
|
vscode "JohnnyMorganz.stylua"
|
||||||
|
vscode "jumpinjackie.vscode-map-preview"
|
||||||
|
vscode "k--kato.intellij-idea-keybindings"
|
||||||
|
vscode "liamhammett.inline-parameters"
|
||||||
|
vscode "macieklad.tailwind-sass-syntax"
|
||||||
|
vscode "MehediDracula.php-namespace-resolver"
|
||||||
|
vscode "mikestead.dotenv"
|
||||||
|
vscode "MrChetan.phpstorm-parameter-hints-in-vscode"
|
||||||
|
vscode "mrorz.language-gettext"
|
||||||
|
vscode "ms-azuretools.vscode-docker"
|
||||||
|
vscode "ms-python.python"
|
||||||
|
vscode "ms-python.vscode-pylance"
|
||||||
|
vscode "ms-toolsai.jupyter"
|
||||||
|
vscode "ms-toolsai.jupyter-renderers"
|
||||||
|
vscode "ms-toolsai.vscode-jupyter-cell-tags"
|
||||||
|
vscode "ms-toolsai.vscode-jupyter-slideshow"
|
||||||
|
vscode "ms-vscode-remote.remote-containers"
|
||||||
|
vscode "ms-vscode-remote.remote-wsl"
|
||||||
|
vscode "ms-vscode.cpptools"
|
||||||
|
vscode "msjsdiag.vscode-react-native"
|
||||||
|
vscode "mtxr.sqltools"
|
||||||
|
vscode "neilbrayfield.php-docblocker"
|
||||||
|
vscode "nemesarial.dust"
|
||||||
|
vscode "nhoizey.gremlins"
|
||||||
|
vscode "octref.vetur"
|
||||||
|
vscode "oderwat.indent-rainbow"
|
||||||
|
vscode "pflannery.vscode-versionlens"
|
||||||
|
vscode "phiter.phpstorm-snippets"
|
||||||
|
vscode "SonarSource.sonarlint-vscode"
|
||||||
|
vscode "stylelint.vscode-stylelint"
|
||||||
|
vscode "syler.sass-indented"
|
||||||
|
vscode "timonwong.shellcheck"
|
||||||
|
vscode "tootone.org-mode"
|
||||||
|
vscode "valeryanm.vscode-phpsab"
|
||||||
|
vscode "Vue.volar"
|
||||||
|
vscode "WakaTime.vscode-wakatime"
|
||||||
|
vscode "wix.vscode-import-cost"
|
||||||
|
vscode "xdebug.php-debug"
|
||||||
|
vscode "xdebug.php-pack"
|
||||||
|
vscode "yinfei.luahelper"
|
||||||
|
vscode "yoavbls.pretty-ts-errors"
|
||||||
|
vscode "ZainChen.json"
|
||||||
|
|||||||
67
README.md
67
README.md
@@ -17,12 +17,26 @@ fork or download the repo as a zip and go from there with your own configs.
|
|||||||
3. ???
|
3. ???
|
||||||
4. Profit
|
4. Profit
|
||||||
|
|
||||||
|
### Updates
|
||||||
|
|
||||||
|
`cd $HOME/.dotfiles && git pull && ./install`
|
||||||
|
|
||||||
|
## The looks
|
||||||
|
|
||||||
|
## tmux with starship, the default view
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## tmux + nvim (astronvim) editing this repository
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Interesting files and locations
|
## Interesting files and locations
|
||||||
|
|
||||||
### Interesting folders
|
### Interesting folders
|
||||||
|
|
||||||
| Path | Description |
|
| Path | Description |
|
||||||
| ------------------- | -------------------------------------------- |
|
|---------------------|----------------------------------------------|
|
||||||
| `.github` | GitHub Repository configuration files. |
|
| `.github` | GitHub Repository configuration files. |
|
||||||
| `hosts/{hostname}/` | Configs that should apply to that host only. |
|
| `hosts/{hostname}/` | Configs that should apply to that host only. |
|
||||||
| `local/bin` | Helper scripts that I've collected or wrote. |
|
| `local/bin` | Helper scripts that I've collected or wrote. |
|
||||||
@@ -31,7 +45,7 @@ fork or download the repo as a zip and go from there with your own configs.
|
|||||||
### dotfile folders
|
### dotfile folders
|
||||||
|
|
||||||
| Repo | Destination | Description |
|
| Repo | Destination | Description |
|
||||||
| --------- | ----------- | ------------------------------------------- |
|
|-----------|-------------|---------------------------------------------|
|
||||||
| `base/` | `.*` | `$HOME` level files. |
|
| `base/` | `.*` | `$HOME` level files. |
|
||||||
| `config/` | `.config/` | Configurations for applications. |
|
| `config/` | `.config/` | Configurations for applications. |
|
||||||
| `local/` | `.local/` | XDG Base folder: `bin`, `share` and `state` |
|
| `local/` | `.local/` | XDG Base folder: `bin`, `share` and `state` |
|
||||||
@@ -47,32 +61,30 @@ The folder structure follows [XDG Base Directory Specification][xdg] where possi
|
|||||||
|
|
||||||
### XDG Variables
|
### XDG Variables
|
||||||
|
|
||||||
| Var | Default |
|
| Env | Default |
|
||||||
| ------------------ | -------------------- |
|
|--------------------|----------------------|
|
||||||
|
| `$XDG_BIN_HOME` | `$HOME/.local/bin` |
|
||||||
|
| `$XDG_CONFIG_HOME` | `$HOME/.config` |
|
||||||
| `$XDG_DATA_HOME` | `$HOME/.local/share` |
|
| `$XDG_DATA_HOME` | `$HOME/.local/share` |
|
||||||
| `$XDG_STATE_HOME` | `$HOME/.local/state` |
|
| `$XDG_STATE_HOME` | `$HOME/.local/state` |
|
||||||
| `$XDG_CONFIG_HOME` | `$HOME/.config` |
|
|
||||||
| `$XDG_BIN_HOME` | `$HOME/.local/bin` |
|
|
||||||
|
|
||||||
- `$XDG_BIN_HOME` is a custom `env` for `.local/bin` folder.
|
- `$XDG_BIN_HOME` defines directory that contains local binaries.
|
||||||
- `$XDG_DATA_HOME` defines the base directory relative to which user-specific data
|
- `$XDG_DATA_HOME` defines the base directory relative to which user-specific data
|
||||||
files should be stored. If `$XDG_DATA_HOME` is either not set or empty,
|
files should be stored.
|
||||||
a default equal to `$HOME/.local/share` should be used.
|
- If `$XDG_DATA_HOME` is either not set or empty, a default equal to
|
||||||
- `$XDG_CONFIG_HOME` defines the base directory relative to which user-specific configuration
|
`$HOME/.local/share` should be used.
|
||||||
files should be stored. If `$XDG_CONFIG_HOME` is either not set or empty,
|
- `$XDG_CONFIG_HOME` defines the base directory relative to which user-specific
|
||||||
a default equal to `$HOME/.config` should be used.
|
configuration files should be stored.
|
||||||
|
- If `$XDG_CONFIG_HOME` is either not set or empty, a default equal to `$HOME/.config` should be used.
|
||||||
- `$XDG_STATE_HOME` defines the base directory relative
|
- `$XDG_STATE_HOME` defines the base directory relative
|
||||||
to which user-specific state files should be stored.
|
to which user-specific state files should be stored.
|
||||||
If `$XDG_STATE_HOME` is either not set or empty, a default
|
- If `$XDG_STATE_HOME` is either not set or empty, a default equal to `$HOME/.local/state` should be used.
|
||||||
equal to `$HOME/.local/state` should be used.
|
- The `$XDG_STATE_HOME` contains state data that should persist between (application) restarts,
|
||||||
- The `$XDG_STATE_HOME` contains state data that should persist
|
but that is not important or portable enough to the user that it should be stored in `$XDG_DATA_HOME`.
|
||||||
between (application) restarts,
|
- It may contain:
|
||||||
but that is not important or portable enough to the user that
|
- actions history (logs, history, recently used files, …)
|
||||||
it should be stored in `$XDG_DATA_HOME`.
|
- current state of the application that can be reused
|
||||||
It may contain:
|
on a restart (view, layout, open files, undo history, …)
|
||||||
- actions history (logs, history, recently used files, …)
|
|
||||||
- current state of the application that can be reused
|
|
||||||
on a restart (view, layout, open files, undo history, …)
|
|
||||||
- User-specific executable files may be stored in `$HOME/.local/bin`.
|
- User-specific executable files may be stored in `$HOME/.local/bin`.
|
||||||
Distributions should ensure this directory shows up in the UNIX `$PATH`
|
Distributions should ensure this directory shows up in the UNIX `$PATH`
|
||||||
environment variable, at an appropriate place.
|
environment variable, at an appropriate place.
|
||||||
@@ -81,14 +93,3 @@ The folder structure follows [XDG Base Directory Specification][xdg] where possi
|
|||||||
The directories in `$XDG_DATA_DIRS` should be seperated with a colon ':'.
|
The directories in `$XDG_DATA_DIRS` should be seperated with a colon ':'.
|
||||||
|
|
||||||
[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
||||||
|
|
||||||
## Interesting links
|
|
||||||
|
|
||||||
### Interesting dotfiles repos
|
|
||||||
|
|
||||||
- [dotfiles.github.io/inspiration/](https://dotfiles.github.io/inspiration)
|
|
||||||
- [frdmn/dotfiles](https://github.com/github.com/frdmn/dotfiles) - Ansible-based
|
|
||||||
dotfile setup for macOS
|
|
||||||
- [mvdan/dotfiles](https://github.com/mvdan/dotfiles) - Here be dragons
|
|
||||||
- [vsouza/dotfiles](https://github.com/vsouza/dotfiles) - 🏡 My dotfiles
|
|
||||||
- [freekmurze/dotfiles](https://github.com/freekmurze/dotfiles) - My personal dotfiles
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ colors
|
|||||||
setopt correct
|
setopt correct
|
||||||
|
|
||||||
# Add completion scripts to zsh path
|
# Add completion scripts to zsh path
|
||||||
fpath=(~/.config/zsh/completion $fpath)
|
FPATH="~/.config/zsh/completion:$FPATH"
|
||||||
autoload -Uz compinit && compinit -i
|
autoload -Uz compinit && compinit -i
|
||||||
|
|
||||||
# Defaults
|
# Defaults
|
||||||
@@ -49,4 +49,3 @@ have starship && eval "$(starship init zsh)"
|
|||||||
|
|
||||||
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh ] \
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh ] \
|
||||||
&& source "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh
|
&& source "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.zsh
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
return { -- Add the community repository of plugin specifications
|
return {
|
||||||
"AstroNvim/astrocommunity", -- example of imporing a plugin, comment out to use it or add your own
|
-- Add the community repository of plugin specifications
|
||||||
|
"AstroNvim/astrocommunity",
|
||||||
|
-- example of imporing a plugin, comment out to use it or add your own.
|
||||||
-- available plugins can be found at
|
-- available plugins can be found at
|
||||||
-- https://github.com/AstroNvim/astrocommunity
|
-- https://github.com/AstroNvim/astrocommunity
|
||||||
{
|
{
|
||||||
@@ -27,7 +29,7 @@ return { -- Add the community repository of plugin specific
|
|||||||
{
|
{
|
||||||
"folke/trouble.nvim",
|
"folke/trouble.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
auto_open = false,
|
auto_open = true,
|
||||||
position = "right"
|
position = "right"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,20 +5,18 @@ return {
|
|||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
-- customize the dashboard header
|
-- customize the dashboard header
|
||||||
opts.section.header.val = {
|
opts.section.header.val = {
|
||||||
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
|
" ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ",
|
||||||
"░░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░░░░░░░░░",
|
" ▄▀░░░░░░░░░░░░▄░░░░░░░▀▄ ",
|
||||||
"░░░░░░░░▄▀░░░░░░░░░░░░▄░░░░░░░▀▄░░░░░░░",
|
" █░░▄░░░░▄░░░░░░░░░░░░░░█ ",
|
||||||
"░░░░░░░░█░░▄░░░░▄░░░░░░░░░░░░░░█░░░░░░░",
|
" █░░░░░░░░░░░░▄█▄▄░░▄░░░█ ▄▄▄ ",
|
||||||
"░░░░░░░░█░░░░░░░░░░░░▄█▄▄░░▄░░░█░▄▄▄░░░",
|
"▄▄▄▄▄ █░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██ ",
|
||||||
"░▄▄▄▄▄░░█░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██░░",
|
"██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██ ",
|
||||||
"░██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██░░",
|
" ▀██▄▀██░░░░░░░░▀░██▀░░░░░░░░░░░░░▀██",
|
||||||
"░░▀██▄▀██░░░░░░░░▀░██▀░░░░░░░░░░░░░▀██░",
|
" ▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄█░░██",
|
||||||
"░░░░▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄█░░██░",
|
" ▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██",
|
||||||
"░░░░░░░▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██░",
|
" ▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀ ",
|
||||||
"░░░░░░░▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀░░",
|
" █▀▀█████████▀▀▀▀████████████▀ ",
|
||||||
"░░░░░░█▀▀█████████▀▀▀▀████████████▀░░░░",
|
" ████▀ ███▀ ▀███ ▀██▀ ",
|
||||||
"░░░░░░████▀░░███▀░░░░░░▀███░░▀██▀░░░░░░",
|
|
||||||
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
|
|
||||||
}
|
}
|
||||||
return opts
|
return opts
|
||||||
end,
|
end,
|
||||||
@@ -47,7 +45,7 @@ return {
|
|||||||
visible = false,
|
visible = false,
|
||||||
show_hidden_count = true,
|
show_hidden_count = true,
|
||||||
hide_dotfiles = false,
|
hide_dotfiles = false,
|
||||||
hide_gitignored = true,
|
hide_gitignored = false,
|
||||||
hide_by_name = {
|
hide_by_name = {
|
||||||
},
|
},
|
||||||
never_show = {
|
never_show = {
|
||||||
@@ -99,9 +97,12 @@ return {
|
|||||||
require "plugins.configs.which-key" (plugin, opts)
|
require "plugins.configs.which-key" (plugin, opts)
|
||||||
-- Add bindings which show up as group name
|
-- Add bindings which show up as group name
|
||||||
local wk = require "which-key"
|
local wk = require "which-key"
|
||||||
wk.register({
|
wk.register(
|
||||||
b = { name = "Buffer" },
|
{
|
||||||
}, { mode = "n", prefix = "<leader>" })
|
b = { name = "Buffer" },
|
||||||
|
},
|
||||||
|
{ mode = "n", prefix = "<leader>" }
|
||||||
|
)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
-- customize mason plugins
|
-- customize mason plugins
|
||||||
return { -- use mason-lspconfig to configure LSP installations
|
return {
|
||||||
|
-- use mason-lspconfig to configure LSP installations
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
-- overrides `require("mason-lspconfig").setup(...)`
|
-- overrides `require("mason-lspconfig").setup(...)`
|
||||||
@@ -8,7 +9,9 @@ return { -- use mason-lspconfig to configure LSP installations
|
|||||||
"diagnosticls",
|
"diagnosticls",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}, -- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
|
},
|
||||||
|
-- use mason-null-ls to configure Formatters/Linter
|
||||||
|
-- installation for null-ls sources
|
||||||
{
|
{
|
||||||
"jay-babu/mason-null-ls.nvim",
|
"jay-babu/mason-null-ls.nvim",
|
||||||
-- overrides `require("mason-null-ls").setup(...)`
|
-- overrides `require("mason-null-ls").setup(...)`
|
||||||
|
|||||||
@@ -21,6 +21,14 @@ have ansible && {
|
|||||||
x-dc "$ANSIBLE_GALAXY_CACHE_DIR"
|
x-dc "$ANSIBLE_GALAXY_CACHE_DIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# brew configuration
|
||||||
|
have brew && {
|
||||||
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||||
|
|
||||||
|
autoload -Uz compinit
|
||||||
|
compinit
|
||||||
|
}
|
||||||
|
|
||||||
# composer, https://getcomposer.org/
|
# composer, https://getcomposer.org/
|
||||||
have composer && {
|
have composer && {
|
||||||
export COMPOSER_HOME="$XDG_STATE_HOME/composer"
|
export COMPOSER_HOME="$XDG_STATE_HOME/composer"
|
||||||
|
|||||||
@@ -1240,6 +1240,8 @@
|
|||||||
<real>0.59999999999999998</real>
|
<real>0.59999999999999998</real>
|
||||||
<key>TabStyleWithAutomaticOption</key>
|
<key>TabStyleWithAutomaticOption</key>
|
||||||
<integer>5</integer>
|
<integer>5</integer>
|
||||||
|
<key>TmuxUnpauseAutomatically</key>
|
||||||
|
<true/>
|
||||||
<key>VisualIndicatorForEsc</key>
|
<key>VisualIndicatorForEsc</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>kCPKSelectionViewPreferredModeKey</key>
|
<key>kCPKSelectionViewPreferredModeKey</key>
|
||||||
|
|||||||
Submodule config/nvim updated: 23bf3b2917...e2d444c046
Reference in New Issue
Block a user