1 *hacks.txt* Notes on hacks in this version of Vim.
2 Copyright (C) 2008 kana <http://nicht.s8.xrea.com>
4 This document explains what hacks are included in this version of Vim.
5 All changes are licensed under the same terms of Vim. See |license|.
7 ==============================================================================
8 INDEX OF HACKS *hacks-index*
10 Auto setting 'paste' *hacks-autopaste*
11 When input text seems to be pasted, set 'paste' automatically.
13 1) the length of input text is greater than 10 bytes, and
14 2) input text contains at least 1 carriage return ("\r").
16 Note that this hack doesn't unset 'paste' automatically. So you have
17 to add the following setting in your |vimrc|:
19 autocmd InsertLeave * set nopaste
21 Reference: http://d.hatena.ne.jp/parasporospa/20071129/p1
26 ==============================================================================
27 MISC. INFORMATION *hacks-misc-info*
29 Base Source Code *hacks-base*
31 All hacks are based on <http://vim.svn.sourceforge.net/svnroot/vim/trunk@931>.
36 vim:tw=78:sw=4:ts=8:ft=help:norl: