Migrate to chezmoi
Move config files from config to chezmoi Add script to auto install packages with DNF and Cargo
This commit is contained in:
parent
110e0882c6
commit
224c7ed45c
1654 changed files with 470035 additions and 51 deletions
|
|
@ -1,24 +0,0 @@
|
|||
alias \
|
||||
vi='nvim' \
|
||||
vi-astro='NVIM_APPNAME=Distro-AstroNvim nvim' \
|
||||
vi-lazy='NVIM_APPNAME=LazyVim nvim'
|
||||
|
||||
vis() {
|
||||
items=(
|
||||
default
|
||||
AstroNvim
|
||||
LazyVim
|
||||
)
|
||||
config=$(printf "%s\n" "${items[@]}" | fzf --prompt=" Neovim Config " --height=~50% --layout=reverse --border --exit-0)
|
||||
|
||||
if [[ -z $config ]]; then
|
||||
echo "Nothing selected"
|
||||
return 0
|
||||
elif [[ $config == "default" ]]; then
|
||||
config=""
|
||||
fi
|
||||
|
||||
NVIM_APPNAME=$config nvim $@
|
||||
}
|
||||
|
||||
bindkey -s ^a "vis\n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue