diff options
author | Teddy Wing | 2023-11-29 00:00:08 +0100 |
---|---|---|
committer | Teddy Wing | 2023-11-30 00:05:23 +0100 |
commit | 2531bcbffc998d95de95e6ddc9f725c8714dd19b (patch) | |
tree | d7f95cb0f9aa56f86722c4a68076b8b69680b9e0 /bundle/prr-ui/ftplugin | |
parent | ea426334f9fa8c6dfaa2efeed00f6e25aec4d908 (diff) | |
download | dotvim-2531bcbffc998d95de95e6ddc9f725c8714dd19b.tar.bz2 |
prr-ui: Move to top of file on `PrrApprove` and `PrrReject`
This puts the cursor in the correct position to quickly add a top-level
review comment.
Diffstat (limited to 'bundle/prr-ui/ftplugin')
-rw-r--r-- | bundle/prr-ui/ftplugin/prr/prr_ui.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundle/prr-ui/ftplugin/prr/prr_ui.vim b/bundle/prr-ui/ftplugin/prr/prr_ui.vim index c1dc9d7..06bef42 100644 --- a/bundle/prr-ui/ftplugin/prr/prr_ui.vim +++ b/bundle/prr-ui/ftplugin/prr/prr_ui.vim @@ -1,8 +1,8 @@ let b:undo_ftplugin = '' " TODO: Pick an emoji at random from a pre-defined list. -command! -buffer PrrApprove normal! ggOLooks good <CR><CR>@prr approve<CR><Esc> -command! -buffer PrrReject normal! ggO<CR><CR>@prr reject<CR><Esc> +command! -buffer PrrApprove normal! ggOLooks good <CR><CR>@prr approve<CR><Esc>gg +command! -buffer PrrReject normal! ggO<CR><CR>@prr reject<CR><Esc>gg let b:undo_ftplugin .= '| delcommand -buffer PrrApprove' let b:undo_ftplugin .= '| delcommand -buffer PrrReject' |