Changeset 20761 for dotfiles/vim/from_kyushu/.vim
- Timestamp:
- 10/05/08 11:59:35 (5 years ago)
- Location:
- dotfiles/vim/from_kyushu/.vim
- Files:
-
- 1 added
- 1 modified
-
dict/php.dict (added)
-
plugin/quickrun.vim (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/vim/from_kyushu/.vim/plugin/quickrun.vim
r20558 r20761 23 23 call append(0, '') 24 24 execute 'silent! read !' quicklaunch_command 25 silent 1 delete _ 26 setlocal nomodifiable 27 endfunction 28 29 function! s:quicklaunch_list() 30 if !exists('g:quicklaunch_commands') 31 echo 'no command registered' 32 return 33 endif 34 call s:open_result_buffer('quicklaunch_list') 35 setlocal modifiable 36 silent % delete _ 37 call append(0, '') 38 for i in range(10) 39 if exists('g:quicklaunch_commands[i]') 40 call append(line('$'), i . ': ' . g:quicklaunch_commands[i]) 41 else 42 call append(line('$'), i . ': <Nop>') 43 endif 44 endfor 25 45 silent 1 delete _ 26 46 setlocal nomodifiable … … 72 92 73 93 function! s:open_result_buffer(quickrun_command) 74 let bufname = printf(' *quickrun*%s', a:quickrun_command)94 let bufname = printf('[quickrun] %s', a:quickrun_command) 75 95 76 96 if !bufexists(bufname) … … 122 142 execute "silent! nmap <unique> <Leader>" . i . " <Plug>(quicklaunch-" . i . ")" 123 143 endfor 144 nnoremap <silent> <Plug>(quicklaunch-list) :<C-u>call <SID>quicklaunch_list()<Return> 145 silent! nmap <unique> <Leader>l <Plug>(quicklaunch-list) 124 146 125 147 augroup plugin-quickrun
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)