Use alexghergh/nvim-tmux-navigation
Replace `christoomey/vim-tmux-navigator` with `alexghergh/nvim-tmux-navigation`. https://github.com/alexghergh/nvim-tmux-navigation
This commit is contained in:
parent
662ff52b9a
commit
3cfe6444c6
|
@ -1,5 +1,11 @@
|
|||
# Changelog
|
||||
|
||||
## 27th February 2024
|
||||
|
||||
### Changed
|
||||
|
||||
* Replace `christoomey/vim-tmux-navigator` with `alexghergh/nvim-tmux-navigation`.
|
||||
|
||||
## 26th February 2024
|
||||
|
||||
### Added
|
||||
|
|
12
after/plugin/nvim-tmux-navigation.lua
Normal file
12
after/plugin/nvim-tmux-navigation.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
require("nvim-tmux-navigation").setup {
|
||||
disable_when_zoomed = true,
|
||||
|
||||
keybindings = {
|
||||
down = "<C-j>",
|
||||
last_active = "<C-\\>",
|
||||
left = "<C-h>",
|
||||
next = "<C-Space>",
|
||||
right = "<C-l>",
|
||||
up = "<C-k>",
|
||||
},
|
||||
}
|
|
@ -36,6 +36,16 @@ in rec {
|
|||
pkgs2305 = inputs.nixpkgs-2305.legacyPackages.${system};
|
||||
|
||||
customVim = {
|
||||
nvim-tmux-navigation = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "nvim-tmux-navigation";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "alexghergh";
|
||||
repo = "nvim-tmux-navigation";
|
||||
rev = "4898c98702954439233fdaf764c39636681e2861";
|
||||
sha256 = "CxAgQSbOrg/SsQXupwCv8cyZXIB7tkWO+Y6FDtoR8xk=";
|
||||
};
|
||||
};
|
||||
|
||||
tabline-vim = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "tabline-vim";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
|
@ -89,6 +99,7 @@ in rec {
|
|||
|
||||
opdavies-nvim = mkVimPlugin {inherit system;};
|
||||
in [
|
||||
customVim.nvim-tmux-navigation
|
||||
customVim.tabline-vim
|
||||
customVim.vim-caser
|
||||
customVim.vim-heritage
|
||||
|
@ -118,7 +129,6 @@ in rec {
|
|||
vimPlugins.vim-sleuth
|
||||
vimPlugins.vim-terraform
|
||||
vimPlugins.vim-textobj-user
|
||||
vimPlugins.vim-tmux-navigator
|
||||
vimPlugins.vim-unimpaired
|
||||
|
||||
# {
|
||||
|
|
Reference in a new issue