docs:vim:folding_tests

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docs:vim:folding_tests [2009/03/06 00:18] – created billhdocs:vim:folding_tests [2009/03/06 00:20] (current) billh
Line 6: Line 6:
   - type :new to split the window with an empty buffer   - type :new to split the window with an empty buffer
   - type this to map the F5 key (or pick another one) to execute our test syntax and folding in the opposite window<code>   - type this to map the F5 key (or pick another one) to execute our test syntax and folding in the opposite window<code>
-map <F5> ggVGy<C-w><C-w>:@"<CR>+:map <F5> ggVGy<C-w><C-w>:@"<CR>
 </code> </code>
   - copy the corresponding code block from below into the new empty buffer   - copy the corresponding code block from below into the new empty buffer
   - while in the empty buffer, press F5 to execute the code block on the opposite buffer window   - while in the empty buffer, press F5 to execute the code block on the opposite buffer window
  
-====== html ======+===== html =====
 <code> <code>
 syn clear syn clear
  • docs/vim/folding_tests.1236323911.txt.gz
  • Last modified: 2009/03/06 00:18
  • by billh