From 94c42349ea6f3f0bdce4d17626a1a0c44e1b9b68 Mon Sep 17 00:00:00 2001 From: junikimm717 <68165832+junikimm717@users.noreply.github.com> Date: Fri, 27 Jan 2023 13:41:13 -0500 Subject: [PATCH] macos alts --- after/plugin/barbar.lua | 56 +++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/after/plugin/barbar.lua b/after/plugin/barbar.lua index 1c7183f..f4861e5 100644 --- a/after/plugin/barbar.lua +++ b/after/plugin/barbar.lua @@ -2,26 +2,50 @@ local map = vim.api.nvim_set_keymap local opts = { noremap = true, silent = true } -- Move to previous/next -map('n', '', 'BufferPrevious', opts) -map('n', '', 'BufferNext', opts) +map('n', '≤', 'BufferPrevious', opts) +map('n', '≥', 'BufferNext', opts) -- Re-order to previous/next -map('n', '', 'BufferMovePrevious', opts) -map('n', '>', 'BufferMoveNext', opts) +map('n', '¯', 'BufferMovePrevious', opts) +map('n', '˘', 'BufferMoveNext', opts) -- Goto buffer in position... -map('n', '', 'BufferGoto 1', opts) -map('n', '', 'BufferGoto 2', opts) -map('n', '', 'BufferGoto 3', opts) -map('n', '', 'BufferGoto 4', opts) -map('n', '', 'BufferGoto 5', opts) -map('n', '', 'BufferGoto 6', opts) -map('n', '', 'BufferGoto 7', opts) -map('n', '', 'BufferGoto 8', opts) -map('n', '', 'BufferGoto 9', opts) -map('n', '', 'BufferLast', opts) +map('n', '¡', 'BufferGoto 1', opts) +map('n', '™', 'BufferGoto 2', opts) +map('n', '£', 'BufferGoto 3', opts) +map('n', '¢', 'BufferGoto 4', opts) +map('n', '∞', 'BufferGoto 5', opts) +map('n', '§', 'BufferGoto 6', opts) +map('n', '¶', 'BufferGoto 7', opts) +map('n', '•', 'BufferGoto 8', opts) +map('n', 'ª', 'BufferGoto 9', opts) +map('n', 'º', 'BufferLast', opts) -- Pin/unpin buffer -map('n', '', 'BufferPin', opts) +map('n', 'π', 'BufferPin', opts) -- Close buffer -map('n', '', 'BufferClose', opts) +map('n', 'ç', 'BufferClose', opts) + +---- Move to previous/next +--map('n', '', 'BufferPrevious', opts) +--map('n', '', 'BufferNext', opts) +---- Re-order to previous/next +--map('n', '', 'BufferMovePrevious', opts) +--map('n', '>', 'BufferMoveNext', opts) +---- Goto buffer in position... +--map('n', '', 'BufferGoto 1', opts) +--map('n', '', 'BufferGoto 2', opts) +--map('n', '', 'BufferGoto 3', opts) +--map('n', '', 'BufferGoto 4', opts) +--map('n', '', 'BufferGoto 5', opts) +--map('n', '', 'BufferGoto 6', opts) +--map('n', '', 'BufferGoto 7', opts) +--map('n', '', 'BufferGoto 8', opts) +--map('n', '', 'BufferGoto 9', opts) +--map('n', '', 'BufferLast', opts) +---- Pin/unpin buffer +--map('n', '', 'BufferPin', opts) +---- Close buffer +--map('n', '', 'BufferClose', opts) + + -- Wipeout buffer -- :BufferWipeout -- Close commands