Skip to content

Instantly share code, notes, and snippets.

View tommmyy's full-sized avatar
🏠
Working from home

Tomáš Konrády tommmyy

🏠
Working from home
View GitHub Profile
@tommmyy
tommmyy / javascript-for-vim-refactoring.js
Created November 5, 2018 19:19 — forked from iamnewton/javascript-for-vim-refactoring.js
Moving faster with Vim (5-minute lightning talk presentation). I wasn't inspired to learn effective command of Vim until I saw some people flying around faster than I thought was possible. The goal of this presentation is to call out how slow "normal" text editing is, and how many keystrokes can be reduced by using increasingly more terse Vim co…
$(function() {
// good opportunity to combine into a single statement
// qq w cw <esc> A, <esc> 0 j q
var a = 10;
var b = 20;
var c = 30;
var d = 40;
var e = 50;
// opportunity to simplify syntax