avatar
kezhenxu94
Blogging about dev, tips & tricks, tutorials and more

Tips

  • Published on
    Developers usually organize their configuration files in a dotfiles repository, while in some cases when you work on specific projects, you have special settings for these projects but you don't want to mess up your dotfiles, in this post I'll show you how to set per-project local configurations without changing your dotfiles.
  • Published on
    Editing complex commands in VIM command mode can be a pain, especially when you need to jump around the command to fix a typo. In this post, I will show you different ways how to edit commands in VIM command mode like a pro.
  • Published on
    In this post, you will learn how to use the expression register to evaluate a mathematical expresion and insert the result in vim, you will also learn how to use expression register in combination with other registers to evaluate a long expression
  • Published on
    In this post, you will learn how to perform some minor modifications such as inserting new line above/below current line, deleting current line, inserting at the beginning/ending of current line, etc. without leaving insert mode.
  • Published on
    Using NeoVim as my PDE has been a great experience, it does not only help in programming my projects, but also help in programming the IDE itself. In this post, I'll show you how to perform code actions across many files in NeoVim, which is very hard, if not impossible, to do in other IDEs.