fix(emacs): modify cpp keybinds
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
22bde4112d
commit
618c261e22
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,11 @@
|
||||||
(defun custom-run-c++ ()
|
(defun custom-run-c++ ()
|
||||||
"Run the produced `bin' binary."
|
"Run the produced `bin' binary."
|
||||||
(interactive)
|
(interactive)
|
||||||
(shell-command "./bin"))
|
|
||||||
|
(let ((buf (get-buffer-create "*bin-output*")))
|
||||||
|
(shell-command "./bin" buf buf)
|
||||||
|
(pop-to-buffer buf)
|
||||||
|
(read-only-mode 1)))
|
||||||
|
|
||||||
(defun configure-c++ ()
|
(defun configure-c++ ()
|
||||||
"Configure my custom C++ enviroment."
|
"Configure my custom C++ enviroment."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue