This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Add it to your local vimrc | |
" Toggle it with <F4> in normal mode | |
let g:numberlock = 0 | |
let g:numberlock_layout = 'us' | |
nnoremap <silent><F4> :call NumberLock()<CR> | |
function! NumberLock() | |
if g:numberlock | |
let g:numberlock = 0 |