Changeset 4730 for lang/vim/scratch/trunk
- Timestamp:
- 01/17/08 01:28:00 (10 months ago)
- Location:
- lang/vim/scratch/trunk
- Files:
-
- 3 modified
-
autoload/scratch.vim (modified) (3 diffs)
-
doc/scratch.txt (modified) (2 diffs)
-
plugin/scratch.vim (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/vim/scratch/trunk/autoload/scratch.vim
r3578 r4730 1 1 " scratch.vim - Emacs like scratch buffer. 2 " Version: 0.1 2 " Version: 0.1+ 3 3 " Copyright: Copyright (C) 2007 kana <http://nicht.s8.xrea.com/> 4 4 " License: MIT license (see <http://www.opensource.org/licenses/mit-license>) … … 54 54 let winnr = bufwinnr(s:bufnr) 55 55 if winnr == -1 " The scratch buffer is not visible. 56 execute g:scratch_show_command s:bufnr 56 if bufname('')=='' && (!&l:modified) && tabpagewinnr(tabpagenr(),'$')==1 57 " The current tab is "empty", so don't use g:scratch_show_command to 58 " avoid show the scratch buffer in two windows. 59 execute 'buffer' s:bufnr 60 else 61 execute g:scratch_show_command s:bufnr 62 endif 57 63 else 58 64 execute winnr 'wincmd w' … … 107 113 108 114 " Evaluate it. 109 execute s cript115 execute substitute(script, '\n\s*\\', '', 'g') 110 116 111 117 if a:adjust_cursorp -
lang/vim/scratch/trunk/doc/scratch.txt
r3578 r4730 1 1 *scratch.txt* Emacs like scratch buffer. 2 2 3 Version 0.1 3 Version 0.1+ 4 4 Copyright (C) 2007 kana <http://nicht.s8.xrea.com/> 5 5 License: MIT license (see <http://www.opensource.org/licenses/mit-license>) … … 187 187 CHANGELOG *scratch-changelog* 188 188 189 0.1+ 2008-01-13T00:47:42+09:00 190 - Modify |:ScratchEvaluate| to accept |line-continuation|. 191 - scratch#open(): Modify not to use g:scratch_show_command in some 192 cases to avoid showing the scratch buffer in two windows. 193 189 194 0.1 2007-12-25T03:57:18+09:00 190 195 - Rewrote. -
lang/vim/scratch/trunk/plugin/scratch.vim
r3578 r4730 1 1 " scratch.vim - Emacs like scratch buffer. 2 " Version: 0.1 2 " Version: 0.1+ 3 3 " Copyright: Copyright (C) 2007 kana <http://nicht.s8.xrea.com/> 4 4 " License: MIT license (see <http://www.opensource.org/licenses/mit-license>)
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)