Compare commits
1 Commits
b5378724da
...
yazi
Author | SHA1 | Date | |
---|---|---|---|
2d6cb31351
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
||||
[submodule "alacritty-theme"]
|
||||
path = alacritty-theme
|
||||
url = git@github.com:alacritty/alacritty-theme
|
||||
[submodule "yazi/flavors"]
|
||||
path = yazi/flavors
|
||||
url = https://github.com/yazi-rs/flavors.git
|
||||
|
@ -47,6 +47,10 @@ mimeapps = { source = "mimeapps.list", target = ".config/mimeapps.list" }
|
||||
# navi
|
||||
navi = { source = "navi", target = ".config/navi" }
|
||||
|
||||
# yazi
|
||||
yazi_flavors = { source = "yazi/flavors", target = ".config/yazi/flavors", ignore = [ "*.md", "scripts", "LICENSE", "*.json", "*.yaml", ".git", ".github", ".gitignore" ] }
|
||||
yazi_theme = { source = "yazi/theme.toml", target = ".config/yazi/theme.toml" }
|
||||
|
||||
# zellij
|
||||
zellij = { source = "zellij", target = ".config/zellij" }
|
||||
|
||||
|
@ -3,3 +3,4 @@ alacritty_theme = "Catppuccin-Macchiato"
|
||||
helix_theme = "catppuccin_mocha"
|
||||
zellij_theme = "catppuccin-macchiato"
|
||||
bat_theme = "Catppuccin Mocha"
|
||||
yazi_flavor = "catppuccin-mocha"
|
||||
|
@ -23,45 +23,8 @@ wrap-at-text-width = true
|
||||
center = ["version-control"]
|
||||
|
||||
[keys.normal]
|
||||
C-R = ":config-reload"
|
||||
|
||||
C-r = ":config-reload"
|
||||
_ = { n = ":set whitespace.render none", a = ":set whitespace.render all" }
|
||||
|
||||
# Git integration with lazygit
|
||||
C-g = [
|
||||
":write-all",
|
||||
":insert-output lazygit >/dev/tty",
|
||||
":redraw",
|
||||
":reload-all"
|
||||
]
|
||||
|
||||
# Search and replace with scooter
|
||||
C-r = [
|
||||
":write-all",
|
||||
":insert-output scooter >/dev/tty",
|
||||
":redraw",
|
||||
":reload-all"
|
||||
]
|
||||
|
||||
[keys.normal.space]
|
||||
i = ":toggle lsp.display-inlay-hints"
|
||||
|
||||
# File explorer with yazi
|
||||
e = [
|
||||
":sh rm -f /tmp/unique-file-c5140c67",
|
||||
":insert-output yazi '%{buffer_name}' --chooser-file=/tmp/unique-file-c5140c67",
|
||||
":insert-output echo \"x1b[?1049h\" > /dev/tty",
|
||||
":open %sh{cat /tmp/unique-file-c5140c67}",
|
||||
":redraw",
|
||||
":set mouse false",
|
||||
":set mouse true",
|
||||
]
|
||||
E = [
|
||||
":sh rm -f /tmp/unique-file-bea21125",
|
||||
":insert-output yazi '%{workspace_directory}' --chooser-file=/tmp/unique-file-bea21125",
|
||||
":insert-output echo \"x1b[?1049h\" > /dev/tty",
|
||||
":open %sh{cat /tmp/unique-file-bea21125}",
|
||||
":redraw",
|
||||
":set mouse false",
|
||||
":set mouse true",
|
||||
]
|
||||
|
@ -3,3 +3,4 @@ alacritty_theme = "Catppuccin-Latte"
|
||||
helix_theme = "catppuccin_latte"
|
||||
zellij_theme = "catppuccin-latte"
|
||||
bat_theme = "Catppuccin Latte"
|
||||
yazi_flavor = "catppuccin-latte"
|
||||
|
1
yazi/flavors
Submodule
1
yazi/flavors
Submodule
Submodule yazi/flavors added at 68326b4ca4
3
yazi/theme.toml
Normal file
3
yazi/theme.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[flavor]
|
||||
dark = "{{yazi_flavor}}"
|
||||
light = "{{yazi_flavor}}"
|
@ -5,7 +5,7 @@ keybinds {
|
||||
// bind "Alt c" { Copy; }
|
||||
}
|
||||
locked {
|
||||
bind "Alt g" { SwitchToMode "Normal"; }
|
||||
bind "Ctrl g" { SwitchToMode "Normal"; }
|
||||
}
|
||||
resize {
|
||||
bind "Ctrl n" { SwitchToMode "Normal"; }
|
||||
|
@ -1,9 +0,0 @@
|
||||
# Allow Ctrl-z to toggle between suspend and resume
|
||||
function Resume {
|
||||
fg
|
||||
zle push-input
|
||||
BUFFER=""
|
||||
zle accept-line
|
||||
}
|
||||
zle -N Resume
|
||||
bindkey "^Z" Resume
|
@ -1,5 +1,5 @@
|
||||
# export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
|
||||
# export DOCKER_SOCKET="$XDG_RUNTIME_DIR/docker.sock"
|
||||
export DOCKER_HOST="unix://$XDG_RUNTIME_DIR/docker.sock"
|
||||
export DOCKER_SOCKET="$XDG_RUNTIME_DIR/docker.sock"
|
||||
export EDITOR="helix"
|
||||
export FINDER="sk"
|
||||
export GPG_TTY=$(tty)
|
||||
|
Reference in New Issue
Block a user