nakst/gf

gf-command does not seem to work

bigjeff96 opened this issue · 2 comments

Here is my config file,

[ui]
scale=0.8
font_size=10
maximize=1
layout=h(60,v(75,Source,Console),v(75,t(Files,Watch,Stack,Struct),t(Commands,Breakpoints,Registers,Data,Thread,Exe,Log))))
restore_watch_window=1

[commands]
save_breakpoints= save breakpoints breakpoints.txt;
load_breakpoints= source breakpoints.txt;
start_with_reverse= start;target record-full;
start=start;

[shortcuts]
Ctrl+z=gf-step
Ctrl+x=gf-next
Ctrl+c=continue
Ctrl+a=gf-inspect-line
Ctrl+s=gf-command <start>
Alt+z=reverse-step
Alt+x=reverse-next
Alt+c=reverse-continue

When I press the keybinding to run "gf-command ", nothing happens in the gui and there's no output from the console.

nakst commented

You should not put the <> characters. Instead, write Ctrl+s=gf-command start.
I updated the documentation to be clearer: see https://github.com/nakst/gf/blob/master/README.md#gf-command.

ohh my bad, thx