Initial configuration converted to lua
Still many missing plugins and configurations
This commit is contained in:
parent
c41172efbd
commit
ec02529615
19 changed files with 137 additions and 472 deletions
10
home/.config/nvim/lua/keybinds.lua
Normal file
10
home/.config/nvim/lua/keybinds.lua
Normal 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>')
|
Loading…
Add table
Add a link
Reference in a new issue