Loading ...
Sorry, an error occurred while loading the content.

2639Re: Smart Home Macro

Expand Messages
  • cp200205
    May 6, 2011
      I made the macro more complex than necessary. Below is a simpler version with a few qwirks fixed...

      ==== BEGIN ====
      ; Go to the first non-blank character on the current line. If already there,
      ; go to column 1
      define-macro smart-home
      set-variable #l0 $window-acol


      !while &sin @wc " \t"
      !force forward-char

      !if &equal $window-acol #l0
      ==== END ====

      You can get the updated version on my github repo with other items as well, https://github.com/jcowgar/dotmicroemacs

    • Show all 5 messages in this topic