Compare commits

...

2 Commits

Author SHA1 Message Date
Joao P Dubas
7952de22d6 chore: add gnu parallel
This allows one to execute commands in [parallel][0].

[0]: https://www.gnu.org/software/parallel/
2023-12-21 14:07:58 +00:00
db09a2683b feat(nvim): add oil.nvim file explorer (#20)
Add [oil.nvim][0] file explorer to make it easier to handle folders and files.

[0]: https://github.com/stevearc/oil.nvim

Reviewed-on: #20
2023-12-21 14:06:53 +00:00
2 changed files with 14 additions and 5 deletions

View File

@ -59,6 +59,7 @@ RUN apt-get update \
net-tools \
openssh-client \
openssl \
parallel \
pkg-config \
python3-openssl \
sudo \

View File

@ -96,10 +96,10 @@ return {
local opts = { buffer = bufnr }
vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts)
vim.keymap.set('t', 'jk', [[<C-\><C-n>]], opts)
vim.keymap.set('t', '<C-h>', [[<Cmd>wincmd h<CR>]], opts)
vim.keymap.set('t', '<C-j>', [[<Cmd>wincmd j<CR>]], opts)
vim.keymap.set('t', '<C-k>', [[<Cmd>wincmd k<CR>]], opts)
vim.keymap.set('t', '<C-l>', [[<Cmd>wincmd l<CR>]], opts)
vim.keymap.set('t', '<C-h>', [[<cmd>wincmd h<cr>]], opts)
vim.keymap.set('t', '<C-j>', [[<cmd>wincmd j<cr>]], opts)
vim.keymap.set('t', '<C-k>', [[<cmd>wincmd k<cr>]], opts)
vim.keymap.set('t', '<C-l>', [[<cmd>wincmd l<cr>]], opts)
vim.keymap.set('t', '<C-w>', [[<C-\><C-n><C-w>]], opts)
end
})
@ -109,5 +109,13 @@ return {
{ '<leader>mc', '<cmd>ToggleTermSendCurrentLine<cr>', desc = 'Send [c]urrent line under the cursor', noremap = true }
}
end
}
},
{
'stevearc/oil.nvim',
dependencies = { "nvim-tree/nvim-web-devicons" },
keys = {
{ '-', '<cmd>Oil<cr>', desc = "Open parent directory" },
},
opts = {},
},
}