![]() ![]() Use F12 key to swap between dark/light color scheme. ![]() (Cant be a complete port if the theme isnt accessible for all neovim users. Reload configuration file or restart Vim. 12 4 39 CREATED UPDATED 7 months ago Solarized Neovim This aims to be a complete port vim-solarized8 with support for lua plugins, LSP and Treesitter for neovim 0.5. " map F12 to ToggleSolarizedTheme() function Runtime autoload/lightline/colorscheme/solarized.vim By default, the cursor is orange/red in light themes, and blue in dark themes (but please note that your terminal may override the cursors color). Let &background = ( &background = "dark"? "light" : "dark" ) " change background and update lightline color scheme " define function to toggle solarized theme It is based on ToggleBG function from a Solarized theme. $ git clone ~/.vim/pack/interface/start/lightline.vimĬreate basic ~/.vimrc file with additional ToggleSolarizedTheme() function mapped to F12 key that will change the background color and indirectly main color scheme, then update the status line to reflect changes. $ git clone ~/.vim/pack/interface/start/vim-colors-solarizedĭownload lightline status line plugin. ![]() $ mkdir -p ~/.vim/pack/interface/start/ĭownload the Solarized color scheme. Install plugins #Ĭreate a directory that will be used to load main color scheme and status line plugin during application startup. vimrc: syntax enable set backgrounddark colorscheme solarized. On the other hand, minipac is a minimal package manager for Vim 8 that takes advantage of new features. After either Option 1 or Option 2 above, put the following two lines in your. Gruvbox Gruvbox theme is available both in light and dark versions. Still, you can use the older version with pathogen, bundle, or vim-plug Vim plugin manager. This tutorial requires at least the most recent Vim 7.4 (probably the lowest supported version is in this case) as it provides native third-party package loading. I am using the lightline status line with the Solarized color scheme inside Vim text editor.Įnsure that terminal is set to the Solarized color scheme. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |