# VIM Shorcut ## Insert Mode - insert (Behind current Selector) = i - append (After current Selector) = a - Normal Mode = esc - ## Delete - delete whole line = dd - delete whole line without deleting line = S (Capital) - delete current selected = s ## Insertion - insert line above = O (Capital) - insert line below = o ## Selection - Extend Selection = ctrl + w - Select whole line = V (Capital) ## Rename - F2 - Ctrl + Shift + R - Ctrl + R ## Mapping - go to line Up= (Line Number) + k - go to line Down= (Line Number) + j - Search keyword = Space + (keyword) - find function name = , + m - go to top of file = g - go to end of line = ll - go to start of line = hh ## ?? - add Should().Be() = zsb - go to throw new = zx - return = zrt - run all test = zra - run test / runContext = zrc - clear current double quotes = zcc - introduce field = zrf - introduce parameter = zrp - put into setup = zrs - duplicate test function = zat - silent reformat = Ctrl + E + F - inline field = zri - introduce variable = zrv - c + f + (keyword) = delete from selector to (keyword)