Sha256: 1813708a439d34dbbe5f9095fdc753085725354465f53c0840bd66ba9ccc8fb3

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

fun! LoadRubyTmp()
  let b:fname = substitute(expand("%"), "/", "{slash}", "g")
  let b:filename = "/tmp/ride." . $STY . "->" . $WINDOW . "->" . b:fname
  " echo b:filename
  execute "write! " . b:filename
  call system("screen -p 1 -X stuff \"load " . '\"' . b:filename . '\"' . "\n\"")
  call system("screen -X select 1")
endfun
nmap <F12> :call LoadRubyTmp()<CR>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ride-0.4.2 app_generators/ride/templates/.vim/ftplugin/ruby/ruby.vim
ride-0.4.3 app_generators/ride/templates/.vim/ftplugin/ruby/ruby.vim
ride-0.4.8 app_generators/ride/templates/.vim/ftplugin/ruby/ruby.vim