Basics of an emacs package

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 ;;; dummy.el --- just a dummy package ;; Author: Y.S ;; Version: 0.1 ;; Keywords: orgmode, gitlab ;;; Code: (require 'cl-lib) ;;hello: is staying hello (defun ol-hello () "Say hello." (interactive) (insert "Hello")) ;;; Commentary: ;; Sync org mode file with gitlab (provide 'orglab) ;;; orglab ends here

May 23, 2022 · 1 min · YS

Some Emacs Magit useful commands

Magit is the famous git client for emacs. Like many tools in emacs, it is very versatile and can do more than one thing. Here is a list of some useful command that can save time on a daily basis. Commit history Direct command M-x magit-log-current Status Buffer l l Commit history for other branch Direct command M-x magit-log-other Status Buffer l o Create new branch from changes Useful when you forgot to switch branches before commiting your work...

March 16, 2022 · 1 min · YS