Skip to content

Commit

Permalink
feat(nvim): add scrolling keymap to fzf
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Oct 22, 2024
1 parent 853274a commit 58cf1f5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions configs/nvim/lua/plugin/navigation/fzf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,20 @@ registry.install {
keymap = {
builtin = {
['<C-_>'] = 'toggle-preview',
['<C-u>'] = 'preview-page-up',
['<C-d>'] = 'preview-page-down',
['<S-up>'] = 'preview-up',
['<S-down>'] = 'preview-down',
},
fzf = {
['ctrl-u'] = 'half-page-up',
['ctrl-d'] = 'half-page-down',
['ctrl-b'] = 'half-page-up',
['ctrl-f'] = 'half-page-down',
['ctrl-u'] = 'preview-half-page-up',
['ctrl-d'] = 'preview-half-page-down',
['ctrl-a'] = 'beginning-of-line',
['ctrl-e'] = 'end-of-line',
['alt-q'] = 'select-all+accept',
['ctrl-/'] = 'toggle-preview',
}
},
actions = {
Expand Down

0 comments on commit 58cf1f5

Please sign in to comment.