Updated config
This commit is contained in:
parent
7547ef0ff1
commit
65053a3bcf
5 changed files with 20 additions and 8 deletions
|
@ -8,7 +8,7 @@ if command -q git
|
||||||
alias gp "git pull"
|
alias gp "git pull"
|
||||||
alias gs "git status"
|
alias gs "git status"
|
||||||
alias home "git --git-dir=$HOME/.home/ --work-tree=$HOME"
|
alias home "git --git-dir=$HOME/.home/ --work-tree=$HOME"
|
||||||
alias homeinit "git clone --bare https://git.urbach.dev/sys/home $HOME/.home && home checkout"
|
alias homeinit "git clone --bare https://git.urbach.dev/eduard/home $HOME/.home && home checkout"
|
||||||
alias h "home"
|
alias h "home"
|
||||||
alias hs "home status"
|
alias hs "home status"
|
||||||
alias hd "home diff --ignore-space-at-eol"
|
alias hd "home diff --ignore-space-at-eol"
|
||||||
|
@ -44,10 +44,13 @@ if command -q ls
|
||||||
alias lp "ls -l --no-filesize --no-time"
|
alias lp "ls -l --no-filesize --no-time"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lsof
|
# Netstat
|
||||||
if command -q lsof
|
if command -q netstat
|
||||||
alias tcp "lsof -PniTCP"
|
alias tcp "netstat -tpen"
|
||||||
alias udp "lsof -PniUDP"
|
alias udp "netstat -upen"
|
||||||
|
alias tcps "netstat -tlpen"
|
||||||
|
alias udps "netstat -ulpen"
|
||||||
|
alias servers "netstat -tulpen"
|
||||||
end
|
end
|
||||||
|
|
||||||
# MPV
|
# MPV
|
||||||
|
|
|
@ -2,8 +2,8 @@ $main = SUPER
|
||||||
|
|
||||||
# Apps
|
# Apps
|
||||||
bind = $main, B, exec, $browser
|
bind = $main, B, exec, $browser
|
||||||
bind = $main, E, exec, $editor
|
bind = $main, D, exec, $editor
|
||||||
bind = $main, F, exec, $files
|
bind = $main, E, exec, $files
|
||||||
bind = $main, K, exec, $calendar
|
bind = $main, K, exec, $calendar
|
||||||
bind = $main, L, exec, $lockscreen
|
bind = $main, L, exec, $lockscreen
|
||||||
bind = $main, M, exec, $email
|
bind = $main, M, exec, $email
|
||||||
|
@ -21,7 +21,7 @@ bind =, Print, exec, $screenshot
|
||||||
bind = $main, C, killactive,
|
bind = $main, C, killactive,
|
||||||
bind = $main, J, togglesplit,
|
bind = $main, J, togglesplit,
|
||||||
bind = $main, V, togglefloating,
|
bind = $main, V, togglefloating,
|
||||||
bind = $main, X, fullscreen,
|
bind = $main, F, fullscreen,
|
||||||
|
|
||||||
# Session management
|
# Session management
|
||||||
bind = $main, Backspace, exit,
|
bind = $main, Backspace, exit,
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
-- ToggleComment
|
-- ToggleComment
|
||||||
vim.api.nvim_create_user_command("ToggleComment", function()
|
vim.api.nvim_create_user_command("ToggleComment", function()
|
||||||
local comments = {
|
local comments = {
|
||||||
|
apkbuild = "#",
|
||||||
bash = "#",
|
bash = "#",
|
||||||
c = "//",
|
c = "//",
|
||||||
|
conf = "#",
|
||||||
cpp = "//",
|
cpp = "//",
|
||||||
editorconfig = "#",
|
editorconfig = "#",
|
||||||
fish = "#",
|
fish = "#",
|
||||||
|
|
5
.config/yazi/keymap.toml
Normal file
5
.config/yazi/keymap.toml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[mgr]
|
||||||
|
prepend_keymap = [
|
||||||
|
{ on = "e", run = "open", desc = "Edit selected file" },
|
||||||
|
{ on = "<Enter>", run = "enter", desc = "Enter the child directory" },
|
||||||
|
]
|
2
.config/yazi/yazi.toml
Normal file
2
.config/yazi/yazi.toml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[mgr]
|
||||||
|
ratio = [0, 3, 1]
|
Loading…
Add table
Add a link
Reference in a new issue