Tip #489: Section jump in Latex
tip karma |
Rating 13/7, Viewed by 830
|
created: |
|
June 19, 2003 12:51 |
|
complexity: |
|
basic |
author: |
|
Aditya Mahajan |
|
as of Vim: |
|
6.0 |
This is a small mapping that can be used for jumping sections in a latex file (just like ]m and [m for Java methods)
map <silent> ]s :/\\\(sub\)\{,2}section\s*{<CR> :noh<CR>
map <silent> [s :?\\\(sub\)\{,2}section\s*{<CR> :noh<CR>
I want to extend it to recognize something like 2]s to move two sections forward. How to do it.
Aditya
<<vimrc setting for wider vim diff window (gVim) |
Paste vim registers in search or colon command-line instead of using the system clipboard >>
Additional Notes
|