Skip to content

Commit 791051c

Browse files
committed
change previous/next descriptor map to use [] instead of NP
1 parent 6414b79 commit 791051c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ https://user-images.githubusercontent.com/39915/148492614-d88d21cf-a6a2-4a18-a50
6767
* `<localleader>rn` populates the Vim command line with `:Recinf`.
6868
* `<localleader>rs` populates the Vim command line with `:Recsel`.
6969
* `<localleader>rv` populates the Vim command line with `:Rec2csv`.
70-
* `<localleader>rN` jumps to the next record descriptor.
71-
* `<localleader>rP` jumps to the previous record descriptor.
70+
* `<localleader>r]` jumps to the next record descriptor.
71+
* `<localleader>r[` jumps to the previous record descriptor.
7272
* `<localleader>r?` show the current record descriptor in a popup/floating/preview window.
7373
7474
## Auto-completion

doc/rec.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ These |recutils-commands| maps are available in the |recutils| buffers only.
4444
<localleader>rn Populates the command line with :Recinf.
4545
<localleader>rs Populates the command line with :Recsel.
4646
<localleader>rv Populates the command line with :Rec2csv
47-
<localleader>rN Jump to the next record descriptor.
48-
<localleader>rP Jump to the previous record descriptor.
47+
<localleader>r] Jump to the next record descriptor.
48+
<localleader>r[ Jump to the previous record descriptor.
4949
<localleader>r? Show the current record descriptor in a
5050
popup/floating/preview window.
5151

ftplugin/rec.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ if !get(g:, 'recutils_no_maps')
6161
nnoremap <buffer> <localleader>rn :Recinf<space>
6262
nnoremap <buffer> <localleader>rs :Recsel<space>
6363
nnoremap <buffer> <localleader>rv :Rec2csv<space>
64-
noremap <silent> <buffer> <localleader>rN :RecNextDescriptor<cr>
65-
noremap <silent> <buffer> <localleader>rP :RecPreviousDescriptor<cr>
64+
noremap <silent> <buffer> <localleader>r] :RecNextDescriptor<cr>
65+
noremap <silent> <buffer> <localleader>r[ :RecPreviousDescriptor<cr>
6666
noremap <silent> <buffer> <localleader>r? :RecPreviewDescriptor<cr>
6767
endif
6868

0 commit comments

Comments
 (0)