From 1f873a77ca9beb19f41c854b81097162f8e2d1a5 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sun, 21 May 2023 21:58:04 +0200 Subject: [PATCH] Aggiunta snippets per ssh. --- .gitignore | 1 + vim/UltiSnips/sshconfig.snippets | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 vim/UltiSnips/sshconfig.snippets diff --git a/.gitignore b/.gitignore index 154ec3f..0ccee94 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ zsh/distro.base.zsh vim/autoload/plug.vim vim/plugged +vim/pack vim/bundle vim/spell diff --git a/vim/UltiSnips/sshconfig.snippets b/vim/UltiSnips/sshconfig.snippets new file mode 100644 index 0000000..fd78e7d --- /dev/null +++ b/vim/UltiSnips/sshconfig.snippets @@ -0,0 +1,10 @@ +snippet stanza "Stanza di configurazione SSH per BgWorld" +Host ${1:name} + HostName ${2:hostname} + Port 4321 + User bgworld + IdentityFile ~/.ssh/bgworld/id_rsa + ProxyCommand ssh -W %h:%p ${3:proxy} + $0#LocalForward 59090 127.0.0.1:9090 + +endsnippet