Compare commits
No commits in common. "3e87972f4b71697652c2c3f10e10da65d9735de7" and "9d5941daccae463a4c115aa06ce7818d321c809e" have entirely different histories.
3e87972f4b
...
9d5941dacc
7 changed files with 14 additions and 64 deletions
|
|
@ -46,7 +46,7 @@ on-focus-changed = [
|
|||
alt-v = 'split vertical'
|
||||
alt-shift-v = 'split horizontal'
|
||||
|
||||
alt-z = 'fullscreen'
|
||||
alt-f = 'fullscreen'
|
||||
|
||||
alt-s = 'layout v_accordion'
|
||||
alt-t = 'layout h_accordion'
|
||||
|
|
|
|||
|
|
@ -61,12 +61,3 @@ keybind = all:ctrl+shift+period=text:\x1b\x1f\x4c\x23\x1f
|
|||
keybind = shift+enter=text:\x1b\r
|
||||
keybind = ctrl+left_bracket=text:\x1b
|
||||
# keybind = ctrl+a=text:\x01
|
||||
|
||||
# macOS-style copy/paste (Super = Cmd equivalent)
|
||||
keybind = super+c=copy_to_clipboard
|
||||
keybind = super+v=paste_from_clipboard
|
||||
keybind = super+a=select_all
|
||||
|
||||
keybind = alt+c=copy_to_clipboard
|
||||
keybind = alt+v=paste_from_clipboard
|
||||
keybind = alt+a=select_all
|
||||
|
|
|
|||
|
|
@ -7,11 +7,6 @@ close_on_child_death yes
|
|||
confirm_os_window_close 0
|
||||
macos_option_as_alt yes
|
||||
|
||||
# macOS-style copy/paste (Super = Cmd equivalent)
|
||||
map super+c copy_to_clipboard
|
||||
map super+v paste_from_clipboard
|
||||
map super+a select_all
|
||||
|
||||
background #062329
|
||||
foreground #d1b897
|
||||
# cursor-color #ffffff
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ set shell = "/bin/bash -l"
|
|||
# Editor
|
||||
set editor = "nvim"
|
||||
set edit_headers = yes
|
||||
set query_command = "echo '' && notmuch address from:/%s/"
|
||||
set query_command = "notmuch address '%s'"
|
||||
set attach_save_dir = "~/"
|
||||
|
||||
# General settings
|
||||
|
|
|
|||
|
|
@ -112,8 +112,7 @@ in
|
|||
'';
|
||||
windowManager.i3 =
|
||||
let
|
||||
modifier = "Mod4"; # Alt key for i3, freeing Super for macOS-like app shortcuts
|
||||
# superModifier = "Mod1";
|
||||
modifier = "Mod4";
|
||||
powerManagementMode = " : Screen [l]ock, [e]xit, [s]uspend, [h]ibernate, [R]eboot, [S]hutdown";
|
||||
miscellaneousMode = "D [p]ause, D [c]ontinue";
|
||||
resizeMode = " : [h] , [j] , [k] , [l] ";
|
||||
|
|
@ -179,8 +178,6 @@ in
|
|||
"${modifier}+Shift+p" = "focus mode_toggle";
|
||||
"${modifier}+Shift+c" = "reload";
|
||||
"${modifier}+Shift+r" = "restart";
|
||||
"${modifier}+z" = "fullscreen";
|
||||
"${modifier}+f" = "nop";
|
||||
# mode
|
||||
"${modifier}+r" = ''mode "${resizeMode}"'';
|
||||
"${modifier}+Escape" = ''mode "${powerManagementMode}"'';
|
||||
|
|
@ -212,7 +209,7 @@ in
|
|||
# others
|
||||
"${modifier}+space" = "exec --no-startup-id ${dmenu}";
|
||||
"${modifier}+b" = "exec --no-startup-id ${terminal} -e ${yazi}";
|
||||
"${modifier}+x" = "exec --no-startup-id ${boomer}"; # tsoding's zoom
|
||||
"${modifier}+z" = "exec --no-startup-id ${boomer}"; # tsoding's zoom
|
||||
# "${modifier}+Shift+Return" = "exec ${second_terminal}";
|
||||
# reset
|
||||
"${modifier}+Shift+e" = null;
|
||||
|
|
|
|||
|
|
@ -35,41 +35,8 @@
|
|||
insert = "S-insert";
|
||||
};
|
||||
meta = {
|
||||
# NOTE: c, v, x are NOT remapped here - they're handled by terminal/app configs
|
||||
# This preserves Ctrl+C = SIGINT in terminals (macOS behavior)
|
||||
|
||||
# # Undo/Redo/Save/Select All/Find
|
||||
# z = "C-z";
|
||||
# "shift+z" = "C-y";
|
||||
# s = "C-s";
|
||||
# a = "C-a";
|
||||
# f = "C-f";
|
||||
#
|
||||
# # Tab/Window management
|
||||
# w = "C-w";
|
||||
# t = "C-t";
|
||||
# n = "C-n";
|
||||
# q = "A-F4";
|
||||
|
||||
# Text navigation (macOS-style)
|
||||
left = "home";
|
||||
right = "end";
|
||||
up = "C-home";
|
||||
down = "C-end";
|
||||
backspace = "C-backspace";
|
||||
|
||||
# Other common shortcuts
|
||||
r = "C-r";
|
||||
p = "C-p";
|
||||
o = "C-o";
|
||||
l = "C-l";
|
||||
"/" = "C-/";
|
||||
};
|
||||
"meta+shift" = {
|
||||
left = "S-home";
|
||||
right = "S-end";
|
||||
up = "C-S-home";
|
||||
down = "C-S-end";
|
||||
w = "macro(C-w)";
|
||||
a = "macro(C-a)";
|
||||
};
|
||||
"capslock:C" = { };
|
||||
};
|
||||
|
|
@ -87,8 +54,8 @@
|
|||
commonSettings
|
||||
{
|
||||
main = {
|
||||
# leftalt = "layer(meta)";
|
||||
# leftmeta = "layer(alt)";
|
||||
leftalt = "layer(meta)";
|
||||
leftmeta = "layer(alt)";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue