Created
October 9, 2022 20:52
-
-
Save oitzujoey/d4d7e3820c619ff8c13c7c3e7251b9bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require :vis) | |
;; `WIN_OPEN' will be converted to `win_open' | |
(vis.events.subscribe vis.events.WIN_OPEN | |
(defun [win] | |
(vis@command "set number on") | |
(vis@command "set autoindent on") | |
(vis@command "set tabwidth 4") | |
(vis@command "set theme dark-16") | |
(vis@command "set expandtab on") | |
(vis@command "set ignorecase on"))) | |
(defun nmap (k b) | |
(vis@map vis.modes.NORMAL k b)) | |
(nmap ";;" :<vis-window-next>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment