diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-18 17:55:43 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-18 18:09:26 +0200 |
commit | 1bd730718e5e7420c446904433d20df6aabb7658 (patch) | |
tree | 5936fe022835462ea7c48756ccd6df2a3eb1cc58 | |
parent | 8bc5185b5601ab11c714dc725a1328f8ccdd3948 (diff) |
added debuc binds
-rw-r--r-- | config/essentials/nvim/after/plugin/luasnip.lua | 11 | ||||
-rw-r--r-- | config/extra/tridactyl/tridactylrc | 9 |
2 files changed, 16 insertions, 4 deletions
diff --git a/config/essentials/nvim/after/plugin/luasnip.lua b/config/essentials/nvim/after/plugin/luasnip.lua index d1da9b3..d29b484 100644 --- a/config/essentials/nvim/after/plugin/luasnip.lua +++ b/config/essentials/nvim/after/plugin/luasnip.lua @@ -144,6 +144,17 @@ ls.add_snippets("java", { ls.add_snippets("sh", { s("TD", t "THISDIR=$(dirname $(readlink -f \"$0\"))"), parse("fn", "$1 ()\n{\n\t$2\n}$0", {}), + -- Functions + parse("rchar", + [[ + read_char () + { + old_stty_cfg=$(stty -g) + stty raw -echo + dd ibs=1 count=1 2> /dev/null + stty \$old_stty_cfg + } + ]], {}), parse("fdie", [[ die () diff --git a/config/extra/tridactyl/tridactylrc b/config/extra/tridactyl/tridactylrc index fa6ed1d..2b98c9d 100644 --- a/config/extra/tridactyl/tridactylrc +++ b/config/extra/tridactyl/tridactylrc @@ -52,10 +52,11 @@ bind gwc winopen https://chat.openai.com/chat bind gnp tabopen https://github.com/Siilwyn/awesome-pixel-art#tutorials bind gop open https://github.com/Siilwyn/awesome-pixel-art#tutorials bind gwp winopen https://github.com/Siilwyn/awesome-pixel-art#tutorials -" deluge -bind gnd tabopen http://192.168.178.52:8112/ -bind god open http://192.168.178.52:8112/ -bind gwd winopen http://192.168.178.52:8112/ +" transmission +bind godb open http://debuc.com/ +bind godt open http://debuc.com:9091 +bind gods open http://debuc.com:5030 +bind godj open http://debuc.com:8096 " For syntax highlighting see https://github.com/tridactyl/vim-tridactyl " vim: set filetype=tridactyl |