## Default Keybinds
-- `bb`, `:OleoBoardToggle`, Opens and Closes the kanban board
-- `bl`, `:OleoBoardMoveEntryRight`, Moves the current entry to the right
-- `bL`, `:OleoBoardMoveColumnRight`, Moves the current column to the right
-- `bh`, `:OleoBoardMoveEntryLeft`, Moves the current entry to the left
-- `bH`, `:OleoBoardMoveColumnLeft`, Moves the current column to the left
+- `<leader>bb`, `:OleoBoardToggle`, Opens and Closes the kanban board
+- `<leader>bl`, `:OleoBoardMoveEntryRight`, Moves the current entry to the right
+- `<leader>bL`, `:OleoBoardMoveColumnRight`, Moves the current column to the right
+- `<leader>bh`, `:OleoBoardMoveEntryLeft`, Moves the current entry to the left
+- `<leader>bH`, `:OleoBoardMoveColumnLeft`, Moves the current column to the left
[oil]: https://github.com/stevearc/oil.nvim
local name, type = vim.loop.fs_scandir_next(directory_iterator)
if not name then break end
if type == "directory" then
- table.insert(directories, parent_path .. '/' .. name, 1)
+ table.insert(directories, 1, parent_path .. '/' .. name)
end
end
else
function Keybinds.bind()
local api = vim.api
- api.nvim_set_keymap('n', 'bb', '<cmd>OleoBoardToggle<CR>', { noremap = true, silent = true })
- api.nvim_set_keymap('n', 'bl', '<cmd>OleoBoardMoveEntryRight<CR>', { noremap = true, silent = true })
- api.nvim_set_keymap('n', 'bh', '<cmd>OleoBoardMoveEntryLeft<CR>', { noremap = true, silent = true })
- api.nvim_set_keymap('n', 'bL', '<cmd>OleoBoardMoveColumnRight<CR>', { noremap = true, silent = true })
- api.nvim_set_keymap('n', 'bH', '<cmd>OleoBoardMoveColumnLeft<CR>', { noremap = true, silent = true })
+ api.nvim_set_keymap('n', '<leader>bb', '<cmd>OleoBoardToggle<CR>', { noremap = true, silent = true })
+ api.nvim_set_keymap('n', '<leader>bl', '<cmd>OleoBoardMoveEntryRight<CR>', { noremap = true, silent = true })
+ api.nvim_set_keymap('n', '<leader>bh', '<cmd>OleoBoardMoveEntryLeft<CR>', { noremap = true, silent = true })
+ api.nvim_set_keymap('n', '<leader>bL', '<cmd>OleoBoardMoveColumnRight<CR>', { noremap = true, silent = true })
+ api.nvim_set_keymap('n', '<leader>bH', '<cmd>OleoBoardMoveColumnLeft<CR>', { noremap = true, silent = true })
end
return Keybinds