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
140
黒画面が最高のしごと道具である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
600
Connect with many developers from the small plugin
lighttiger2505
0
240
作ってわかる現代のVimのAutoComplete ~そしてVimConf2019へ~
lighttiger2505
3
1.4k
自社サービスのDjangoを 1.3から1.11(LTS)に アップグレードするまでの道のり
lighttiger2505
6
3.1k
LSPがもたらしたVimプラグインの変化に思いを馳せる
lighttiger2505
2
1.2k
ターミナルアプリケーションとしてのVim
lighttiger2505
0
460
Go Language Server 使うべし
lighttiger2505
5
1.8k
Goで作るインタラクティブなCLIコマンドとそのデザイン
lighttiger2505
0
640
GUI is not fast enough!! (GUIには速さが足りないっ!!)
lighttiger2505
0
460
Other Decks in Programming
See All in Programming
Snowflakeで眠ったデータを起こそう!
estie
0
160
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
480
Code Reviews
bkuhlmann
4
910
GitHub Copilotのススメ
marcy731
1
240
Try creating your own orderedmap
kazamori
1
270
Going beyond Apache Parquet's default settings
xhochy
0
140
Tailwind CSSを本気でカスタマイズする方法
fsubal
15
5.6k
SIMD Parallel Programming with the Vector API
josepaumard
0
240
AmperとFleetを使ったAndroidアプリ
yoppie
0
280
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
890
Introducing Kotlin Multiplatform in an existing mobile app - Workshop Edition | AndroidMakers Paris
prof18
0
170
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
10
1.7k
Featured
See All Featured
It's Worth the Effort
3n
180
27k
From Idea to $5000 a Month in 5 Months
shpigford
378
45k
GraphQLとの向き合い方2022年版
quramy
33
12k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
The Brand Is Dead. Long Live the Brand.
mthomps
49
29k
Art, The Web, and Tiny UX
lynnandtonic
290
19k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Web development in the modern age
philhawksworth
203
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
The Cult of Friendly URLs
andyhume
74
5.7k
Designing for Performance
lara
601
67k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
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͑Δ
ਆຊ