Posts

Showing posts with the label vim

Cool Tools: Vim Tricks

This post will help me remember cool tricks I learn in VIM.  It's mostly for me to find things I've forgotten how to do ... Select an XML/HTML tag block Tag blocks * tag-blocks * For the "it" and " at " text objects an attempt is done to select blocks between matching tags for HTML and XML. But since these are not completely compatible there are a few restrictions. The normal method is to select a until the matching . For " at " the tags are included, for "it" they are excluded. But when "it" is repeated the tags will be included (otherwise nothing would change). Also, "it" used on a tag block with no contents will select the leading tag .

Cool Tools: Vim Keybindings

This post will enumerate the vim emulators I use, I expect it to refresh as I learn of more.  The VIM community is very passionate and frequently adds plugins to support VI keybindings in random tools. Here are the tools I use with their vim key bindings.  Chrome/Firefox  -   Vimium  Chrome/Firefox   Textboxes  -   Wasavi  Windows Command Line  -  Clink  ( instructions ) Unix Command Line  - set -o vi OneNote  -  Vim For OneNote Visual Studio - VsVim  (my customization here ) Visual Studio Code  -  VsCodeVim IntelliJ -   IdeaVim  (my customization  here ) XCode  -  XVim  (my customization  here ) Jupyter Notebooks -  jupyter-vim-binding Happy VIMing.