This file contains 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
;;; Use the fringe, but make it really small | |
(setq fringe-mode 5) | |
(set-fringe-mode 5) | |
;;; Show uncommited stuff in the margin | |
;;; this also has the nice bonus of letting you | |
;;; easily jump between the hunks and stage them | |
(when window-system | |
(require 'git-gutter-fringe) | |
(setq git-gutter-fr:side 'right-fringe)) |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am hydandata on github. | |
* I am hydandata (https://keybase.io/hydandata) on keybase. | |
* I have a public key whose fingerprint is 78C6 F698 8AB6 5D53 DF54 9269 8E76 EA6A AB7F 21DA | |
To claim this, I am signing this object: |
This file contains 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
;;selecting whole line made easy | |
(transient-mark-mode 1) | |
(defun soft-select-current-line () | |
"Select the current line" | |
(interactive) | |
(back-to-indentation) ;move to soft start of line | |
(set-mark (line-end-position))) | |
(global-set-key (kbd "C-c m") 'soft-select-current-line) |