summaryrefslogtreecommitdiff
path: root/lua/niliara/buffers.lua
diff options
context:
space:
mode:
authornil <niljo@airmail.cc>2025-01-14 20:14:37 +0100
committernil <niljo@airmail.cc>2025-01-14 20:14:37 +0100
commit2f483e68303c33d6aa3723d887b09998c3f20ee4 (patch)
tree29ec62ba1cf3f6b10cffa2efd8f6da41f5db5603 /lua/niliara/buffers.lua
Diffstat (limited to 'lua/niliara/buffers.lua')
-rw-r--r--lua/niliara/buffers.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/niliara/buffers.lua b/lua/niliara/buffers.lua
new file mode 100644
index 0000000..2ede660
--- /dev/null
+++ b/lua/niliara/buffers.lua
@@ -0,0 +1,7 @@
+-- map gn :bnext<cr>
+-- map gp :bprevious<cr>
+-- map gd :bdelete<cr>
+
+vim.keymap.set("n", "gn", vim.cmd.bnext)
+vim.keymap.set("n", "gp", vim.cmd.bprevious)
+vim.keymap.set("n", "gd", vim.cmd.bdelete)