heavim/cfg/50-sign-column.vim
Emmanuel BENOîT b0647949f8 Style and shortcut tweaks. Added vim-which-key.
* Shortcut changes to make the Leader-based shortcuts easier to use
 * Install vim-which-key
 * Style fixes and changes
 * Reorganised some of the settings
2020-12-07 16:36:17 +01:00

13 lines
321 B
VimL

" Sign column color and visibility
let s:sc_modes = {
\ 'no' : 'yes' ,
\ 'yes' : 'no' ,
\ }
function! <SID>ToggleSignColumn()
let &signcolumn = s:sc_modes[ &g:signcolumn ]
endfunction
highlight SignColumn ctermfg=15 ctermbg=234
set signcolumn=yes
nmap <silent> <leader>os :call <SID>ToggleSignColumn()<cr>