ethereum / emacs-solidity

The official solidity-mode for EMACS
GNU General Public License v3.0
206 stars 66 forks source link

Gas estimation #19

Closed LefterisJP closed 6 years ago

LefterisJP commented 6 years ago

You can now get a gas estimate of the function under the cursor, by placing the curson on top of the function name and typing C-c C-g.

You can change this default binding by modifying the keymap in your emacs init file

(define-key map (kbd "C-c C-g") 'solidity-estimate-gas-at-point)