Welcome to the Emacs Hugo theme! This theme transforms your Hugo blog into an authentic Emacs-like experience.
Getting Started
Try these keyboard shortcuts:
- Press
nandpto navigate between articles - Press
REToroto open an article - Press
qto go back to the list - Press
tto toggle between dark and light themes - Press
?to see all available shortcuts
Window Management
Just like in Emacs, you can split your view:
C-x 3- Split horizontally (side by side)C-x 2- Split vertically (stacked)C-x 0- Close current windowC-x 1- Close other windowsC-x oorTab- Switch between windows
Code Highlighting
The theme includes syntax highlighting that matches Emacs:
(defun hello-world ()
"A simple greeting function."
(interactive)
(message "Hello, World!"))
def fibonacci(n):
"""Calculate the nth Fibonacci number."""
if n <= 1:
return n
return fibonacci(n - 1) + fibonacci(n - 2)
Enjoy your Emacs-style blogging experience!