dotfiles/home/.config/nvim/lua/keybinds.lua
Marko Korhonen ec02529615
Initial configuration converted to lua
Still many missing plugins and configurations
2020-12-14 19:11:20 +02:00

10 lines
271 B
Lua

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>')