aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-08-20 15:13:11 +0000
committerCody Hiar <codyfh@gmail.com>2018-08-20 15:13:11 +0000
commit831851c3203ef2cf988212b9a6ea0ed75385ee92 (patch)
tree46140295ea61b8b64cd385fbb2d92ff7c726df1e /plugin/vim-options.vim
parentc60b4dc1d07d9e56e74dd6ebf541c2a7a82e93c7 (diff)
Adding terraform options
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 58d1de4..82417ca 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -118,6 +118,8 @@ nnoremap <leader>esr :source $SessionDir/session.vim<CR>
" Jump to first/last line in a paragraph
nnoremap <A-{> k{w
nnoremap <A-}> j}k^
+vnoremap <A-{> k{w
+vnoremap <A-}> j}k^
nnoremap <leader>y :call system('nc -w 1 172.17.0.1 41401', @0)<CR>
@@ -333,3 +335,14 @@ if !empty(glob($EditorDir.'plugged/vim-markdown/indent/markdown.vim'))
endif
"-----------------------------------------------------------------------------------------------------------------------
+
+
+"-----------------------------------------------------------------------------------------------------------------------
+" Terraform
+"-----------------------------------------------------------------------------------------------------------------------
+if !empty(glob($EditorDir.'plugged/vim-terraform/ftplugin/terraform.vim'))
+ let g:terraform_align=1
+ let g:terraform_commentstring='//%s'
+endif
+"-----------------------------------------------------------------------------------------------------------------------
+