Compare commits
2 commits
e7b8d92810
...
b1ff819007
Author | SHA1 | Date | |
---|---|---|---|
b1ff819007 | |||
52718d070a |
4 changed files with 17 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
# Home-manager module
|
||||
|
||||
{ pkgs, ... }: {
|
||||
programs = {
|
||||
fzf = {
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
# Home-manager module
|
||||
|
||||
{ pkgs, ... }: {
|
||||
programs = {
|
||||
tmux = {
|
||||
enable = true;
|
||||
mouse = true;
|
||||
keyMode = "vi";
|
||||
terminal = "screen-256color";
|
||||
terminal = "tmux-256color";
|
||||
newSession = true;
|
||||
historyLimit = 30000;
|
||||
|
||||
|
@ -14,10 +17,11 @@
|
|||
extraConfig = ''
|
||||
bind-key -n Home send Escape "OH"
|
||||
bind-key -n End send Escape "OF"
|
||||
set -g mouse on
|
||||
set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
|
||||
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
|
||||
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
|
||||
|
||||
set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
|
||||
set -ga terminal-overrides ",*256col*:Tc"
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
@ -65,7 +65,11 @@ export const Bar = () => Window({
|
|||
|
||||
centerWidget: Box({
|
||||
children: [
|
||||
Separator(12),
|
||||
|
||||
CurrentWindow(),
|
||||
|
||||
Separator(12),
|
||||
],
|
||||
}),
|
||||
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
# Home-manager module
|
||||
|
||||
{ lib, config, ... }: {
|
||||
{ config, ... }: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
env = {
|
||||
POKE = "true";
|
||||
|
||||
# fix wrong colors in tmux
|
||||
TERM = "xterm-256color";
|
||||
};
|
||||
|
||||
key_bindings = [
|
||||
|
|
Loading…
Reference in a new issue