minor neovim changes - I think it's ready to roll
This commit is contained in:
parent
24fb0019f8
commit
bd34387c57
3 changed files with 14 additions and 13 deletions
|
@ -1,12 +1,6 @@
|
|||
local M = {}
|
||||
|
||||
-- chadtree
|
||||
M.chadtree = function ()
|
||||
vim.api.nvim_set_keymap('n', '<leader>v', '<cmd>CHADopen<cr>', { noremap = true, silent = true })
|
||||
-- chadtree_settings.theme.text_colour_set = "trapdoor"
|
||||
end
|
||||
|
||||
-- nvimtree
|
||||
-- nvimtree >>>
|
||||
M.nvimtree = function ()
|
||||
local tree_cb = require'nvim-tree.config'.nvim_tree_callback
|
||||
-- default mappings
|
||||
|
@ -45,8 +39,9 @@ M.nvimtree = function ()
|
|||
{ key = "g?", cb = tree_cb("toggle_help") },
|
||||
}
|
||||
end
|
||||
-- <<<
|
||||
|
||||
-- toggleterm
|
||||
-- toggleterm >>>
|
||||
M.toggleterm = function()
|
||||
require("toggleterm").setup{
|
||||
-- size can be a number or function which is passed the current terminal
|
||||
|
@ -86,7 +81,9 @@ M.toggleterm = function()
|
|||
}
|
||||
}
|
||||
end
|
||||
-- <<<
|
||||
|
||||
return M
|
||||
|
||||
-- vim:expandtab:tabstop=3:sw=3
|
||||
-- vim:fdm=marker:fmr=>>>,<<<:expandtab:tabstop=3:sw=3
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue