mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(just): Add justfiles for setup
This commit is contained in:
parent
d43a4b7106
commit
dae3143f86
12 changed files with 310 additions and 253 deletions
34
.just.d/common.just
Normal file
34
.just.d/common.just
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
ideavim:
|
||||
{{LN}} {{DOTFILES}}/common/ideavimrc {{XDG_CONFIG_HOME}}/ideavim/ideavimrc
|
||||
git clone https://github.com/MarcoIeni/intellimacs {{join(home_directory(), ".local/share/intellimacs")}} --depth 1
|
||||
|
||||
lsd:
|
||||
-mkdir {{XDG_CONFIG_HOME}}/lsd
|
||||
{{LN}} {{DOTFILES}}/common/lsd.yaml {{XDG_CONFIG_HOME}}/lsd/config.yaml
|
||||
|
||||
|
||||
[unix]
|
||||
neovide:
|
||||
which neovide
|
||||
-mkdir -p {{XDG_CONFIG_HOME}}/neovide
|
||||
{{LN}} {{DOTFILES}}/platforms/{{OS}}/neovide.toml {{XDG_CONFIG_HOME}}/neovide/config.toml
|
||||
|
||||
|
||||
[linux]
|
||||
readline:
|
||||
mkdir -p {{XDG_CONFIG_HOME}}/readline
|
||||
{{LN}} {{DOTFILES}}/common/inputrc {{XDG_CONFIG_HOME}}/readline/inputrc
|
||||
|
||||
|
||||
[unix]
|
||||
vim:
|
||||
mkdir -p {{XDG_DATA_HOME}}/vim/after
|
||||
mkdir -p {{XDG_STATE_HOME}}/vim/{backup,swap,undo,view}
|
||||
mkdir -p {{XDG_CONFIG_HOME}}/vim/
|
||||
ln -sf {{DOTFILES}}/common/vimrc {{XDG_CONFIG_HOME}}/vim/vimrc
|
||||
|
||||
|
||||
[windows]
|
||||
vim:
|
||||
New-Item -ItemType SymbolicLink -Path $HOME/_vimrc -Value {{DOTFILES}}/common/vim.noxdg.vimrc
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue