Slide 1

Slide 1 text

ϚελϦϯάVim ͷಡΈํ ༁ऀʹΑΔಡΈํΨΠυ Event: Gorilla.vim#13 Date: 2020-07-10 Speaker: େ૔խ࢙

Slide 2

Slide 2 text

ࣗݾ঺հ • ໊લɿେ૔խ࢙ʢ͓͓͘Β·͞;Έʣ • ઐ໳ɿRuby/RailsʹΑΔ΢ΣϒΞϓϦέʔγϣϯ։ൃʢϑϦʔϥϯ εʣ • ՝֎׆ಈɿGrow.rb, Entaku.rbͳͲͷίϛϡχςΟ΍Kaigi on Railsʢ https://kaigionrails.org ʣͱ͍͏େܕٕज़ΧϯϑΝϨϯεͷओ࠵ • ৄࡉ͸ https://okuramasafumi.com ·Ͱ

Slide 3

Slide 3 text

ࣗݾ঺հʢଓ͖ʣ • Vimྺɿ8೥ • ޷͖ͳVimίϚϯυɿ:vs (:vsplit) • ޷͖ͳVimϓϥάΠϯɿquickrun • ʰϚελϦϯάVimʱ຋༁ऀ

Slide 4

Slide 4 text

ʰϚελϦϯάVimʱ ʹ͍ͭͯ • Vim/Neovimʹ͍ͭͯͷ࠷΋৽͠ ͍ٕज़ॻʢ2020-07-10࣌఺ʣ • ༷ʑͳτϐοΫΛΧόʔʢਖ਼نද ݱɾGitɾVim scriptͳͲʣ • AmazonͰͷϨϏϡʔ͸8݅ɺධՁ ͸4.4

Slide 5

Slide 5 text

ࠓ೔ͷGorilla.vimࢀՃऀͰط ʹʰϚελϦϯάVimʱΛߪ ೖ͍ͯ͠Δਓͷׂ߹͸…

Slide 6

Slide 6 text

100% ʢ͜ͷεϥΠυΛ࢖ͬͯΈ͔͚ͨͬͨͩʣ

Slide 7

Slide 7 text

ͱ͜ΖͰ

Slide 8

Slide 8 text

ʰϚελϦϯάVimͷಡΈํʱͱ͍͏ λΠτϧ

Slide 9

Slide 9 text

ಛఆͷຊͷಡΈํ ↓ ʮҰൠతͳຊͷಡΈํʯ ʴ ʮͦͷຊݻ༗ͷ͜ͱʯ

Slide 10

Slide 10 text

ҰൠతͳຊͷಡΈํʢେ૔ྲྀʣ • جຊ͸໨࣍Λͬ͟ͱݟ͔ͯΒͷ௨͠ಡΈ • ࠓͷࣗ෼ͷڵຯؔ৺͔Βॏ఺తʹಡΉ৔ॴΛ୳͢ • ॏཁͩͱײͨ͡ͱ͜Ζ͸υοάΠϠʔʢ͓͠ΓΛڬΉʣ͢Δ • ٕज़ॻ͸ؾʹͳΔͱ͜Ζ͸खΛಈ͔͢ • Ұ࡭ʹ࣌ؒΛ͔͚͗͢ͳ͍

Slide 11

Slide 11 text

ϚελϦϯάVimʹ͍ͭͯ • ςΩετΤσΟλͷຊͳͷͰɺखΛಈ͔͢ͷ͸ඞਢ • ಉ͡PythonͷίʔυϕʔεΛ࢖͏ͷͰɺجຊ͸௨͠ಡΈ • ষ͝ͱͷ೉қ౓ͷ͕ࠩେ͖͍ɺಛʹVim scriptͷষʢୈ8ষʣ͸͔ͳΓ ೉͍͠ͷͰॳݟͰ͸ඈ͹͢ͷ΋ख • ਖ਼نදݱɾGitɾtmuxͳͲͷτϐοΫΛผϦιʔεͰิ׬͢Δͱཧղ ͕ਂ·Δ͔΋

Slide 12

Slide 12 text

ϚελϦϯάVimͷಡΈํʢॳ৺ऀ޲͚ʣ • ·ͣ͸ͬ͟ͱ໨Λ௨͢ʢୈ8ষΛআ͘ʣɺVimʹ͋Δఔ౓׳Ε͍ͯΔ ͳΒखΛಈ͔͞ͳͯ͘΋͍͍͚Ͳɺجຊ͸खΛಈ͔͢ • ࠷௿Ͱ΋ୈ4ষ·Ͱ͸಺༰Λཧղ͢Δ • UndoɾQuickfixɾϚΫϩ͸ศརͳͷͰ࢖͍ํΛशಘ͢Δ • ೉͘͠ײͨ͡ͱ͜Ζ΍ڵຯͷ͋Δ෦෼ΛಡΈ௚͢ • ଞͷຊ΋ԣʹஔ͍ͯࢀর͠ͳ͕ΒಡΉͱΑ͍

Slide 13

Slide 13 text

ϚελϦϯάVimͷಡΈํʢதڃऀҎ্޲͚ʣ • ·ͣ͸ͬ͟ͱ໨Λ௨ͯ͠શମͷߏ੒Λ௫Ή • ಡΜͰ͍ͯཧղ౓͕଍Γ͍ͯͳ͍ͱࢥͬͨՕॴͷ:helpΛҾ͘ • ୈ7ষ͸ΧελϚΠζʹ໾ཱͭͷͰ͔ͬ͠ΓಡΉͱΑ͍ • ୈ8ষ͸ྲྀ͠ಡΈͰ΋े෼ɺVim script͕ؾʹͳΔਓ͸ʰVim scriptς ΫχοΫόΠϒϧʱ͕͓͢͢Ί • ຊॻΛ:help΁ͷ଍͕͔Γͱͯ͠࢖͏ͱΑ͍

Slide 14

Slide 14 text

࣭໰ίʔφʔ