Emmanuel BENOîT
b0647949f8
* Shortcut changes to make the Leader-based shortcuts easier to use * Install vim-which-key * Style fixes and changes * Reorganised some of the settings
13 lines
321 B
VimL
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>
|