Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shorten numbers.vim #7

Closed
fundon opened this issue Jun 30, 2012 · 1 comment
Closed

shorten numbers.vim #7

fundon opened this issue Jun 30, 2012 · 1 comment

Comments

@fundon
Copy link

fundon commented Jun 30, 2012

I shorten it and bind 'n'
https://github.com/cfddream/vimfiles/blob/master/config/mappings.vim#L195

" Toggle line numbers
nnoremap <leader>n ::if &nu\|se rnu\
  \|elsei &rnu\|se rnu!\
  \|el\|se nu\|endif<cr>
@myusuf3
Copy link
Owner

myusuf3 commented Jun 30, 2012

http://vimgolf.com/

@myusuf3 myusuf3 closed this as completed Jun 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants