Louis Hollingworth
c5000e27eb
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>
14 lines
372 B
Lua
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>", {})
|