Skip to content

tweek to start orientation of Rg current buffer #1189

Answered by ibhagwan
TimelordUK asked this question in Q&A
Discussion options

You must be logged in to vote

for my keybinding fb I would like to start with equivalent of f5 i.e. like below - but I have to press f5 each time

change layout from flex to vertical.

can someone also tell me in Rg section can i quickly go to bottom or top - i would like to use this tool amongst many things to whiz through logs finding things of interest.

Open man fzf and search for “available actions”, sounds like you want first and last, you can then map these under keymap.fzf:

require'fzf-lua'.setup({
  keymap = {
    fzf = {
      -- this table overrides the defaults so make sure to copy all other fzf keybinds you want here
      ['alt-g'] = 'first',
      ['shift-g'] = 'last',
    }
  }
})

Defaults are here:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@TimelordUK
Comment options

@ibhagwan
Comment options

Answer selected by TimelordUK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants