nvim/lua/lucxjo/keys.lua
Louis Hollingworth c5000e27eb
New neovim config.
I've been using neovim for a while but the config got messy so here is a
cleaner config.

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
2024-03-02 13:31:01 +00:00

14 lines
372 B
Lua

vim.g.mapleader = " "
local map = vim.api.nvim_set_keymap
map("n", "<leader>p", ":Glow<cr>", {})
map("n", "<leader>ch", ":nohl<cr>", { silent = true })
-- File management
map("n", "<leader>s", ":w<cr>", { silent = true})
map("n", "<leader>q", ":q<cr>", {})
map("n", "<leader>Q", ":q!<cr>", {})
map("n", "<leader>S", ":wq<cr>", {})
map("n", "<leader>fp", ":Ex<cr>", {})