2022-01-10 09:55:15 -06:00
|
|
|
local utils = require("utils.init")
|
|
|
|
local map = utils.map
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
M.setup = function()
|
|
|
|
-- set mapleader to space
|
|
|
|
vim.g.mapleader = " "
|
|
|
|
|
|
|
|
-- Get rid of highlight after search
|
|
|
|
map("n", "<esc>", ":noh<CR>")
|
2022-01-27 23:53:45 -06:00
|
|
|
|
|
|
|
-- Spell Checking
|
|
|
|
map("n", "<leader>st",":set spell!<CR>")
|
|
|
|
|
2022-01-10 09:55:15 -06:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|