Switch back to using Navigator plugin, got working with TMUX now
This commit is contained in:
parent
cc104dc58f
commit
6881b5dfb9
10
Makefile
10
Makefile
|
@ -21,9 +21,9 @@ POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k
|
||||||
TPM_REPO := https://github.com/tmux-plugins/tpm
|
TPM_REPO := https://github.com/tmux-plugins/tpm
|
||||||
TPM_DIR := $(HOME)/.tmux/plugins/tpm
|
TPM_DIR := $(HOME)/.tmux/plugins/tpm
|
||||||
|
|
||||||
.PHONY: install nopackages clean home packages config zsh ssh nvim
|
.PHONY: install nopackages clean home packages config zsh ssh nvim tmux sort
|
||||||
|
|
||||||
install: home packages config zsh ssh nvim
|
install: home packages config zsh ssh nvim tmux
|
||||||
|
|
||||||
nopackages: home config zsh ssh nvim
|
nopackages: home config zsh ssh nvim
|
||||||
|
|
||||||
|
@ -47,6 +47,12 @@ ssh: $(SSH_TARGETS) $(HOME)/.ssh/sockets
|
||||||
|
|
||||||
nvim: $(PACKER_DIR)
|
nvim: $(PACKER_DIR)
|
||||||
|
|
||||||
|
tmux:
|
||||||
|
python3 -m pip install --user libtmux==0.16.1
|
||||||
|
|
||||||
|
sort:
|
||||||
|
sort -h pkglist.txt -o pkglist.txt
|
||||||
|
|
||||||
$(HOME_TARGETS): $(HOME)/.%: home/%
|
$(HOME_TARGETS): $(HOME)/.%: home/%
|
||||||
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
|
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
|
||||||
$(ZSH_TARGETS): $(ZSH_CUSTOM_DIR)/%.zsh: ohmyzsh/%.zsh
|
$(ZSH_TARGETS): $(ZSH_CUSTOM_DIR)/%.zsh: ohmyzsh/%.zsh
|
||||||
|
|
|
@ -30,3 +30,10 @@ vim.keymap.set('n', '<leader>xw', '<cmd>TroubleToggle workspace_diagnostics<cr>'
|
||||||
vim.keymap.set('n', '<leader>xd', '<cmd>TroubleToggle document_diagnostics<cr>')
|
vim.keymap.set('n', '<leader>xd', '<cmd>TroubleToggle document_diagnostics<cr>')
|
||||||
vim.keymap.set('n', '<leader>xq', '<cmd>TroubleToggle quickfix<cr>')
|
vim.keymap.set('n', '<leader>xq', '<cmd>TroubleToggle quickfix<cr>')
|
||||||
vim.keymap.set('n', '<leader>xl', '<cmd>TroubleToggle loclist<cr>')
|
vim.keymap.set('n', '<leader>xl', '<cmd>TroubleToggle loclist<cr>')
|
||||||
|
|
||||||
|
-- Navigator
|
||||||
|
vim.keymap.set({'n', 't'}, '<A-h>', '<CMD>NavigatorLeft<CR>')
|
||||||
|
vim.keymap.set({'n', 't'}, '<A-l>', '<CMD>NavigatorRight<CR>')
|
||||||
|
vim.keymap.set({'n', 't'}, '<A-k>', '<CMD>NavigatorUp<CR>')
|
||||||
|
vim.keymap.set({'n', 't'}, '<A-j>', '<CMD>NavigatorDown<CR>')
|
||||||
|
vim.keymap.set({'n', 't'}, '<A-p>', '<CMD>NavigatorPrevious<CR>')
|
||||||
|
|
|
@ -155,7 +155,14 @@ require('packer').startup {
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
use 'sunaku/tmux-navigate'
|
use {
|
||||||
|
'numToStr/Navigator.nvim',
|
||||||
|
config = function()
|
||||||
|
require('Navigator').setup {
|
||||||
|
mux = 'auto'
|
||||||
|
}
|
||||||
|
end
|
||||||
|
}
|
||||||
end,
|
end,
|
||||||
config = {
|
config = {
|
||||||
display = {
|
display = {
|
||||||
|
|
|
@ -8,10 +8,9 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
set -g @plugin 'ofirgall/tmux-window-name'
|
set -g @plugin 'ofirgall/tmux-window-name'
|
||||||
set -g @plugin 'noscript/tmux-mighty-scroll'
|
set -g @plugin 'noscript/tmux-mighty-scroll'
|
||||||
set -g @plugin 'jabirali/tmux-tilish'
|
set -g @plugin 'jabirali/tmux-tilish'
|
||||||
set -g @plugin 'sunaku/tmux-navigate'
|
|
||||||
|
|
||||||
# Plugin options.
|
# Plugin options.
|
||||||
set -g @tilish-navigate 'on'
|
set -g @tilish-navigator 'on'
|
||||||
set -g @tilish-dmenu 'on'
|
set -g @tilish-dmenu 'on'
|
||||||
set -g @tmux_window_name_use_tilde "True"
|
set -g @tmux_window_name_use_tilde "True"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ pyenv
|
||||||
python
|
python
|
||||||
python-black
|
python-black
|
||||||
python-isort
|
python-isort
|
||||||
python-libtmux
|
|
||||||
python-pip
|
python-pip
|
||||||
python-pipx
|
python-pipx
|
||||||
python-poetry
|
python-poetry
|
||||||
|
@ -14,6 +13,7 @@ python-pre-commit
|
||||||
python-pynvim
|
python-pynvim
|
||||||
python-virtualenv
|
python-virtualenv
|
||||||
ripgrep
|
ripgrep
|
||||||
|
tmux
|
||||||
tree-sitter
|
tree-sitter
|
||||||
wezterm
|
wezterm
|
||||||
zsh
|
zsh
|
||||||
|
|
Loading…
Reference in a new issue