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
180
黒画面が最高のしごと道具である3つの理由
Toshikazu Ohashi
February 17, 2023
Tweet
Share
More Decks by Toshikazu Ohashi
See All by Toshikazu Ohashi
Golangで作るSQL Language Server(sqls)
lighttiger2505
1
660
Connect with many developers from the small plugin
lighttiger2505
0
270
作ってわかる現代のVimのAutoComplete ~そしてVimConf2019へ~
lighttiger2505
3
1.5k
自社サービスのDjangoを 1.3から1.11(LTS)に アップグレードするまでの道のり
lighttiger2505
6
3.3k
LSPがもたらしたVimプラグインの変化に思いを馳せる
lighttiger2505
2
1.3k
ターミナルアプリケーションとしてのVim
lighttiger2505
0
470
Go Language Server 使うべし
lighttiger2505
5
1.9k
Goで作るインタラクティブなCLIコマンドとそのデザイン
lighttiger2505
0
680
GUI is not fast enough!! (GUIには速さが足りないっ!!)
lighttiger2505
0
480
Other Decks in Programming
See All in Programming
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
オートマトン学習しろ / Do automata learning
makenowjust
3
130
REXML改善のその後
naitoh
0
190
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
220
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
380
実践!難読化ガイド
mitchan
0
210
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
120
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
250
全部見せます! クラシルリワードのSwiftTesting移行プロジェクト
uetyo
0
210
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
意外とフォントが大事だった話 / Font Issues on Internationalization
fumi23
0
110
Prompt Cachingは本当に効果的なのか検証してみた.pdf
ttnyt8701
0
530
Featured
See All Featured
Designing with Data
zakiwarfel
98
5k
Teambox: Starting and Learning
jrom
131
8.7k
Raft: Consensus for Rubyists
vanstee
135
6.5k
Making the Leap to Tech Lead
cromwellryan
128
8.8k
Learning to Love Humans: Emotional Interface Design
aarron
270
40k
Become a Pro
speakerdeck
PRO
22
4.9k
The Language of Interfaces
destraynor
153
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.1k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
326
21k
Building Applications with DynamoDB
mza
90
6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
28
1.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͑Δ
ਆຊ