Compare commits
No commits in common. "b1ff8190075cca150e8e3d417846e2e52c4f9dee" and "e7b8d9281090c5be2d46de4b6c04741db8322769" have entirely different histories.
b1ff819007
...
e7b8d92810
4 changed files with 4 additions and 17 deletions
|
@ -1,5 +1,3 @@
|
||||||
# Home-manager module
|
|
||||||
|
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs = {
|
programs = {
|
||||||
fzf = {
|
fzf = {
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
# Home-manager module
|
|
||||||
|
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs = {
|
programs = {
|
||||||
tmux = {
|
tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mouse = true;
|
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
terminal = "tmux-256color";
|
terminal = "screen-256color";
|
||||||
newSession = true;
|
newSession = true;
|
||||||
historyLimit = 30000;
|
historyLimit = 30000;
|
||||||
|
|
||||||
|
@ -17,11 +14,10 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
bind-key -n Home send Escape "OH"
|
bind-key -n Home send Escape "OH"
|
||||||
bind-key -n End send Escape "OF"
|
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 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"
|
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,11 +65,7 @@ export const Bar = () => Window({
|
||||||
|
|
||||||
centerWidget: Box({
|
centerWidget: Box({
|
||||||
children: [
|
children: [
|
||||||
Separator(12),
|
|
||||||
|
|
||||||
CurrentWindow(),
|
CurrentWindow(),
|
||||||
|
|
||||||
Separator(12),
|
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,11 @@
|
||||||
# Home-manager module
|
# Home-manager module
|
||||||
|
|
||||||
{ config, ... }: {
|
{ lib, config, ... }: {
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
env = {
|
env = {
|
||||||
POKE = "true";
|
POKE = "true";
|
||||||
|
|
||||||
# fix wrong colors in tmux
|
|
||||||
TERM = "xterm-256color";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
key_bindings = [
|
key_bindings = [
|
||||||
|
|
Loading…
Reference in a new issue