mirror of
https://github.com/lifepillar/vim-solarized8.git
synced 2025-12-10 07:46:58 +00:00
Simplify snippet in Readme.
This commit is contained in:
@@ -72,7 +72,7 @@ If you want to quickly toggle between dark and light background, you may define
|
||||
a mapping like the following:
|
||||
|
||||
```
|
||||
nnoremap <leader>B :<c-u>exe "colors" (get(g:, "colors_name", "") =~# "dark"
|
||||
nnoremap <leader>B :<c-u>exe "colors" (g:colors_name =~# "dark"
|
||||
\ ? substitute(g:colors_name, 'dark', 'light', '')
|
||||
\ : substitute(g:colors_name, 'light', 'dark', '')
|
||||
\ )<cr>
|
||||
|
||||
Reference in New Issue
Block a user