local keymap = vim.api.nvim_set_keymap local opts = { noremap = true, silent = true } -- undo and rendo file content keymap("n", "", ":undo", opts) keymap("n", "", ":redo", opts) -- save file keymap("n", "", ":w", opts) -- open file manager keymap("n", "", ":Files", opts) -- close tab keymap('n', '', ':BufferClose', opts) -- move between tabs keymap('n', '', ':BufferPrevious', opts) keymap('n', '', ':BufferNext', opts) -- open cmd to create new file keymap('n', '', ':e ', opts) -- install plugins keymap('n', '', ':PackerInstall', opts) -- packer keymap('n', '', ':PlugInstall', opts) -- plug