diff --git a/Readme.md b/Readme.md index 075338a..95a3c53 100644 --- a/Readme.md +++ b/Readme.md @@ -72,7 +72,7 @@ If you want to quickly toggle between dark and light background, you may define a mapping like the following: ``` -nnoremap B :exe "colors" (get(g:, "colors_name", "") =~# "dark" +nnoremap B :exe "colors" (g:colors_name =~# "dark" \ ? substitute(g:colors_name, 'dark', 'light', '') \ : substitute(g:colors_name, 'light', 'dark', '') \ )