Initial configuration converted to lua

Still many missing plugins and configurations
This commit is contained in:
Marko Korhonen 2020-12-14 19:11:20 +02:00
parent c41172efbd
commit ec02529615
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
19 changed files with 137 additions and 472 deletions

View file

@ -0,0 +1,10 @@
local map = function(type, key, value)
vim.fn.nvim_buf_set_keymap(0, type, key, value, {noremap = true, silent = true})
end
-- Open/close nerdtree
map('n', '<C-t>', '<cmd>NERDTreeToggle<CR>')
-- FZF
map('n', '<C-f>', '<cmd>Files<CR>')
map('n', '<C-g>', '<cmd>Rg<CR>')