Last active
August 29, 2015 14:05
-
-
Save smison/76a86ab59300e8069563 to your computer and use it in GitHub Desktop.
set number/nonumberトグルをリファクタ
This file contains hidden or 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
" set number | |
function Setnumber() | |
if &number | |
setlocal nonumber | |
else | |
setlocal number | |
endif | |
endfunction | |
nnoremap <C-m> :call Setnumber()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment