Compare commits
6 commits
cd10f1ad5f
...
c4c5b5fc9a
Author | SHA1 | Date | |
---|---|---|---|
c4c5b5fc9a | |||
818dc70481 | |||
e5d720c09e | |||
8d03fcd69e | |||
1473b19b47 | |||
3d336e3b7e |
8 changed files with 35 additions and 25 deletions
|
@ -57,12 +57,16 @@ hook global WinSetOption filetype=go %{
|
||||||
# Usar Foot
|
# Usar Foot
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
|
eval %sh{
|
||||||
|
test -n "$WAYLAND_DISPLAY" && echo '
|
||||||
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
|
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
|
||||||
define-command fzf-terminal -params 1.. -shell-completion %{
|
define-command terminal-popup -params 1.. -shell-completion %{
|
||||||
set-option global termcmd "footclient --app-id=fzf sh -c"
|
set-option global termcmd "footclient --app-id=fzf sh -c"
|
||||||
wayland-terminal %arg{@}
|
wayland-terminal %arg{@}
|
||||||
set-option global termcmd "footclient sh -c"
|
set-option global termcmd "footclient sh -c"
|
||||||
}
|
}
|
||||||
|
'
|
||||||
|
}
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# Keybindings genericas
|
# Keybindings genericas
|
||||||
|
@ -102,25 +106,18 @@ hook -group sleuth global BufOpenFile .* %{ sleuth }
|
||||||
hook -group sleuth global BufWritePost .* %{ sleuth }
|
hook -group sleuth global BufWritePost .* %{ sleuth }
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# FZF
|
# Kakoune.cr
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
source "%val{config}/plugins/fzf.kak/rc/fzf.kak"
|
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
find -L "$kak_config/plugins/fzf.kak/rc/modules/" -type f -name '*.kak' -exec printf 'source "%s"\n' {} \;
|
kcr init kakoune
|
||||||
}
|
}
|
||||||
hook global ModuleLoaded fzf %{
|
|
||||||
set-option global fzf_terminal_command 'fzf-terminal kak -c %val{session} -e "%arg{@}"'
|
map -docstring 'new client' global normal <c-t> ': new<ret>'
|
||||||
}
|
map -docstring 'terminal' global normal <c-ret> ': connect terminal<ret>'
|
||||||
hook global ModuleLoaded fzf-file %{
|
map -docstring 'file picker' global normal <c-f> ': connect terminal-popup kcr fzf files -- -H<ret>'
|
||||||
set-option global fzf_file_command 'rg -L --hidden --files --glob !.git'
|
map -docstring 'buffer picker' global normal <c-b> ': connect terminal-popup kcr fzf buffers<ret>'
|
||||||
}
|
map -docstring 'grep picker' global normal <c-g> ': connect terminal-popup kcr fzf grep<ret>'
|
||||||
hook global ModuleLoaded fzf-grep %{
|
|
||||||
set-option global fzf_grep_command 'rg'
|
|
||||||
}
|
|
||||||
map -docstring 'search files' global user f ': fzf-mode<ret>f'
|
|
||||||
map -docstring 'search buffers' global user b ': fzf-mode<ret>b'
|
|
||||||
map -docstring 'grep files' global user g ': fzf-mode<ret>g'
|
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
# Buffer switching
|
# Buffer switching
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 6fcc7dffe1f5793bb87122d2d445171d568d052a
|
Subproject commit 22f5fdbf2607b9fa15881e566d9d26ba5e0d411e
|
|
@ -1 +1 @@
|
||||||
rose-pine-moon
|
rose-pine
|
|
@ -5,7 +5,6 @@ exec fuzzel \
|
||||||
--terminal=footclient \
|
--terminal=footclient \
|
||||||
--font='monospace:pixelsize=22' \
|
--font='monospace:pixelsize=22' \
|
||||||
--prompt='➦ ' \
|
--prompt='➦ ' \
|
||||||
--no-icons \
|
|
||||||
--width=40 \
|
--width=40 \
|
||||||
--background=${background}ff \
|
--background=${background}ff \
|
||||||
--text-color=${foreground}ff \
|
--text-color=${foreground}ff \
|
||||||
|
|
7
.local/share/applications/sutty-vm.desktop
Normal file
7
.local/share/applications/sutty-vm.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Version=1.0
|
||||||
|
Name=Terminal @ sutty.vm
|
||||||
|
Exec=footclient ssh nulo@sutty.vm
|
||||||
|
Categories=System;Monitor;ConsoleOnly;
|
||||||
|
Keywords=system;process;task
|
1
.profile
1
.profile
|
@ -12,6 +12,7 @@ export ZEIT_DB=~/Sync/zeit.db
|
||||||
export EDITOR=kak
|
export EDITOR=kak
|
||||||
|
|
||||||
export FZF_DEFAULT_COMMAND='rg -L --hidden --files'
|
export FZF_DEFAULT_COMMAND='rg -L --hidden --files'
|
||||||
|
export FZF_DEFAULT_OPTS='--multi --layout=reverse --preview-window=down:60%'
|
||||||
export FZF_CTRL_T_COMMAND='rg -L --hidden --files'
|
export FZF_CTRL_T_COMMAND='rg -L --hidden --files'
|
||||||
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
|
@ -28,5 +28,11 @@ Probablemente incompleto.
|
||||||
### Alpine
|
### Alpine
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
apk add zsh zsh-vcs fzf vis
|
apk add zsh zsh-vcs fzf kak
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Para desktop/IDE
|
||||||
|
|
||||||
|
```sh
|
||||||
|
apk add kakoune-cr kakoune-cr-commands foot sway
|
||||||
```
|
```
|
||||||
|
|
2
.zshrc
2
.zshrc
|
@ -41,7 +41,7 @@ alias ssh='TERM=xterm-256color ssh'
|
||||||
alias e="$EDITOR"
|
alias e="$EDITOR"
|
||||||
alias r="trash -r"
|
alias r="trash -r"
|
||||||
|
|
||||||
alias a='nohup nautilus "$(pwd)" >/dev/null &'
|
alias a='pcmanfm --new-win "$(pwd)" &; disown'
|
||||||
|
|
||||||
alias g='git'
|
alias g='git'
|
||||||
alias gc='git commit'
|
alias gc='git commit'
|
||||||
|
|
Loading…
Reference in a new issue