First, we define a global prefix key:
(general-create-definer global-definer
:keymaps 'override
:states '(insert emacs normal hybrid motion visual operator)
:prefix "SPC"
:non-normal-prefix "S-SPC")
#!/usr/bin/env bash | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, version 3 of the License. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
# GNU General Public License for more details. |
#!/usr/bin/env bash | |
# disetiap awal script harus pakai #! untuk si script | |
# bisa mencari file "bash", umumnya "#!/bin/bash", tapi | |
# tidak semua operating system menaruh "bash" di "bin", | |
# ada yang di "/usr/bin"(linux pada umumnya), "/usr/local/bin"(bsd) dll. | |
# kalau /usr/bin/env biasanya semua seragam(entah kalau diwindows). | |
# buat function dengan nama LongestWord | |
function LongestWord(){ | |
# ambil setiap parameter yang diberikan |
;;; Config --- Exwm Configuration -*- emacs-lisp -*- | |
;;; Commentary: | |
;;; Code: | |
;; system-tray | |
(use-package exwm) | |
(use-package desktop-environment) | |
(use-package pinentry) | |
(use-package exwm-modeline) | |
(use-package perspective) |