diff options
author | Marc Coquand <marc@baemingo.com> | 2023-06-13 07:21:36 +0200 |
---|---|---|
committer | Marc Coquand <marc@baemingo.com> | 2023-06-13 07:21:36 +0200 |
commit | 15438f96df67184c137525a03d1eeca1d51b377e (patch) | |
tree | 753c4b50459b808ac9413ea29b7416451decb813 | |
parent | facd424d4850a987eebad60625cddade635854dc (diff) | |
download | BufferBrowser-15438f96df67184c137525a03d1eeca1d51b377e.tar.gz BufferBrowser-15438f96df67184c137525a03d1eeca1d51b377e.tar.bz2 BufferBrowser-15438f96df67184c137525a03d1eeca1d51b377e.zip |
Diffstat (limited to '')
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | doc/BufferBrowser.txt | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -21,8 +21,8 @@ This plugin implements two functions: `require('buffer-browser').next()` and You can easily map these to whatever you want. Here is an example `init.lua`: ```lua -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 []]"}) +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 [[]"}) ``` Use these to navigate your buffer history in the order that you opened them. diff --git a/doc/BufferBrowser.txt b/doc/BufferBrowser.txt index f7b633a..6f324c7 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.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 []]"}) + 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 |