Compare commits
No commits in common. "c4c5b5fc9a0afd9eb4a8d5759809d3f15017168f" and "cd10f1ad5ff7b16a71cf4ce795552c09dad548b3" have entirely different histories.
c4c5b5fc9a
...
cd10f1ad5f
8 changed files with 25 additions and 35 deletions
|
@ -57,16 +57,12 @@ hook global WinSetOption filetype=go %{
|
|||
# Usar Foot
|
||||
# ------------
|
||||
|
||||
eval %sh{
|
||||
test -n "$WAYLAND_DISPLAY" && echo '
|
||||
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
|
||||
define-command terminal-popup -params 1.. -shell-completion %{
|
||||
define-command fzf-terminal -params 1.. -shell-completion %{
|
||||
set-option global termcmd "footclient --app-id=fzf sh -c"
|
||||
wayland-terminal %arg{@}
|
||||
set-option global termcmd "footclient sh -c"
|
||||
}
|
||||
'
|
||||
}
|
||||
|
||||
# ------------
|
||||
# Keybindings genericas
|
||||
|
@ -106,18 +102,25 @@ hook -group sleuth global BufOpenFile .* %{ sleuth }
|
|||
hook -group sleuth global BufWritePost .* %{ sleuth }
|
||||
|
||||
# ------------
|
||||
# Kakoune.cr
|
||||
# FZF
|
||||
# ------------
|
||||
|
||||
source "%val{config}/plugins/fzf.kak/rc/fzf.kak"
|
||||
evaluate-commands %sh{
|
||||
kcr init kakoune
|
||||
find -L "$kak_config/plugins/fzf.kak/rc/modules/" -type f -name '*.kak' -exec printf 'source "%s"\n' {} \;
|
||||
}
|
||||
|
||||
map -docstring 'new client' global normal <c-t> ': new<ret>'
|
||||
map -docstring 'terminal' global normal <c-ret> ': connect terminal<ret>'
|
||||
map -docstring 'file picker' global normal <c-f> ': connect terminal-popup kcr fzf files -- -H<ret>'
|
||||
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 %{
|
||||
set-option global fzf_terminal_command 'fzf-terminal kak -c %val{session} -e "%arg{@}"'
|
||||
}
|
||||
hook global ModuleLoaded fzf-file %{
|
||||
set-option global fzf_file_command 'rg -L --hidden --files --glob !.git'
|
||||
}
|
||||
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
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 22f5fdbf2607b9fa15881e566d9d26ba5e0d411e
|
||||
Subproject commit 6fcc7dffe1f5793bb87122d2d445171d568d052a
|
|
@ -1 +1 @@
|
|||
rose-pine
|
||||
rose-pine-moon
|
|
@ -5,6 +5,7 @@ exec fuzzel \
|
|||
--terminal=footclient \
|
||||
--font='monospace:pixelsize=22' \
|
||||
--prompt='➦ ' \
|
||||
--no-icons \
|
||||
--width=40 \
|
||||
--background=${background}ff \
|
||||
--text-color=${foreground}ff \
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[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,7 +12,6 @@ export ZEIT_DB=~/Sync/zeit.db
|
|||
export EDITOR=kak
|
||||
|
||||
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 MOZ_ENABLE_WAYLAND=1
|
||||
|
|
|
@ -28,11 +28,5 @@ Probablemente incompleto.
|
|||
### Alpine
|
||||
|
||||
```sh
|
||||
apk add zsh zsh-vcs fzf kak
|
||||
```
|
||||
|
||||
#### Para desktop/IDE
|
||||
|
||||
```sh
|
||||
apk add kakoune-cr kakoune-cr-commands foot sway
|
||||
apk add zsh zsh-vcs fzf vis
|
||||
```
|
||||
|
|
2
.zshrc
2
.zshrc
|
@ -41,7 +41,7 @@ alias ssh='TERM=xterm-256color ssh'
|
|||
alias e="$EDITOR"
|
||||
alias r="trash -r"
|
||||
|
||||
alias a='pcmanfm --new-win "$(pwd)" &; disown'
|
||||
alias a='nohup nautilus "$(pwd)" >/dev/null &'
|
||||
|
||||
alias g='git'
|
||||
alias gc='git commit'
|
||||
|
|
Loading…
Reference in a new issue