Compare commits
9 Commits
wip
...
3e6fdc7b9d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e6fdc7b9d | ||
|
|
d2b7671987 | ||
|
|
2820b395c2 | ||
|
|
c5cd01cbc4 | ||
|
|
b4ab641fb7 | ||
|
|
d63711ed06 | ||
|
|
a6e37c95d7 | ||
|
|
b9ed91ed57 | ||
|
|
bc41c5ff77 |
@@ -10,8 +10,6 @@ hook global WinCreate .* %{
|
|||||||
hook global BufCreate .*\.templ %{ set buffer filetype templ }
|
hook global BufCreate .*\.templ %{ set buffer filetype templ }
|
||||||
hook global BufCreate .*\.html.tmpl %{ set buffer filetype gotmpl }
|
hook global BufCreate .*\.html.tmpl %{ set buffer filetype gotmpl }
|
||||||
|
|
||||||
hook global WinCreate ^[^*]+$ %{editorconfig-load}
|
|
||||||
|
|
||||||
# LOCAL
|
# LOCAL
|
||||||
|
|
||||||
nop %sh{
|
nop %sh{
|
||||||
@@ -38,8 +36,6 @@ map global -docstring 'Grep previous match' file-mode 'p' ': grep-prev-match<ret
|
|||||||
map global -docstring 'Grep current file' file-mode 'l' ':grep-file '
|
map global -docstring 'Grep current file' file-mode 'l' ':grep-file '
|
||||||
map global -docstring 'Grep current file' file-mode 'L' ': grep-file %val{selection}<ret>'
|
map global -docstring 'Grep current file' file-mode 'L' ': grep-file %val{selection}<ret>'
|
||||||
map global -docstring 'Delete buffer' file-mode 'x' ': delete-buffer '
|
map global -docstring 'Delete buffer' file-mode 'x' ': delete-buffer '
|
||||||
map global -docstring 'REPL send selection' file-mode 'u' ': repl-send-text<ret>'
|
|
||||||
map global -docstring 'REPL send paragraph' file-mode 'U' ': repl-send-paragraph<ret>'
|
|
||||||
|
|
||||||
declare-user-mode git-mode
|
declare-user-mode git-mode
|
||||||
map global -docstring 'Git' user 'g' ': enter-user-mode git-mode<ret>'
|
map global -docstring 'Git' user 'g' ': enter-user-mode git-mode<ret>'
|
||||||
@@ -129,10 +125,6 @@ define-command -override open-create-in-dir %{
|
|||||||
execute-keys ': edit ' %sh{dirname "$kak_buffile"}/
|
execute-keys ': edit ' %sh{dirname "$kak_buffile"}/
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -override repl-send-paragraph %{
|
|
||||||
execute-keys -draft '<a-i>p: repl-send-text<ret>'
|
|
||||||
}
|
|
||||||
|
|
||||||
define-command git-log-show-current-commit %{
|
define-command git-log-show-current-commit %{
|
||||||
execute-keys ';<a-/>^commit\s[0-9a-f]+<ret>b'
|
execute-keys ';<a-/>^commit\s[0-9a-f]+<ret>b'
|
||||||
git show %val{selection}
|
git show %val{selection}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
/bin/zsh
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
PATH="$PATH:$HOME/.config/lazygit/bin" exec /usr/bin/lazygit "$@"
|
|
||||||
@@ -11,6 +11,3 @@ gui:
|
|||||||
theme:
|
theme:
|
||||||
selectedLineBgColor:
|
selectedLineBgColor:
|
||||||
- reverse
|
- reverse
|
||||||
|
|
||||||
git:
|
|
||||||
autoFetch: false
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
alias k=kak
|
|
||||||
alias kc='kak -c "$(kak -l | fzf)"'
|
|
||||||
alias kd='kak -s "$(printf %s $PWD | xargs basename)"'
|
|
||||||
alias lg=lazygit
|
|
||||||
alias z='cd $(fzf --walker dir --walker-root ~)'
|
|
||||||
@@ -38,14 +38,12 @@ fi
|
|||||||
export GOPATH=~/.cache/go
|
export GOPATH=~/.cache/go
|
||||||
export GOBIN=~/.local/bin
|
export GOBIN=~/.local/bin
|
||||||
|
|
||||||
export ENV=~/.ashrc
|
|
||||||
|
|
||||||
# start X or Hyprland at login
|
# start X or Hyprland at login
|
||||||
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
|
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
|
||||||
if which /usr/bin/sx > /dev/null; then
|
if which /usr/bin/sx > /dev/null; then
|
||||||
exec /usr/bin/sx ~/.xinitrc
|
exec /usr/bin/sx ~/.xsession
|
||||||
elif which /usr/bin/startx > /dev/null; then
|
elif which /usr/bin/startx > /dev/null; then
|
||||||
exec /usr/bin/startx
|
exec /usr/bin/startx ~/.xsession
|
||||||
elif which niri > /dev/null; then
|
elif which niri > /dev/null; then
|
||||||
exec niri
|
exec niri
|
||||||
elif which river argen > /dev/null; then
|
elif which river argen > /dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user