summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/ksh/dirs2
-rw-r--r--.config/shell/profile2
-rw-r--r--.config/vis/visrc.lua4
-rw-r--r--.editorconfig4
4 files changed, 9 insertions, 3 deletions
diff --git a/.config/ksh/dirs b/.config/ksh/dirs
index a6931b1..02bb175 100755
--- a/.config/ksh/dirs
+++ b/.config/ksh/dirs
@@ -108,6 +108,6 @@ function mcd
do echo "$(( i + 2 ))) ${_push_stack[_push_top + i]}"
i=i+1
done
- } | vis-menu -p 'Hoist:' | cut -d')' -f1)
+ } | vis-menu -l 5 -p 'Hoist:' | cut -d')' -f1)
[ -z "$REPLY" ] || _cd "$REPLY"
}
diff --git a/.config/shell/profile b/.config/shell/profile
index eff95c1..8dcafc9 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -10,6 +10,8 @@ export PATH="$HOME/.local/bin:$PATH"
alias g="git "
alias s="{ git status --short ; git log --oneline @{push}.. ; }"
+alias ga="git add "
+alias gc="git commit "
alias d="docker "
alias k="kubectl "
alias t="terraform "
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua
index 482e822..e4702fb 100644
--- a/.config/vis/visrc.lua
+++ b/.config/vis/visrc.lua
@@ -89,13 +89,13 @@ local pcwd = function()
return "."
end
local parent_cwd = "/proc/" .. fields[4] .. "/cwd"
- vis:info(parent_cwd)
+ -- vis:info(parent_cwd)
return parent_cwd
end
vis:map(m.NORMAL, "<C-x><C-d>", function()
vis:command("cd " .. pcwd())
- local code, result, err = vis:pipe("vis-open .")
+ local code, result, err = vis:pipe("vis-open $(ls -A -1)")
if result then
vis:command("e " .. result)
end
diff --git a/.editorconfig b/.editorconfig
index efcddad..e63d8d7 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -8,6 +8,10 @@ root = true
insert_final_newline = true
trim_trailing_whitespace = true
+[*.{yaml,yml}]
+indent_style = space
+indent_size = 2
+
# Tab indentation (no size specified)
[Makefile]
indent_style = tab