mirror of
https://github.com/ernstwi/vim-secret.git
synced 2025-12-27 01:35:01 +08:00
18 lines
435 B
VimL
18 lines
435 B
VimL
command! -bang -nargs=* Secret call secret#secret(<bang>1, <f-args>)
|
|
nmap <silent> <Plug>SecretToggle :call secret#toggle()<CR>
|
|
|
|
if !exists('g:secret_cchar')
|
|
let g:secret_cchar = '•'
|
|
endif
|
|
|
|
if !exists('g:secret_visibility')
|
|
let g:secret_visibility = 'word'
|
|
endif
|
|
|
|
if !exists('g:secret_timeout_normal')
|
|
let g:secret_timeout_normal = 1
|
|
endif
|
|
|
|
if !exists('g:secret_timeout_insert')
|
|
let g:secret_timeout_insert = 0
|
|
endif
|