From 831851c3203ef2cf988212b9a6ea0ed75385ee92 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 20 Aug 2018 15:13:11 +0000 Subject: Adding terraform options --- plugin/vim-options.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'plugin/vim-options.vim') 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 esr :source $SessionDir/session.vim " Jump to first/last line in a paragraph nnoremap k{w nnoremap j}k^ +vnoremap k{w +vnoremap j}k^ nnoremap y :call system('nc -w 1 172.17.0.1 41401', @0) @@ -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 +"----------------------------------------------------------------------------------------------------------------------- + -- cgit v1.2.3