Skip to content
ehamberg edited this page May 27, 2011 · 6 revisions

Welcome to the vim-cute-python wiki!

Function to toggle conceal level

This function was provided by sethwoodworth and will turn concealing on/off:

function! ToggleConceal()
  if &conceallevel != '0'
    set conceallevel=0
    echo "ConcealLevel off"
  else
    set conceallevel=2
    echo "ConcealLevel on"
  endif
endfunction

You can then bind this to a key, e.g. F4:

nnoremap <F4> :call ToggleConceal()

More unicode symbols

mattharrison/pretty-mode/blob/emacswiki/pretty-mode.el has more fun symbols. I have tried to find a good balance suitable for python in vim-cute-python, so not all of these are included.

Clone this wiki locally