refactor(nvim): move plugin config to the
... `after/plugin` directory
This commit is contained in:
parent
8cf3fed368
commit
7d3b82884c
13 changed files with 4 additions and 14 deletions
8
roles/neovim/files/after/plugin/floaterm.lua
Normal file
8
roles/neovim/files/after/plugin/floaterm.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
local options = { noremap = true }
|
||||
|
||||
map("n", "<leader>ld", "<cmd>FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazydocker<cr>", options)
|
||||
map("n", "<leader>lg", "<cmd>FloatermNew --autoclose=2 --height=0.9 --width=0.9 lazygit<cr>", options)
|
||||
map("n", "<leader>nn", "<cmd>FloatermNew --autoclose=2 --height=0.5 --width=0.5 nnn -Hde<cr>", options)
|
||||
map("n", "<leader>tt", "<cmd>FloatermNew --autoclose=2 --height=0.9 --width=0.9 zsh<cr>", options)
|
Loading…
Add table
Add a link
Reference in a new issue