tweek to start orientation of Rg current buffer #1189
-
this is a great tool So I have a quick question, this is my config thus far https://github.com/TimelordUK/configs/blob/main/.config/nvim/lua/plugins/fzf-lua.lua 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, i did try changinging a few things so far to no avail. I want equivalent of fb to open and F5 to be done autimatically for this particular command. I also added based on documents a zoxide integration ctrl-Z which works well for me. 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. I did try read documentation, im sure i have missed things, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
change layout from
Open 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: fzf-lua/lua/fzf-lua/defaults.lua Lines 82 to 97 in 9c953df |
Beta Was this translation helpful? Give feedback.
change layout from
flex
tovertical
.Open
man fzf
and search for “available actions”, sounds like you wantfirst
andlast
, you can then map these underkeymap.fzf
:Defaults are here:
…