-function map(mode, shortcut, command)
- vim.api.nvim_set_keymap(mode, shortcut, command, { noremap = true, silent = true })
-end
-
-function nmap(shortcut, command)
- map('n', shortcut, command)
-end
-
-function imap(shortcut, command)
- map('i', shortcut, command)
-end
-
-function vmap(shortcut, command)
- map('v', shortcut, command)
-end
-
vim.g.mapleader = " "
vim.keymap.set("n", "<F8>", "]s")
vim.keymap.set("n", "<S-F8>", "[s")