1. larchange
  2. SuperNormal

Commits

larchange  committed d6ffea5

Add description

  • Participants
  • Parent commits b93a2ba
  • Branches default

Comments (0)

Files changed (1)

File plugin/supernormal.vim

View file
  • Ignore whitespace
 "          In visual mode: <Tab> indents, and <S-Tab> un-indent.
 "          In normal mode: switch the window (<S-Tab> to switch in reverse 
 "          order).
-" Home  -> Goto first non blank characters if the cursor is after the first the 
-"          non blank character, otherwise goto the beginning of the line.
+" Home  -> Goto first non word character if the cursor is after the first 
+"          non word character (useful in indented comment).
+"          Goto the first non blank character if the cursor is after the first
+"          non blank character and before the first word
+"          otherwise goto the beginning of the line.
 "          when already at the begining of the line, goto the first non blank
 "          character.
 " Back  -> pop one tags, and in explorer up one directory
 " -----------------------------------------------------------------------------
 
 if !exists("g:SuperNormalDeactivateHomeMapping")
-
     function! GotoFirstWord()
         let save_search = @/
         norm! 0