Skip to content

faceleg/delete-surrounding-function-call.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

delete-surrounding-function-call.vim

Provides dsf mapping that will delete a surrounding function call when invoked.

Examples

  • foo(ba|r); dsf results in ba|r
  • Module::Foo.new("b|ar") dsf results in b|ar
  • foo(baz(ba|r)); dsf results in foo(ba|r)

Credit

Lovingly copy-pasted from Andrew Radev's How I Vim post.

About

Deletes a surrounding function call with `dsf`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published