This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Demo http://ascii.io/a/3019 | |
# build | |
gdbb () { | |
# build with debug flags | |
go build -gcflags "-N -l" -o out | |
# make sure the build didn't fail | |
if [ $? != 0 ]; then return; fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Define a "defun" Emacs Evil text object | |
(defun jpl-line-before-end-of-defun (&optional arg) | |
(interactive) | |
(end-of-defun arg) | |
(previous-line)) | |
(defun jpl-line-after-beginning-of-defun (&optional arg) | |
(interactive) | |
(beginning-of-defun arg) | |
(next-line)) |
NewerOlder