This commit is contained in:
Benjamin Kyd
2023-03-23 10:18:11 +00:00
parent e0e1361c64
commit 6f3e336644
3 changed files with 16 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ local opts = { noremap = true, silent = true }
vim.api.nvim_set_keymap('i', '<C-v>', '<Esc>"+pa', opts)
-- vscode style quick peek at the tree
vim.api.nvim_set_keymap('n', '<C-b>', ":Lexplore<CR> :vertical resize 30<CR>", { noremap = true })
vim.api.nvim_set_keymap('n', '<C-b>', ":NvimTreeToggle<CR> :vertical resize 30<CR>", { noremap = true })
-- make ctrl-shift arrows line movement
vim.api.nvim_set_keymap('n', '<C-A-Up>', 'ddkP', opts)