Moved settings and keymaps around. Created a proper nvim-mapper file. Added dracula back in. Emptied the highest level init.lua
This commit is contained in:
27
zsh/.zshrc
27
zsh/.zshrc
@ -29,22 +29,21 @@ export PYENV_ROOT="$HOME/.pyenv"
|
||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
alias nvim-minimal="NVIM_APPNAME=Minivim nvim"
|
||||
# alias nvim-minimal="NVIM_APPNAME=Minivim nvim"
|
||||
# alias nvim-arduino="NVIM_APPNAME=Arduino nvim"
|
||||
|
||||
function nvims() {
|
||||
items=("Main" "Minivim" "Arduinvim")
|
||||
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 == "Main" ]]; then
|
||||
config=""
|
||||
fi
|
||||
NVIM_APPNAME=$config nvim $@
|
||||
}
|
||||
|
||||
bindkey -s ^a "nvims\n"
|
||||
#function nvims() {
|
||||
# items=("Main" "Minivim" "Arduinvim")
|
||||
# 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 == "Main" ]]; then
|
||||
# config=""
|
||||
# fi
|
||||
# NVIM_APPNAME=$config nvim $@
|
||||
#}
|
||||
#bindkey -s ^a "nvims\n"
|
||||
|
||||
# source /Users/normrasmussen/.docker/init-zsh.sh || true # Added by Docker Desktop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user