From 7243a609b612bba5fff56e0cd2b182a40d3e9c9c Mon Sep 17 00:00:00 2001 From: Rohit Dandnayak Date: Sun, 9 May 2021 10:47:05 +0530 Subject: [PATCH 1/4] Documentation to set background color Documentation clearly does not mention how to apply specific theme, you've to google it and get it from one of issue filed. Probably this was confusing for new vim learner like me. This theme set light color by default, and no way to understand how to set back to dark another theme documentation mentions it like ``` set background="dark" ``` which is not valid here --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index eca249c0..1ce56276 100644 --- a/README.md +++ b/README.md @@ -21,15 +21,27 @@ Screenshots Refer [Gallery][] for more syntax-specific screenshots. [Gallery]: https://github.com/morhetz/gruvbox/wiki/Gallery + + ### Dark mode ![Screenshot Dark](http://i.imgur.com/GkIl8Fn.png) + + to enable this you need to set background as dark + ``` + set bg=dark + ``` ### Light mode ![Screenshot Light](http://i.imgur.com/X75niEa.png) + light theme is enabled by default, to enable this manually you need to set background as light + ``` + set bg=dark + ``` + ### Airline theme ![Screenshot Airline](http://i.imgur.com/wRQceUR.png) From 7c1561261149e0be5404839536b3c10b68bcec9a Mon Sep 17 00:00:00 2001 From: Rohit Dandnayak Date: Sun, 9 May 2021 10:49:07 +0530 Subject: [PATCH 2/4] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ce56276..4785c6d9 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,6 @@ Screenshots Refer [Gallery][] for more syntax-specific screenshots. [Gallery]: https://github.com/morhetz/gruvbox/wiki/Gallery - - ### Dark mode @@ -39,7 +37,7 @@ Refer [Gallery][] for more syntax-specific screenshots. light theme is enabled by default, to enable this manually you need to set background as light ``` - set bg=dark + set bg=light ``` ### Airline theme From 1fab3381fd1ec4e1f565a626a3f6a39d7b444925 Mon Sep 17 00:00:00 2001 From: Rohit Dandnayak Date: Sun, 9 May 2021 10:49:45 +0530 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4785c6d9..2e9d39bd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Refer [Gallery][] for more syntax-specific screenshots. ![Screenshot Dark](http://i.imgur.com/GkIl8Fn.png) - to enable this you need to set background as dark + to enable dark theme you need to set background as dark ``` set bg=dark ``` From 1c402e6a61bcc497677bdf2c8efa61185ff7e133 Mon Sep 17 00:00:00 2001 From: Rohit Dandnayak Date: Sun, 9 May 2021 10:51:42 +0530 Subject: [PATCH 4/4] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2e9d39bd..4d8a929d 100644 --- a/README.md +++ b/README.md @@ -26,18 +26,20 @@ Refer [Gallery][] for more syntax-specific screenshots. ![Screenshot Dark](http://i.imgur.com/GkIl8Fn.png) - to enable dark theme you need to set background as dark + to enable dark theme you need to set background as dark in your .vimrc ``` set bg=dark + colorscheme gruvbox ``` ### Light mode ![Screenshot Light](http://i.imgur.com/X75niEa.png) - light theme is enabled by default, to enable this manually you need to set background as light + light theme is enabled by default, to enable this manually you need to set background as light in your .vimrc ``` set bg=light + colorscheme gruvbox ``` ### Airline theme