mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use search() instead of /
This commit is contained in:
parent
0fbba2966c
commit
924dff4955
@ -23,10 +23,10 @@ fun! CalibreLog()
|
|||||||
" making a release.
|
" making a release.
|
||||||
enew
|
enew
|
||||||
read ! git log --first-parent "--pretty=\%an:::\%n\%s\%n\%b\%n" -500
|
read ! git log --first-parent "--pretty=\%an:::\%n\%s\%n\%b\%n" -500
|
||||||
setl nomodifiable noswapfile buftype=nofile nohlsearch
|
setl nomodifiable noswapfile buftype=nofile
|
||||||
hi def link au Keyword
|
hi def link au Keyword
|
||||||
syntax match au /^.*:::$/
|
syntax match au /^.*:::$/
|
||||||
nnoremap <silent> <buffer> ]n /:::$/1<CR>
|
nnoremap <silent> <buffer> n :call cursor(1+search('\V:::\$', 'n'), 0)<CR>
|
||||||
nnoremap <silent> <buffer> yb vt#t<Space>y
|
nnoremap <silent> <buffer> yb vt#t<Space>y
|
||||||
normal! gg2j
|
normal! gg2j
|
||||||
edit Changelog.yaml
|
edit Changelog.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user