This repository has been archived on 2025-01-07. You can view files and clone it, but cannot push or open issues or pull requests.
opdavies.nvim/after/plugin/rest-nvim.lua
Oliver Davies cdd3ff23b7 Update rest-nvim configuration
- Remove use of `pcall` to simplify requiring the plugin.
- Replace usages of custom keybinding functions with `vim.keymap.set()`.
2024-05-16 18:28:30 +01:00

6 lines
209 B
Lua

require("rest-nvim").setup()
vim.keymap.set("n", "<leader>rr", "<plug>RestNvim<cr>")
vim.keymap.set("n", "<leader>rp", "<plug>RestNvimPreview<cr>")
vim.keymap.set("n", "<leader>rl", "<plug>RestNvimLast<cr>")