lambdapaul/nvim/after/plugin/behavior.lua
Paul W. 48ca7757c8 Add Neovim config
Signed-off-by: Paul W. <lambdapaul@protonmail.com>
2023-10-30 23:21:13 -04:00

15 lines
360 B
Lua

require 'nvim-autopairs'
.setup()
require 'better_escape'
.setup()
require 'Comment'
.setup()
vim.keymap.set('n', '<Leader>f', vim.lsp.buf.format)
vim.keymap.set('n', '<Leader>e', vim.cmd.Neotree)
vim.keymap.set('n', '<Leader>g', vim.cmd.Rg)
vim.keymap.set('n', '<Leader>G', vim.cmd.FZF)
vim.keymap.set('n', '<leader>u', vim.cmd.UndotreeToggle)