add tmux plugin
This commit is contained in:
parent
9225d6e39b
commit
3e941e88b0
|
@ -12,7 +12,7 @@ go install github.com/go-delve/delve/cmd/dlv@latest # for go debug
|
||||||
|
|
||||||
Substitute Mode
|
Substitute Mode
|
||||||
```shell
|
```shell
|
||||||
:V,s/pattern/
|
:V:s/pattern/
|
||||||
```
|
```
|
||||||
|
|
||||||
Check for key combination
|
Check for key combination
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
return {
|
return {
|
||||||
"github/copilot.vim"
|
"github/copilot.vim",
|
||||||
|
config = function()
|
||||||
|
vim.api.nvim_set_keymap("i", "<C-J>", 'copilot#Accept("<CR>")', { silent = true, expr = true })
|
||||||
|
end
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
return {
|
||||||
|
'christoomey/vim-tmux-navigator',
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
vim.keymap.set("n", "<c-h>", "<CMD>TmuxNavigateLeft<CR>", { desc = "tmux window left"})
|
||||||
|
vim.keymap.set("n", "<c-l>", "<CMD>TmuxNavigateRight<CR>", { desc = "tmux window right"})
|
||||||
|
vim.keymap.set("n", "<c-j>", "<CMD>TmuxNavigateDown<CR>", { desc = "tmux window down"})
|
||||||
|
vim.keymap.set("n", "<c-k>", "<CMD>TmuxNavigateUp<CR>", { desc = "tmux window up"})
|
||||||
|
end,
|
||||||
|
}
|
Loading…
Reference in New Issue