diff options
author | Federico Igne <git@federicoigne.com> | 2023-02-22 10:09:47 +0100 |
---|---|---|
committer | Federico Igne <git@federicoigne.com> | 2023-02-22 10:09:47 +0100 |
commit | a2216a0b7aae67ec6d59ae269806819070aab99e (patch) | |
tree | bad0d3cb0cc66ebd58169af01ef54ffdff198450 | |
parent | c6eb88b9bf3ab2ba104a5dc202bf2086a5c47dba (diff) | |
download | dotfiles-a2216a0b7aae67ec6d59ae269806819070aab99e.tar.gz dotfiles-a2216a0b7aae67ec6d59ae269806819070aab99e.zip |
[nvim] fix mapping for popup terminal
-rw-r--r-- | neovim/.config/nvim/plugin/mappings.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neovim/.config/nvim/plugin/mappings.lua b/neovim/.config/nvim/plugin/mappings.lua index e6dbe6a..94958c7 100644 --- a/neovim/.config/nvim/plugin/mappings.lua +++ b/neovim/.config/nvim/plugin/mappings.lua | |||
@@ -49,8 +49,8 @@ map.nore.n('<leader>tv', '<cmd>vertical Term<cr>') | |||
49 | map.nore.n('<leader>tS', '<cmd>botright Term<cr>') | 49 | map.nore.n('<leader>tS', '<cmd>botright Term<cr>') |
50 | map.nore.n('<leader>tV', '<cmd>botright vertical Term<cr>') | 50 | map.nore.n('<leader>tV', '<cmd>botright vertical Term<cr>') |
51 | 51 | ||
52 | map.nore.n('<leader>`', '<cmd>lua require"dyamon".terminal.toggle({ border = "rounded" })<cr>') | 52 | map.nore.n('<leader>`', '<cmd>lua require"dyamon".terminal.toggle({ win = { border = "rounded" } })<cr>') |
53 | map.nore.t('<c-w>`', '<c-\\><c-n>:lua require"dyamon".terminal.toggle()<cr>') | 53 | map.nore.t('<c-w>`', '<c-\\><c-n>:lua require"dyamon".terminal.toggle({})<cr>') |
54 | map.nore.t('<c-w>', '<c-\\><c-n><c-w>') | 54 | map.nore.t('<c-w>', '<c-\\><c-n><c-w>') |
55 | 55 | ||
56 | -- Zettel | 56 | -- Zettel |