From ab95d311d824653d54f4e0bb07dbb058498ca176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Thu, 10 Jun 2010 17:58:15 +0200 Subject: [PATCH] .ackrc added to the distribution installation/update now doesn't link bin and README.rst Vim: paste mode now turns cursorline off because white characters in the underlined line were considered as spaces --- ackrc | 3 +++ install.py | 2 +- vimrc | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 ackrc diff --git a/ackrc b/ackrc new file mode 100644 index 0000000..b972f0f --- /dev/null +++ b/ackrc @@ -0,0 +1,3 @@ +--type-set=rest=.rst +--nojs +--nohtml diff --git a/install.py b/install.py index 7441f16..0a27c83 100755 --- a/install.py +++ b/install.py @@ -137,7 +137,7 @@ def obtain_machine_type(): target = os.path.join(options.dir, ".%s" % entry) if entry.startswith('.') or entry.endswith('~') or \ - entry in ('install.py', ): + entry in ('install.py', 'bin', 'README.rst'): continue elif entry == 'profile_machine': if not machine_type: diff --git a/vimrc b/vimrc index 2fc48d5..907d8c3 100644 --- a/vimrc +++ b/vimrc @@ -149,9 +149,9 @@ function Paste_toggle(insert_mode) """ toggling between paste mode and normal mode; includes removing """ mouse support and numbering (for terminal cut&paste purposes) if &paste || (a:insert_mode != 0 && !&number) - set nopaste number mouse=a + set nopaste number cursorline mouse=a else - set paste nonumber mouse= + set paste nonumber nocursorline mouse= endif endfunction command PasteToggle :call Paste_toggle(0)