nftable-migration
 1;;; vde-simple --- Common functions for my configuration -*- lexical-binding: t -*-
 2
 3;; Copyright (C) 2025 Vincent Demeester
 4;; Author: Vincent Demeester <vincent@sbr.pm>
 5
 6;; This file is NOT part of GNU Emacs.
 7;;; Commentary:
 8;;
 9;; Simple and useful function for a lot of things.
10;;
11;;; Code:
12
13(defvar vde-simple-override-mode-map (make-sparse-keymap)
14  "Key map of `vde-simple-override-mode'.
15Enable that mode to have its key bindings to take effect over those of the major mode.")
16
17(define-minor-mode vde-simple-override-mode
18  "Enable the `vde-simple-override-mode-map'."
19  :init-value nil
20  :global t
21  :keymap vde-simple-override-mode-map)
22
23(provide 'vde-simple)
24;;; vde-simple.el ends here