From 558582c5c939936ee17fff47596e28b2a30d145b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Mon, 28 Jul 2014 14:00:50 +0200 Subject: Fix function toggleRelativeNumbers for Vim 7.4 In 7.3 was relativenumber and number opposite options In 7.4, they can be set together --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 1b2977d..a477721 100644 --- a/.vimrc +++ b/.vimrc @@ -194,7 +194,7 @@ imap d 2Ff/pF function! NumberToggle() if(&relativenumber == 1) - set number + set norelativenumber else set relativenumber endif -- cgit v1.2.3