:Secret |
Enable secret view. |
:Secret (line | word | char | none) |
Enable secret view with a specific visibility setting. |
:Secret! |
Disable secret view. |
<Plug>SecretToggle |
Toggle secret view. |
An area around the cursor is unhidden to enable you to see what you are typing. This can be the entire line, the current word, the current character, or it can be disabled completely.
After a duration of time without input, or invoked manually via a mapping, all characters in the buffer is hidden. For details on this and other configuration options, see :help secret
.
Replacement characters have a background color, which looks weird.
This is due to how your color scheme styles the Conceal
highlight group. To remove the background color, you could use something like the following in your vimrc
/init.vim
:
autocmd! VimEnter,ColorScheme * hi Conceal ctermbg=NONE guibg=NONE
See :help secret-highlight
for more info.
Docker can be used to run tests in an isolated environment:
$ docker build -t vim-secret .
$ docker run --rm vim-secret [--verbose]