Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 583 Bytes

File metadata and controls

21 lines (17 loc) · 583 Bytes

Day 16 - delete a function

  • % -> match brackets( () or {} or [])

vim-indent-object

  • operation + ii -> within function

  • operation + ai -> the whole function(such as python)

  • operation + aI -> the whole function(javascript)

  • tips: "ai" => "aI" in setting.json

delete a function

  • dap -> functions which doesn't have any blanks
  • dai -> you have to operate within functions
  • v$%d -> change setting to leader + d + f