8/13/2023 0 Comments Alacritty onedarkIf the current background option is set to Here, I have used the API to add this shortcut in normal and Trivially, I map the shortcut y (‘space’ then ‘y’) to make the switch The option background (use :set background in ex mode). Neovim (and vim for that matter), we can get or set the current color via Switching dark and light colors, with a shortcut, is a smoother process. We now turn our attention to switching the colors in our editor (or IDE). Mycolors to another variable in the config. Using mycolorsDark instead of gruvboxDark and defer the interpretation of We could even be agnostic to the color scheme name by simply You can even bind a shortcut to it in your desktop manager.Īdapting this approach to some other color scheme than gruvbox is This command can then be easily called in the shell since it is now in your This flag is not necessary unless, your config files (dotfiles) are located inĪn out-of-tree repository that distributes soft symbolic links in your $XDG $XDG_CONFIG_HOME/alacritty/alacritty.yml is in fact a symlink.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |