This commit is contained in:
Hadi 2024-10-03 10:18:49 +02:00
parent fe657984fe
commit 7047ffe785
4 changed files with 28 additions and 1 deletions

View File

@ -7,6 +7,9 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md))
- [ ] Hyprland - [ ] Hyprland
- [ ] Fix screenshots (screenshot region's border shows up in the screenshot, hyprshot jq error?) and add in the scripts doc - [ ] Fix screenshots (screenshot region's border shows up in the screenshot, hyprshot jq error?) and add in the scripts doc
- [ ] Nixvim - [ ] Nixvim
- [ ] Harpoon
- [ ] UFO for folding
- [ ] neotest golang
- [ ] Keymaps: - [ ] Keymaps:
- Trouble - Trouble
- Tagbar (actually not working) - Tagbar (actually not working)

View File

@ -1,6 +1,14 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
programs.kitty = { programs.kitty = {
enable = true; enable = true;
# Reset existing mappings
keybindings = {
"ctrl+alt+tab" = "next_tab";
"ctrl+alt+shift+tab" = "previous_tab";
# Send Ctrl Tab and Ctrl + Shift + Tab for Tmux navigation
"ctrl+tab" = "send_text all \\x1b[27;5;9~";
"ctrl+shift+tab" = "send_text all \\x1b[27;6;9~";
};
settings = { settings = {
scrollback_lines = 10000; scrollback_lines = 10000;
initial_window_width = 1200; initial_window_width = 1200;

View File

@ -13,6 +13,22 @@
bind-key k select-pane -U bind-key k select-pane -U
bind-key l select-pane -R bind-key l select-pane -R
set -gq allow-passthrough on set -gq allow-passthrough on
bind-key -n C-Tab select-window -n
bind-key -n C-S-Tab previous-window
bind-key "t" run-shell "sesh connect \"$(
sesh list -t | fzf-tmux -p 65%,70% \
--no-sort --ansi --border-label ' sesh ' --prompt ' ' \
--header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
--bind 'tab:down,btab:up' \
--bind 'ctrl-a:change-prompt( )+reload(sesh list)' \
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
--bind 'ctrl-g:change-prompt( )+reload(sesh list -c)' \
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
--bind 'ctrl-d:execute(tmux kill-session -t {})+change-prompt( )+reload(sesh list)'
)\""
''; '';
plugins = with pkgs; [ plugins = with pkgs; [

View File

@ -1,6 +1,6 @@
{ pkgs, lib, config, ... }: { { pkgs, lib, config, ... }: {
home.packages = with pkgs; [ bat ripgrep tldr ]; home.packages = with pkgs; [ bat ripgrep tldr sesh ];
home.sessionPath = [ "$HOME/go/bin" ]; home.sessionPath = [ "$HOME/go/bin" ];