added zen mode plugin for neovim, order sessions alphabetically in tmux

This commit is contained in:
2025-06-03 23:35:14 +05:00
parent 1195d9a9bc
commit 9bc657fd61
3 changed files with 16 additions and 0 deletions

View File

@ -75,6 +75,15 @@ lazy.setup({
dependencies = { "nvim-lua/plenary.nvim" },
},
{
"folke/zen-mode.nvim",
opts = {
window = {
backdrop = 1
}
}
},
{
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",

View File

@ -166,6 +166,10 @@ bindsym --to-code --locked XF86AudioPlay exec playerctl play-pause
bindsym --to-code --locked XF86AudioPause exec playerctl play-pause
bindsym --to-code --locked XF86AudioNext exec playerctl next
bindsym --to-code --locked XF86AudioPrev exec playerctl previous
bindsym --to-code --locked Shift+XF86AudioPlay exec mpc toggle
bindsym --to-code --locked Shift+XF86AudioPause exec mpc toggle
bindsym --to-code --locked Shift+XF86AudioNext exec mpc next
bindsym --to-code --locked Shift+XF86AudioPrev exec mpc prev
# special key to take a screenshot with grim
bindsym --to-code $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy

View File

@ -16,6 +16,9 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection
# Use y to yank current selection
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
# open alphabetically sorted session list
bind s choose-tree -Zs -O name
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U