fuzzy ¤
Classes:
-
FzfTabCompletePreviewThread
–A thread for previewing help docs of selected completion with fzf.
-
LLDBHistory
–Manage your LLDB History
-
LLDBCompleter
–Completer of LLDB
Functions:
-
get_lldb_completes
– -
safe_get_help_docs
– -
should_get_help_docs
–Check if we need to get help docs for another completion that generated by same command.
-
get_lldb_completion_and_status
–Return all possible completions and whether we need to get help docs for all completions.
-
create_fzf_process
–Create a fzf process with given query and preview command.
-
create_preview_fifos
–Create a temporary directory and two FIFOs in it, return the paths of these FIFOs.
-
fzf_reverse_search
–Reverse search history with fzf.
-
fzf_tab_autocomplete
–Tab autocomplete with fzf.
-
wrap_with_history
– -
get_prompt_session
–
Attributes:
-
P
– -
T
– -
PROMPT
– -
HISTORY_FILE
– -
FZF_RUN_CMD
– -
FZF_PRVIEW_WINDOW_ARGS
–
FZF_RUN_CMD module-attribute
¤
FZF_RUN_CMD = (
"fzf",
"--select-1",
"--exit-0",
"--tiebreak=index",
"--no-multi",
"--height=40%",
"--layout=reverse",
)
FZF_PRVIEW_WINDOW_ARGS module-attribute
¤
FzfTabCompletePreviewThread ¤
FzfTabCompletePreviewThread(
fifo_input_path: str,
fifo_output_path: str,
completion_help_docs: dict[int, str],
**kwargs,
)
Bases: Thread
A thread for previewing help docs of selected completion with fzf.
This is modified from: https://github.com/infokiller/config-public/blob/master/.config/ipython/profile_default/startup/ext/fzf_history.py#L72
Methods:
Attributes:
LLDBHistory ¤
Bases: FileHistory
Manage your LLDB History
Methods:
Attributes:
should_get_help_docs ¤
should_get_help_docs(dbg: LLDB, completion: str) -> bool
Check if we need to get help docs for another completion that generated by same command.
get_lldb_completion_and_status ¤
get_lldb_completion_and_status(dbg: LLDB, query: str) -> tuple[list[str], bool]
Return all possible completions and whether we need to get help docs for all completions.
create_fzf_process ¤
Create a fzf process with given query and preview command.
create_preview_fifos ¤
Create a temporary directory and two FIFOs in it, return the paths of these FIFOs.
This is modified from: https://github.com/infokiller/config-public/blob/652b4638a0a0ffed9743fa9e0ad2a8d4e4e90572/.config/ipython/profile_default/startup/ext/fzf_history.py#L128
fzf_reverse_search ¤
Reverse search history with fzf.