I have the following entries which allow me to turn the line numbers on/off with simple key presses
nmap <F11> :se nonu<CR> nmap <F12> :se nu<CR>
Is it possible to instead have a single key for the purpose and toggle the behaviour instead of using two keys?
for example something logically like
F12: if nu == 0 se nu else se nonu endif