Dot_Files/.config/nvim/lua/core/mappings.lua

18 lines
296 B
Lua
Raw Normal View History

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>")
-- Spell Checking
map("n", "<leader>st",":set spell!<CR>")
2022-01-10 09:55:15 -06:00
end
return M