1. 36
  1.  

  2. 9

    No matter how many Vim Tips & Tricks articles I encounter, I always learn something new

    1. 2

      I’m not sure if Bram Moolenaar himself knows everything his own software is capable off.

    2. 2

      An extensive list! I never knew about gx either, seems like that should be included in vimtutor

      I can’t seems to get breakindent/showbreak to work as described, it just prepends each wrapped line with \\\… does anyone know how to get this to work?

      1. 3

        They might have some issue going on with the blog post formatting, maybe it’s meant to be 4 (escaped?) spaces? Instead of setting showbreak to 4 spaces, you can set breakindentopt to shift:4.

        Here’s my config:

        set breakindent " indent wrapped lines, by...
        set breakindentopt=shift:4,sbr " indenting them another level and showing 'showbreak' char
        set showbreak=↪
        
        1. 1

          That works perfectly, thanks!