Compare commits
2 Commits
6034323fb9
...
wip
| Author | SHA1 | Date | |
|---|---|---|---|
| 506abc9f1c | |||
| 6949fb75a0 |
@@ -38,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 '
|
||||||
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>'
|
||||||
@@ -127,6 +129,10 @@ 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}
|
||||||
|
|||||||
@@ -43,9 +43,9 @@ 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 ~/.xsession
|
exec /usr/bin/sx ~/.xinitrc
|
||||||
elif which /usr/bin/startx > /dev/null; then
|
elif which /usr/bin/startx > /dev/null; then
|
||||||
exec /usr/bin/startx ~/.xsession
|
exec /usr/bin/startx
|
||||||
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