aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChris Kempson <chriskempson@users.noreply.github.com>2017-11-05 21:19:52 +0000
committerGitHub <noreply@github.com>2017-11-05 21:19:52 +0000
commit27bfae6abc75db6d0795a9f12d68a82e16715f43 (patch)
treea285038e7d7ebfa6eb4fd966dffaa470d1dfae55 /README.md
parent59b2e235e694b4ff750eef177a8be04612d758b2 (diff)
parentf703015dc0137d79379492ae61e78efbb7ecf512 (diff)
Merge pull request #159 from jlesquembre/customization
Make local customization easier
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9ac8016..c9a634d 100644
--- a/README.md
+++ b/README.md
@@ -55,3 +55,17 @@ If your Vim looks like the above image you are using a 256 terminal theme withou
![blue line numbers screenshot](https://raw.github.com/chriskempson/base16-vim/master/with-base16colorspace-256-without-base16-shell.png)
If your Vim looks like the above image you are setting `let base16colorspace=256` in your `~/.vimrc` but either not running [Base16 Shell](https://github.com/chriskempson/base16-shell) or [Base16 Shell](https://github.com/chriskempson/base16-shell) is not working for your terminal. Either ensure [Base16 Shell](https://github.com/chriskempson/base16-shell) is working by running the `colortest` available in the [Base16 Shell](https://github.com/chriskempson/base16-shell) repository or not setting `let base16colorspace=256` in your `~/.vimrc`.
+
+## Customization
+If you want to do some local customization, you can add something like this to your `~/.vimrc`:
+
+```vim
+function! s:base16_customize() abort
+ call Base16hi("MatchParen", g:base16_gui05, g:base16_gui03, g:base16_cterm05, g:base16_cterm03, "bold,italic", "")
+endfunction
+
+augroup on_change_colorschema
+ autocmd!
+ autocmd ColorScheme * call s:base16_customize()
+augroup END
+```