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.1k
When & why you should stay out of visual mode
nelstrom
1
3.6k
Vim - Precision editing at the speed of thought
nelstrom
29
5.7k
This is the problem
nelstrom
1
260
Progressive enhancement - a barrier to progress?
nelstrom
1
620
Other Decks in Technology
See All in Technology
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
3
450
モノリスの認知負荷に立ち向かう、コードの所有者という思想と現実
kzkmaeda
0
110
ペアーズにおけるData Catalog導入の取り組み
hisamouna
0
230
Symfony in 2025: Scaling to 0
fabpot
2
240
SaaSプロダクト開発におけるバグの早期検出のためのAcceptance testの取り組み
kworkdev
PRO
0
500
スケールアップ企業のQA組織のバリューを最大限に引き出すための取り組み
tarappo
4
1k
Amebaにおける Platform Engineeringの実践
kumorn5s
3
600
LINEギフトのLINEミニアプリアクセシビリティ改善事例
lycorptech_jp
PRO
0
310
「それはhowなんよ〜」のガイドライン #orestudy
77web
6
1.5k
問題解決に役立つ数理工学
recruitengineers
PRO
8
2.3k
Riverpod & Riverpod Generatorを利用して状態管理部分の処理を書き換えてみる簡単な事例紹介
fumiyasac0921
0
120
モンテカルロ木探索のパフォーマンスを予測する Kaggleコンペ解説 〜生成AIによる未知のゲーム生成〜
rist
4
1.2k
Featured
See All Featured
Faster Mobile Websites
deanohume
306
31k
Mobile First: as difficult as doing things right
swwweet
223
9.5k
Making Projects Easy
brettharned
116
6.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Facilitating Awesome Meetings
lara
53
6.3k
Building Applications with DynamoDB
mza
94
6.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
Typedesign – Prime Four
hannesfritz
41
2.6k
Speed Design
sergeychernyshev
28
870
Side Projects
sachag
452
42k
How to Ace a Technical Interview
jacobian
276
23k
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>