Compare commits
14 Commits
3e6fdc7b9d
...
wip
| Author | SHA1 | Date | |
|---|---|---|---|
| 506abc9f1c | |||
| 6949fb75a0 | |||
| 6034323fb9 | |||
| 6e82a49ba6 | |||
| 4719e8d355 | |||
| 2d79c5728a | |||
| 7c91379f6c | |||
| f7a7f031ff | |||
| 994e3b4662 | |||
| 6a5f15c86b | |||
| 61b6984dca | |||
| fdc95f72e3 | |||
| f375076fe1 | |||
| ac18f6be8b |
@@ -10,6 +10,8 @@ hook global WinCreate .* %{
|
||||
hook global BufCreate .*\.templ %{ set buffer filetype templ }
|
||||
hook global BufCreate .*\.html.tmpl %{ set buffer filetype gotmpl }
|
||||
|
||||
hook global WinCreate ^[^*]+$ %{editorconfig-load}
|
||||
|
||||
# LOCAL
|
||||
|
||||
nop %sh{
|
||||
@@ -36,6 +38,8 @@ 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 %val{selection}<ret>'
|
||||
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
|
||||
map global -docstring 'Git' user 'g' ': enter-user-mode git-mode<ret>'
|
||||
@@ -125,6 +129,10 @@ define-command -override open-create-in-dir %{
|
||||
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 %{
|
||||
execute-keys ';<a-/>^commit\s[0-9a-f]+<ret>b'
|
||||
git show %val{selection}
|
||||
|
||||
1
lazygit-use-zsh/.config/lazygit/bin/bash
Symbolic link
1
lazygit-use-zsh/.config/lazygit/bin/bash
Symbolic link
@@ -0,0 +1 @@
|
||||
/bin/zsh
|
||||
2
lazygit-use-zsh/bin/lazygit
Executable file
2
lazygit-use-zsh/bin/lazygit
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
PATH="$PATH:$HOME/.config/lazygit/bin" exec /usr/bin/lazygit "$@"
|
||||
@@ -11,3 +11,6 @@ gui:
|
||||
theme:
|
||||
selectedLineBgColor:
|
||||
- reverse
|
||||
|
||||
git:
|
||||
autoFetch: false
|
||||
|
||||
5
shell/.ashrc
Normal file
5
shell/.ashrc
Normal file
@@ -0,0 +1,5 @@
|
||||
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,12 +38,14 @@ fi
|
||||
export GOPATH=~/.cache/go
|
||||
export GOBIN=~/.local/bin
|
||||
|
||||
export ENV=~/.ashrc
|
||||
|
||||
# start X or Hyprland at login
|
||||
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
|
||||
if which /usr/bin/sx > /dev/null; then
|
||||
exec /usr/bin/sx ~/.xsession
|
||||
exec /usr/bin/sx ~/.xinitrc
|
||||
elif which /usr/bin/startx > /dev/null; then
|
||||
exec /usr/bin/startx ~/.xsession
|
||||
exec /usr/bin/startx
|
||||
elif which niri > /dev/null; then
|
||||
exec niri
|
||||
elif which river argen > /dev/null; then
|
||||
|
||||
Reference in New Issue
Block a user