diff --git a/bash/.bashrc b/bash/.bashrc index 4417803..0509279 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -31,8 +31,8 @@ export GPG_TTY=$(tty) # Configure editor export VISUAL="$(command -v nvim 2>/dev/null)" export EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || command -v nano)" -[ -x "$(command -v nvim 2> /dev/null)" ] && alias vim='nvim' -[ -x "$(command -v neovide 2> /dev/null)" ] && alias nvim='neovide' +[ -x "$(command -v nvim 2> /dev/null)" ] && alias vim='nvim' +[ -x "$(command -v neovide 2> /dev/null)" ] && alias nvim='WINIT_X11_SCALE_FACTOR=1.0 neovide' # ghcup (Haskell) [ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env diff --git a/nvim/lua/neovide.lua b/nvim/lua/neovide.lua index 19e8c26..6deee26 100644 --- a/nvim/lua/neovide.lua +++ b/nvim/lua/neovide.lua @@ -1,5 +1,4 @@ local options = { - scale_factor = 0.75, scroll_animation_far_lines = 100, scroll_animation_length = 0.05, cursor_animation_length = 0.05,