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 gs "git status"
|
||||
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 hs "home status"
|
||||
alias hd "home diff --ignore-space-at-eol"
|
||||
|
@ -44,10 +44,13 @@ if command -q ls
|
|||
alias lp "ls -l --no-filesize --no-time"
|
||||
end
|
||||
|
||||
# Lsof
|
||||
if command -q lsof
|
||||
alias tcp "lsof -PniTCP"
|
||||
alias udp "lsof -PniUDP"
|
||||
# Netstat
|
||||
if command -q netstat
|
||||
alias tcp "netstat -tpen"
|
||||
alias udp "netstat -upen"
|
||||
alias tcps "netstat -tlpen"
|
||||
alias udps "netstat -ulpen"
|
||||
alias servers "netstat -tulpen"
|
||||
end
|
||||
|
||||
# MPV
|
||||
|
|
|
@ -2,8 +2,8 @@ $main = SUPER
|
|||
|
||||
# Apps
|
||||
bind = $main, B, exec, $browser
|
||||
bind = $main, E, exec, $editor
|
||||
bind = $main, F, exec, $files
|
||||
bind = $main, D, exec, $editor
|
||||
bind = $main, E, exec, $files
|
||||
bind = $main, K, exec, $calendar
|
||||
bind = $main, L, exec, $lockscreen
|
||||
bind = $main, M, exec, $email
|
||||
|
@ -21,7 +21,7 @@ bind =, Print, exec, $screenshot
|
|||
bind = $main, C, killactive,
|
||||
bind = $main, J, togglesplit,
|
||||
bind = $main, V, togglefloating,
|
||||
bind = $main, X, fullscreen,
|
||||
bind = $main, F, fullscreen,
|
||||
|
||||
# Session management
|
||||
bind = $main, Backspace, exit,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
-- ToggleComment
|
||||
vim.api.nvim_create_user_command("ToggleComment", function()
|
||||
local comments = {
|
||||
apkbuild = "#",
|
||||
bash = "#",
|
||||
c = "//",
|
||||
conf = "#",
|
||||
cpp = "//",
|
||||
editorconfig = "#",
|
||||
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