Lines Matching refs:cursor
147 let middles = {'%': '%', 'd': a:date, 'u': a:user, 'c': '{cursor}'}
161 " Position the cursor once we've done all the funky substitution.
163 if search('{cursor}') > 0
166 let cursor = stridx(line, '{cursor}')
167 call setline(lnum, substitute(line, '{cursor}', '', ''))
177 call cursor(1, 1)
184 call cursor(nextnonblank(line('.') + 1), 1)
193 call cursor(p + 1, 1)
201 " Make sure we have a cursor positioning.
202 if stridx(todays_entry, '{cursor}') == -1
203 let todays_entry = todays_entry . '{cursor}'
214 " Reposition cursor once we're done.
215 call cursor(1, 1)