• Like
  • Save
関西Vim勉強会#7 lingr.vimとその中身
Upcoming SlideShare
Loading in...5
×
 

関西Vim勉強会#7 lingr.vimとその中身

on

  • 3,529 views

 

Statistics

Views

Total Views
3,529
Views on SlideShare
1,739
Embed Views
1,790

Actions

Likes
1
Downloads
5
Comments
0

5 Embeds 1,790

http://relaxedcolumn.blog8.fc2.com 1777
http://webcache.googleusercontent.com 7
http://translate.googleusercontent.com 3
http://digg.com 2
http://www.slideshare.net 1

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n
  • \n \n

関西Vim勉強会#7 lingr.vimとその中身 関西Vim勉強会#7 lingr.vimとその中身 Presentation Transcript

  • let s:hoge = "s:hoge"function Hoge(hoge) let hoge = "l:hoge" python <<EOM# coding=utf-8import vimprint vim.eval(s:hoge) # s:hogeprint vim.eval(a:hoge) # a:hogeprint vim.eval(hoge) # l:hogevim.command(let s:hoge = "s:fuga")vim.command(let hoge = "l:fuga")EOM return hogeendfunctionecho Hoge(a:hoge) " l:fugaecho s:hoge " s:fuga
  • python <<EOMimport vimutil@vimutil.vimfunc(Hoge)def vimutil_hoge(args): print “,”.join(args)EOMcall Hoge(‘a’, ‘b’, ‘c’) “ a,b,c