changes
This commit is contained in:
parent
2748983e06
commit
d39468811e
2 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ define_keymap(re.compile("Firefox|Google-chrome|LibreWolf|Chromium"), {
|
||||||
}, "Firefox and Chrome")
|
}, "Firefox and Chrome")
|
||||||
|
|
||||||
#basic emacs
|
#basic emacs
|
||||||
define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "kitty", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "gw2-64.exe", "neovide"), {
|
define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "kitty", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "gw2-64.exe", "neovide", "Material Maker"), {
|
||||||
# Cursor
|
# Cursor
|
||||||
K("C-b"): with_mark(K("left")),
|
K("C-b"): with_mark(K("left")),
|
||||||
K("C-f"): with_mark(K("right")),
|
K("C-f"): with_mark(K("right")),
|
||||||
|
@ -58,19 +58,19 @@ define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-
|
||||||
}, "Basic emacs keys etc")
|
}, "Basic emacs keys etc")
|
||||||
|
|
||||||
|
|
||||||
define_keymap(lambda wm_class: wm_class not in ("discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "nheko", "Signal", "gw2-64.exe"), {
|
define_keymap(lambda wm_class: wm_class not in ("discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "nheko", "Signal", "gw2-64.exe", "Material Maker"), {
|
||||||
# Kill line
|
# Kill line
|
||||||
K("C-k"): [K("Shift-end"), K("C-x"), set_mark(False)],
|
K("C-k"): [K("Shift-end"), K("C-x"), set_mark(False)],
|
||||||
})
|
})
|
||||||
|
|
||||||
# other emacs like
|
# other emacs like
|
||||||
define_keymap(lambda wm_class: wm_class not in ("Emacs", "URxvt", "konsole", "cool-retro-term", "discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "nheko", "Signal"), {
|
define_keymap(lambda wm_class: wm_class not in ("Emacs", "URxvt", "konsole", "cool-retro-term", "discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "nheko", "Signal", "Material Maker"), {
|
||||||
# Beginning/End of file
|
# Beginning/End of file
|
||||||
K("M-Shift-comma"): with_mark(K("C-home")),
|
K("M-Shift-comma"): with_mark(K("C-home")),
|
||||||
K("M-Shift-dot"): with_mark(K("C-end")),
|
K("M-Shift-dot"): with_mark(K("C-end")),
|
||||||
}, "Emacs-like keys")
|
}, "Emacs-like keys")
|
||||||
|
|
||||||
define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "gw2-64.exe"), {
|
define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "gw2-64.exe", "Material Maker"), {
|
||||||
K("C-j"): K("F6")
|
K("C-j"): K("F6")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ tr_name=$(echo $@ | xargs)
|
||||||
if [ x"$tr_name" != x"" ]; then
|
if [ x"$tr_name" != x"" ]; then
|
||||||
tr_name="${tr_name% (*}"
|
tr_name="${tr_name% (*}"
|
||||||
clipdata=$(xclip -selection c -o)
|
clipdata=$(xclip -selection c -o)
|
||||||
echo $clipdata > $HOME/permaclip/$tr_name
|
echo "$clipdata" > $HOME/permaclip/$tr_name
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\0markup-rows\x1ftrue"
|
echo -e "\0markup-rows\x1ftrue"
|
||||||
|
|
Loading…
Reference in a new issue