Add basic bindings.

Adding some simple global keybindings
This commit is contained in:
Robert Morrison 2022-07-15 04:47:32 +01:00
parent 92107d2c3d
commit 0634a59d22
Signed by: robert
GPG Key ID: 73E012EB3F4EC696
2 changed files with 15 additions and 0 deletions

View File

@ -6,3 +6,4 @@
require('sherlock5512.plugins')
require('sherlock5512.settings')
require('sherlock5512.bindings')

View File

@ -0,0 +1,14 @@
vim.g.mapleader = '\\'
vim.g.maplocalleader = "\\"
local map = vim.api.nvim_set_keymap
local snr = {
noremap = true,
silent = true,
}
map("n","<leader>ec",":edit $MYVIMRC<CR>",snr)
map("n","<leader>sc",":source $MYVIMRC<CR>", snr)
map("n","<leader>n",":CHADopen<CR>",snr)
map("n","<leader>bb","<C-^>",snr)