فهرست منبع

Adds ssh config and removes duplicate terraform plugin from vim

Fred Damstra 5 سال پیش
والد
کامیت
081bdd719e
2فایلهای تغییر یافته به همراه19 افزوده شده و 1 حذف شده
  1. 16 0
      .ssh/config
  2. 3 1
      .vimrc

+ 16 - 0
.ssh/config

@@ -0,0 +1,16 @@
+# This uses 'sft resolv' when ssh is called to determine if sft
+# is required to ssh to the destination system.
+#
+# This is used for XDR.
+#
+#SFT configuration. Add the !User centos to ssh using the msoc_build key
+Match exec "/usr/local/bin/sft resolve -q  %h" !User centos
+    ProxyCommand "/usr/local/bin/sft" proxycommand  %h
+    UserKnownHostsFile "/Users/bradpoulton/Library/Application Support/ScaleFT/proxycommand_known_hosts"
+
+# github is listening on port 22, so to ssh to the box, we need to override to use
+# port 122. Must be connected to the VPN.
+Host github
+  Port 122
+  User admin
+  HostName 10.80.101.78

+ 3 - 1
.vimrc

@@ -20,7 +20,6 @@ call plug#begin('~/.vim/plugged')
 Plug 'hashivim/vim-terraform'
 "Plug 'vim-syntastic/syntastic'
 "Plug 'juliosueiras/vim-terraform-completion'
-Plug 'hashivim/vim-terraform'
 call plug#end()
 
 " Syntastic Config
@@ -119,3 +118,6 @@ au BufNewFile,BufRead *.js, *.html, *.css
 "highlight BadWhitespace ctermfg=16 ctermbg=253 guifg=#000000 guibg=#F8F8F0
 "au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /[^\s]\s\+$/
 
+let g:terraform_fold_sections=1
+let g:terraform_align=1
+