Compare commits
No commits in common. "90b4fd8a73f84dc40ce510a16edb4dcefc35c1e9" and "d589c3fda9a334835a44446fe2117811ae163b23" have entirely different histories.
90b4fd8a73
...
d589c3fda9
|
@ -33,4 +33,24 @@ ex ()
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# change the title of the current window or tab
|
||||||
|
title()
|
||||||
|
{
|
||||||
|
echo -ne "\033]0;$*\007"
|
||||||
|
}
|
||||||
|
|
||||||
|
ssh()
|
||||||
|
{
|
||||||
|
echo -ne '\e[22t'
|
||||||
|
/usr/bin/ssh "$@"
|
||||||
|
echo -ne '\e[23t'
|
||||||
|
}
|
||||||
|
|
||||||
|
su()
|
||||||
|
{
|
||||||
|
echo -ne '\e[22t'
|
||||||
|
/bin/su "$@"
|
||||||
|
echo -ne '\e[23t'
|
||||||
|
}
|
||||||
|
|
||||||
alias m4b-tool='docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd)":/mnt m4b-tool'
|
alias m4b-tool='docker run -it --rm -u $(id -u):$(id -g) -v "$(pwd)":/mnt m4b-tool'
|
|
@ -44,7 +44,7 @@ set termguicolors
|
||||||
set visualbell
|
set visualbell
|
||||||
set noerrorbells
|
set noerrorbells
|
||||||
set whichwrap=<,>,[,],b,
|
set whichwrap=<,>,[,],b,
|
||||||
"set background=dark
|
set background=dark
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set number
|
set number
|
||||||
set autoread
|
set autoread
|
||||||
|
@ -67,7 +67,6 @@ autocmd FileType html set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
autocmd FileType javascript set shiftwidth=4 softtabstop=4 tabstop=4
|
autocmd FileType javascript set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
autocmd FileType htmldjango set shiftwidth=4 softtabstop=4 tabstop=4
|
autocmd FileType htmldjango set shiftwidth=4 softtabstop=4 tabstop=4
|
||||||
autocmd BufNewFile,BufRead *.tera set syntax=django
|
autocmd BufNewFile,BufRead *.tera set syntax=django
|
||||||
autocmd BufNewFile,BufRead justfile setf make "expandtab shiftwidth=8 softtabstop=0
|
|
||||||
|
|
||||||
" Center screen when scrolling search results
|
" Center screen when scrolling search results
|
||||||
nmap n nzz
|
nmap n nzz
|
||||||
|
|
|
@ -18,35 +18,14 @@
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
[delta]
|
[delta]
|
||||||
features = decorations hoopoe
|
features = decorations
|
||||||
line-numbers = true
|
line-numbers = true
|
||||||
#syntax-theme = Solarized (light)
|
syntax-theme = zenburn
|
||||||
|
|
||||||
[delta "hoopoe"]
|
|
||||||
# author: https://github.com/dandavison
|
|
||||||
commit-decoration-style = blue ol
|
|
||||||
commit-style = raw
|
|
||||||
file-style = omit
|
|
||||||
hunk-header-decoration-style = blue box
|
|
||||||
hunk-header-file-style = red
|
|
||||||
hunk-header-line-number-style = "#067a00"
|
|
||||||
hunk-header-style = file line-number syntax
|
|
||||||
light = true
|
|
||||||
minus-emph-style = normal "#ffc0c0"
|
|
||||||
minus-empty-line-marker-style = normal "#ffe0e0"
|
|
||||||
minus-non-emph-style = normal "#ffe0e0"
|
|
||||||
minus-style = normal "#ffe0e0"
|
|
||||||
plus-emph-style = syntax "#a0efa0"
|
|
||||||
plus-empty-line-marker-style = normal "#d0ffd0"
|
|
||||||
plus-non-emph-style = syntax "#d0ffd0"
|
|
||||||
plus-style = syntax "#d0ffd0"
|
|
||||||
syntax-theme = GitHub
|
|
||||||
zero-style = syntax
|
|
||||||
|
|
||||||
[delta "decorations"]
|
[delta "decorations"]
|
||||||
#commit-decoration-style = bold yellow box
|
commit-decoration-style = bold yellow box
|
||||||
#file-style = bold blue
|
file-style = bold yellow
|
||||||
file-decoration-style = blue ol
|
file-decoration-style = yellow ul
|
||||||
hunk-header-style = omit
|
hunk-header-style = omit
|
||||||
|
|
||||||
[rebase]
|
[rebase]
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
eval "$(direnv hook bash)"
|
|
Loading…
Reference in New Issue