(add-to-list 'lin-mode-hooks 'gnus-group-mode-hook)
(add-to-list 'lin-mode-hooks 'gnus-server-mode-hook)
(global-diff-hl-mode)
+ (global-hl-line-mode)
(lin-global-mode 1)
(transient-mark-mode)
(show-paren-mode))
(kill-region (point) end))))
#+end_src
+** Pulse current line :cmd:
+:PROPERTIES:
+:CUSTOM_ID: pulse-line
+:END:
+
+#+begin_src emacs-lisp
+ (defun esy/pulse-line ()
+ "Pulse current line."
+ (interactive)
+ (pulse-momentary-highlight-one-line))
+#+end_src
+
+
** Misc. keybindings
:PROPERTIES:
:CUSTOM_ID: misc-keybindings
(global-set-key (kbd "C-.") #'embark-act)
(global-set-key (kbd "C-;") #'avy-goto-char-timer)
(global-set-key (kbd "C-s-f") #'toggle-frame-fullscreen)
+ (global-set-key (kbd "C-s-l") #'esy/pulse-line)
(global-set-key [remap just-one-space] #'cycle-spacing))
(add-hook 'after-init-hook #'esy/customize-global-keymap)