Just a guy doing stuff.

  • 0 Posts
  • 173 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle















  • Most of the productivity comes from the motions; Being able to jump around the text incredibly fast, combining motions with actions and repeats, it’s unparalleled in the sheer speed. I can delete an entire function with the same basic pattern Id use to delete a word.

    daf -> Delete the current function my cursor is on daw -> Delete the current word d3af -> Delete the next three functions

    Stuff like that, but with everything





  • I have most of the features of an IDE in my neovim config; name a feature and there’s almost certainly a plugin for it!

    Those are just a few small examples. One of my favorite things that vim enables for me is working with text objects. Things like functions, variables, classes, conditionals, paramters… Etc. Any action works with any text object - Want to jump to the next function in the file? Copy everything inside of a conditional? Cut everything up to (but not including) the nearest capital D on the line? Delete just the word your cursor is in the middle of (and one of the spaces around it)? Delete the current line and the N lines below it?

    The motions make editing code incredibly fast, and I still have modern features like variable completion, copilot, intellisense, ‘jump to definition’, “hover” information, fuzzy search in project… Name a feature. I highly recommend giving it a closer look for stuff like that.