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
Follow my leader
Search
nelstrom
January 29, 2014
Technology
10
2.2k
Follow my leader
nelstrom
January 29, 2014
Tweet
Share
More Decks by nelstrom
See All by nelstrom
Modelling State Machines with Ragel
nelstrom
11
24k
Vimprint - A Vim Keystroke Parser
nelstrom
1
1.2k
When & why you should stay out of visual mode
nelstrom
1
3.6k
Vim - Precision editing at the speed of thought
nelstrom
29
5.8k
This is the problem
nelstrom
1
270
Progressive enhancement - a barrier to progress?
nelstrom
1
630
Other Decks in Technology
See All in Technology
退屈なことはDevinにやらせよう〜〜Devin APIを使ったVisual Regression Testの自動追加〜
kawamataryo
4
1.1k
衝突して強くなる! BLUE GIANTと アジャイルチームの共通点とは ― いきいきと活気に満ちたグルーヴあるチームを作るコツ ― / BLUE GIANT and Agile Teams
naitosatoshi
0
290
Snowflakeの生成AI機能を活用したデータ分析アプリの作成 〜Cortex AnalystとCortex Searchの活用とStreamlitアプリでの利用〜
nayuts
0
150
大「個人開発サービス」時代に僕たちはどう生きるか
sotarok
13
7k
まだ間に合う! StrandsとBedrock AgentCoreでAIエージェント構築に入門しよう
minorun365
PRO
11
750
Kubernetes における cgroup driver のしくみ: runwasi の bugfix より
z63d
2
120
制約理論(ToC)入門
recruitengineers
PRO
9
3.7k
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
13
4.1k
ヘブンバーンズレッドのレンダリングパイプライン刷新
gree_tech
PRO
0
440
実践AIガバナンス
asei
3
300
AI時代にPdMとPMMはどう連携すべきか / PdM–PMM-collaboration-in-AI-era
rakus_dev
0
260
「魔法少女まどか☆マギカ Magia Exedra」での負荷試験の実践と学び
gree_tech
PRO
0
450
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.8k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Facilitating Awesome Meetings
lara
55
6.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Documentation Writing (for coders)
carmenintech
73
5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Building an army of robots
kneath
306
46k
Site-Speed That Sticks
csswizardry
10
800
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Transcript
28th January, 2014 Drew Neil @nelstrom FOLLOW my <LEADER>
http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
Using <leader> let mapleader = "," nnoremap <leader><space> :noh<cr>
https://github.com/AndrewRadev/splitjoin.vim/issues/14
VIM’S GRAMMAR and its blind-spots
operator operator d d y y > > delete line
yank line indent line
operator motion d w y $ > G delete word
yank from cursor to EOL indent to end of file
operator non-motion d p d o same as :diffput same
as :diffget <op> <cmd> AVAILABLE!
operator non-motion y s surround.vim c o unimpaired.vim c x
exchange.vim
operator-1 operator-2 d c c d <op1> <op2> <nop> <nop>
AVAILABLE!
TEXT-OBJECTS have vacancies
{i,a} object i “ a ) i t inside double-quotes
around parentheses inside XML tag
None
{i,a} object i <alpha> a <alpha> AVAILABLE! AVAILABLE!
{i,a} object {i,a} l {i,a} e {i,a} r vim-textobj-line vim-textobj-entire
vim-textobj-rubyblock
https://github.com/kana/vim-textobj-user/wiki
NAMESPACED MAPS have vacancies
None
namespace command g w z a reformat selected text toggle
fold open/closed {[,]} c jump to prev/next diff
None
namespace command g c {[,]} o commentary.vim unimpaired.vim {[,]} {u,x,y}
unimpaired.vim
USELESS COMMANDS are useless
None
SUPERCHARGE built-in commands
namespace command g f rails.vim
OVERRIDE COMMANDS that are meant to be overridden
executes `formatprg` = {motion} executes `equalprg` gq {motion}
None
Using formatprg let &formatprg=“pandoc -f html -t markdown” executes `formatprg`,
filtering text through pandoc gq {motion}
28th January, 2014 Drew Neil @nelstrom FOLLOW my <LEADER>