From 4c8cf56ce10de4d5253f810776b7f73e5f57947d Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 14 Mar 2020 17:10:20 +0100 Subject: migrated fish.txt --- fish.txt | 22 ---------------------- src/SUMMARY.md | 1 + src/fish.md | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 22 deletions(-) delete mode 100644 fish.txt create mode 100644 src/fish.md diff --git a/fish.txt b/fish.txt deleted file mode 100644 index 346df12..0000000 --- a/fish.txt +++ /dev/null @@ -1,22 +0,0 @@ -# fish-shell ------------------------------------------------------------------------------------------------------------------------- - -# toc - |keymaps| - |debug| - - - *keymaps* - Shift-Tab tab-completion with search - Alt-Up / Alt-Down search history with token under the cursor - Alt-l list content of dir under cursor - Alt-p append '2>&1 | less;' to current cmdline - - - - *debug* - status print-stack-trace prints function stacktrace (can be used in scripts) - breakpoint halt script execution and gives shell (C-d | exit to continue) - - ------------------------------------------------------------------------------------------------------------------------- -vim:ft=help:sts=2:et:tw=120:cc=120:fo+=t - diff --git a/src/SUMMARY.md b/src/SUMMARY.md index db14b8c..cea9f22 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -4,6 +4,7 @@ - [gdb](./gdb.md) - [radare2](./radare2.md) - [emacs](./emacs.md) +- [fish](./fish.md) - [strace](./strace.md) - [lsof](./lsof.md) - [pidstat](./pidstat.md) diff --git a/src/fish.md b/src/fish.md new file mode 100644 index 0000000..f24b57f --- /dev/null +++ b/src/fish.md @@ -0,0 +1,16 @@ +# fish(1) + +## keymaps +```markdown + Shift-Tab ........... tab-completion with search + Alt-Up / Alt-Down ... search history with token under the cursor + Alt-l ............... list content of dir under cursor + Alt-p ............... append '2>&1 | less;' to current cmdline +``` + +## debug +```markdown + status print-stack-trace .. prints function stacktrace (can be used in scripts) + breakpoint ................ halt script execution and gives shell (C-d | exit + to continue) +``` -- cgit v1.2.3