aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarc Coquand <marc@baemingo.com>2023-06-13 07:19:49 +0200
committerMarc Coquand <marc@baemingo.com>2023-06-13 07:19:49 +0200
commitfacd424d4850a987eebad60625cddade635854dc (patch)
treef7978dc8eb2cf0df1536347782a81076a54b6de9 /doc
parent88c3399611eddc12d04f81c5bff09b3fb5e6250d (diff)
downloadBufferBrowser-facd424d4850a987eebad60625cddade635854dc.tar.gz
BufferBrowser-facd424d4850a987eebad60625cddade635854dc.tar.bz2
BufferBrowser-facd424d4850a987eebad60625cddade635854dc.zip
Update readme
Diffstat (limited to '')
-rw-r--r--doc/BufferBrowser.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/BufferBrowser.txt b/doc/BufferBrowser.txt
index dd4c305..f7b633a 100644
--- a/doc/BufferBrowser.txt
+++ b/doc/BufferBrowser.txt
@@ -5,8 +5,8 @@ This plugin implements two functions:
require('buffer-browser').prev()
You can easily map these to whatever you want. Here is an example `init.lua`:
- vim.api.nvim_set_keymap('n', '<leader>b[', require("buffer_browser").next(), {desc = "Next [B]uffer [[]"})
- vim.api.nvim_set_keymap('n', '<leader>b]', require("buffer_browser").prev(), {desc = "Previous [B]uffer []]"})
+ vim.keymap.set('n', '<leader>b[', require("buffer_browser").next, {desc = "Next [B]uffer [[]"})
+ vim.keymap.set('n', '<leader>b]', require("buffer_browser").prev, {desc = "Previous [B]uffer []]"})
CONFIGURATION