Skip to content

Commit

Permalink
Bind terraform-open-doc to C-C C-d C-w
Browse files Browse the repository at this point in the history
  • Loading branch information
dod38fr committed May 29, 2023
1 parent daa4dee commit e4d455f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ folds-or-indents. It is not bound by default, but you can bind it to

### Access to Terraform resource documentation

Within a `resource` or a `data` block, type `C-c C-h` to open a new
Within a `resource` or a `data` block, type `C-c C-d C-w` to open a new
browser tab with the resource or data documentation page.

## Customize Variables
Expand Down
2 changes: 1 addition & 1 deletion terraform-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ If the point is not at the heading, call

(defvar terraform-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "C-c C-h") #'terraform-open-doc)
(define-key map (kbd "C-c C-d C-w") #'terraform-open-doc)
(define-key map (kbd "C-c C-f") #'outline-toggle-children)
map))

Expand Down

0 comments on commit e4d455f

Please sign in to comment.