Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
黒画面が最高のしごと道具である3つの理由
Search
Toshikazu Ohashi
February 17, 2023
Programming
0
2.2k
黒画面が最高のしごと道具である3つの理由
Toshikazu Ohashi
February 17, 2023
Tweet
Share
More Decks by Toshikazu Ohashi
See All by Toshikazu Ohashi
無自覚にメンバーの心理的安全性を奪っていた経験から得た学び
lighttiger2505
158
220k
Golangで作るSQL Language Server(sqls)
lighttiger2505
1
930
Connect with many developers from the small plugin
lighttiger2505
0
410
作ってわかる現代のVimのAutoComplete ~そしてVimConf2019へ~
lighttiger2505
3
1.7k
自社サービスのDjangoを 1.3から1.11(LTS)に アップグレードするまでの道のり
lighttiger2505
6
3.6k
LSPがもたらしたVimプラグインの変化に思いを馳せる
lighttiger2505
2
1.5k
ターミナルアプリケーションとしてのVim
lighttiger2505
0
580
Go Language Server 使うべし
lighttiger2505
5
2.1k
Goで作るインタラクティブなCLIコマンドとそのデザイン
lighttiger2505
0
910
Other Decks in Programming
See All in Programming
iOSでSVG画像を扱う
kishikawakatsumi
0
170
What's new in Spring Modulith?
olivergierke
1
170
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
650
理論と実務のギャップを超える
eycjur
0
180
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
12
7.1k
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
2
370
AI Agent 時代的開發者生存指南
eddie
4
2.1k
ALL CODE BASE ARE BELONG TO STUDY
uzulla
28
6.7k
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
910
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
240
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
160
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
140
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Gamification - CAS2011
davidbonilla
81
5.5k
Building Applications with DynamoDB
mza
96
6.7k
A designer walks into a library…
pauljervisheath
209
24k
Faster Mobile Websites
deanohume
310
31k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Automating Front-end Workflow
addyosmani
1371
200k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Transcript
ࠇը໘͕࠷ߴͷࣄಓ۩Ͱ͋Δ 3ͭͷཧ༝ backo ff ice lt/Toshikazu.Ohashi
ΞδΣϯμ 1. ૢ࡞ͷ࠶ݱ͕ߴ͍ 2. ύΠϓͰڊਓͷݞʹΕΔ 3. ແ͍ͳΒ࡞ΕΔ؆୯ʹ
1.ૢ࡞ͷ࠶ݱੑ͕ߴ͍
ࠇը໘Λ͍࢝Ίͨਓ͕ݴ͏ϫʔυ ίϚϯυͳΜ͍͍֮ͯͪͪ͑ͯΒΕͳ͍Α
Ohashiᐌ͘ ࡉ͔͍ίϚϯυ͍͍֮ͪͪ͑ͯͳ͍Ͱ͢
ࠇը໘ʹ͓͚Δૢ࡞ͱʁ • ࠇը໘Ͱߦ͏ૢ࡞ͯ͢ίϚϯυ • ίϚϯυʹจࣈྻ • จࣈྻʹ؆୯ʹอଘͰ͖Δ • ؆୯ʹอଘͰ͖Δʹ؆୯ʹ࠶ݱͰ͖Δ
GitϦϙδτϦͷαϒϞδϡʔϧͷόʔδϣϯΛϦϞʔτͱҰகͤ͞Αɻ ͳ͓αϒϞδϡʔϧͷαϒϞδϡʔϧରͱ͢Δɻ • ͑ • git submodule update --init
--recursive --remote • σϞ
ࠇը໘ͷૢ࡞ͯ͢࠶ݱͰ͖Δ • ٯʹ͍͑GUIͷૢ࡞࠶ݱͰ͖ͳ͍ • աڈͷૢ࡞ͯ͢ཤྺϑΝΠϧʹ͋Δ • zshͳΒ.zsh_history • bashͳΒ.bash_history •
աڈͷૢ࡞ͯ͢Ctrl-PͱCtrl-NͰݟΕΔ
̍ લํҰக autoload history-search-end zle -N history-beginning-search-backward-end history-search-end zle -N
history-beginning-search-forward-end history-search-end bindkey "^P" history-beginning-search-backward-end bindkey "^N" history-beginning-search-forward-end
2 αδΣετ • zsh-autosuggestions • https://github.com/zsh-users/zsh-autosuggestions
2.ύΠϓͰڊਓͷํʹΕΔ
VimΛ͍ଓ͚ͨਓ͕ݴ͏ϫʔυ ςΩετฤू͢Δͱ͖VimҎ֎Λ͏ͷͬͯ ۤ௧Ͱ͔͠ͳ͍ΜͰ͢Α
ίϚϯυͷ࣮ߦ݁Ռͱʁ • ίϚϯυͷ݁Ռ͓͓ΑͦจࣈྻʹͳΔ • จࣈྻʹ؆୯ʹଞͷίϚϯυʹͤΔ • ؆୯ʹଞͷίϚϯυʹͤΔʹՄೳੑͷ्(Ϣχίʔϯ)
Vimͷ۩ମྫ • git commitͨ͠ͱ͖ • γΣϧ্ͷϫϯϥΠϯΤσΟλͰฤू͍ͨ͠ͱ͖
ΠϯλϥΫςΟϒϑΟϧλʔ fzf • fzf • https://github.com/junegunn/fzf • ԿͰΠϯλϥΫςΟϒʹϑΟϧλʔͰ͖Δ͍ͭ͢͝ • GitϦϙδτϦҰཡ͔ΒͷҠಈ
• GitϒϥϯνҰཡ͔ΒͷΓସ͑ • σΟϨΫτϦ֊Ұׅද͔ࣔΒͷҠಈ
ΤΠϦΞεఆٛ cd-fzf- f ind() { local dir DIR=$( f ind
./ -path '*/\.*' -name .git -prune -o -type d -print 2> /dev/null | fzf +m --ansi -- preview 'ls -al --color=always {}') if [ -n "$DIR" ]; then cd $DIR f i } alias fd=cd-fzf- f ind
3.ແ͍ͳΒ࡞ΕΔ؆୯ʹ
͍ͭ·Ͱܦ͕ͬͯࣗ΄͍͠ ίϚϯυ͕࡞ΒΕͳ͍ਓ͕ݴ͏ϫʔυ ͕ࣗཉ͍͠ίϚϯυ͕ͳ͍ͳΒ࡞Ε͍͍
͍͍ͩͨͷίϚϯυ୳ͤ͋Δ͚Ͳ • ͍͍ͩͨͷͷطଘͷίϚϯυΛύΠϓͰͭͳ͗߹ΘͤΔͱ࡞ΕΔ • CLIͰΓ͍ͨ͜ͱΛΔͱ͖ͷ̏εςοϓ 1. ࣗͷΓ͍ͨ͜ͱΛͬͯ͘ΕΔίϚϯυΛ୳͢ 2. طଘͷίϚϯυΛύΠϓͰͭͳ͗߹ΘͤͯɺίϚϯυΛ࡞Δ 3.
ࣗͰίϚϯυΛ࡞Δ
ใΛVimͰॻ͖͍ͨ • liary • https://github.com/lighttiger2505/liary
ࠇը໘ͰDBଓΛཧ͍ͨ͠ • mcm • https://github.com/lighttiger2505/mcm
ࠇը໘ͷίϚϯυ࡞Δͷ؆୯ • UI͕จࣈྻ͚ͩͳͷͰUIσβΠϯΛߟ͑Δίετ͕θϩ • ୯ػೳͰܗʹͳΔͷͰεϞʔϧελʔτ͍͢͠ • Ҡ২ੑ͕ਆϨϕϧʹߴ͍ • 10͑Δ
ਆຊ