feat: better setup for new keyboard
This commit is contained in:
parent
b201cb63b3
commit
51ede48ebf
@ -27,7 +27,7 @@ bindsym {
|
|||||||
$mod+Space exec wofi --show drun --allow-images
|
$mod+Space exec wofi --show drun --allow-images
|
||||||
$mod+c exec wl-copy
|
$mod+c exec wl-copy
|
||||||
$mod+v exec wl-paste
|
$mod+v exec wl-paste
|
||||||
$mod+l exec swaylock
|
$mod+Shift+l exec swaylock
|
||||||
}
|
}
|
||||||
|
|
||||||
# Kill focused window
|
# Kill focused window
|
||||||
@ -63,10 +63,10 @@ bindsym {
|
|||||||
|
|
||||||
# Focus Windows
|
# Focus Windows
|
||||||
bindsym {
|
bindsym {
|
||||||
$mod+Left focus left
|
$mod+h focus left
|
||||||
$mod+Down focus down
|
$mod+j focus down
|
||||||
$mod+Up focus up
|
$mod+k focus up
|
||||||
$mod+Right focus right
|
$mod+l focus right
|
||||||
}
|
}
|
||||||
|
|
||||||
# Reload configuration file
|
# Reload configuration file
|
||||||
@ -84,6 +84,8 @@ bindsym {
|
|||||||
# Media player controls
|
# Media player controls
|
||||||
XF86AudioPlay exec playerctl play-pause
|
XF86AudioPlay exec playerctl play-pause
|
||||||
XF86AudioPause exec playerctl play-pause
|
XF86AudioPause exec playerctl play-pause
|
||||||
|
XF86AudioNext exec playerctl next
|
||||||
|
XF86AudioPrev exec playerctl previous
|
||||||
XF86AudioForward exec playerctl next
|
XF86AudioForward exec playerctl next
|
||||||
XF86AudioRewind exec playerctl previous
|
XF86AudioRewind exec playerctl previous
|
||||||
}
|
}
|
||||||
@ -94,10 +96,10 @@ bindsym {
|
|||||||
set $mode_move_window "Move Window"
|
set $mode_move_window "Move Window"
|
||||||
mode $mode_move_window {
|
mode $mode_move_window {
|
||||||
bindsym {
|
bindsym {
|
||||||
Right move right
|
l move right
|
||||||
Left move left
|
h move left
|
||||||
Down move down
|
j move down
|
||||||
Up move up
|
k move up
|
||||||
Escape mode "default"
|
Escape mode "default"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -106,10 +108,10 @@ mode $mode_move_window {
|
|||||||
set $mode_move_workspace_monitor "Move Workspace Monitor"
|
set $mode_move_workspace_monitor "Move Workspace Monitor"
|
||||||
mode $mode_move_workspace_monitor {
|
mode $mode_move_workspace_monitor {
|
||||||
bindsym {
|
bindsym {
|
||||||
Right move workspace to output right
|
l move workspace to output right
|
||||||
Left move workspace to output left
|
h move workspace to output left
|
||||||
Down move workspace to output down
|
j move workspace to output down
|
||||||
Up move workspace to output up
|
k move workspace to output up
|
||||||
Escape mode "default"
|
Escape mode "default"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,6 @@ return {
|
|||||||
exit_behavior = "Close",
|
exit_behavior = "Close",
|
||||||
scrollback_lines = 20000,
|
scrollback_lines = 20000,
|
||||||
native_macos_fullscreen_mode = true,
|
native_macos_fullscreen_mode = true,
|
||||||
-- term = "wezterm",
|
term = "wezterm",
|
||||||
warn_about_missing_glyphs = true,
|
warn_about_missing_glyphs = true,
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ init() {
|
|||||||
source "${wkdir}/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
source "${wkdir}/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||||
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
|
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
|
||||||
source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
|
source "${wkdir}/zsh-vi-mode/zsh-vi-mode.zsh"
|
||||||
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
|
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
|
||||||
|
|
||||||
configure
|
configure
|
||||||
|
1
dots/.config/zsh/config/plugins/zsh-vi-mode
Submodule
1
dots/.config/zsh/config/plugins/zsh-vi-mode
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit debe9c8ad191b68b143230eb7bee437caba9c74f
|
@ -10,7 +10,11 @@ export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
|||||||
|
|
||||||
|
|
||||||
### FZF ###
|
### FZF ###
|
||||||
[[ -r "${XDG_CONFIG_HOME}/fzf/fzf.zsh" ]] && source "${XDG_CONFIG_HOME}/fzf/fzf.zsh"
|
zvm_after_init ()
|
||||||
|
{
|
||||||
|
[[ -r "${XDG_CONFIG_HOME}/fzf/fzf.zsh" ]] && source "${XDG_CONFIG_HOME}/fzf/fzf.zsh"
|
||||||
|
}
|
||||||
|
|
||||||
export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git --color=always'
|
export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git --color=always'
|
||||||
export FZF_DEFAULT_OPTS="--height=80% --layout=reverse --info=inline --border --margin=1 --ansi"
|
export FZF_DEFAULT_OPTS="--height=80% --layout=reverse --info=inline --border --margin=1 --ansi"
|
||||||
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
|
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
autoload -z edit-command-line
|
|
||||||
zle -N edit-command-line
|
|
||||||
bindkey "^X^E" edit-command-line
|
|
Loading…
Reference in New Issue
Block a user