kakoune: use jump-mode instead of easymotion
This commit is contained in:
@@ -49,6 +49,10 @@ map global -docstring 'Paste clipboard (append)' user 'p' '<a-!> xsel -bo<ret>'
|
|||||||
map global -docstring 'Paste clipboard (insert)' user 'P' '! xsel -bo<ret>'
|
map global -docstring 'Paste clipboard (insert)' user 'P' '! xsel -bo<ret>'
|
||||||
map global -docstring 'Yank to clipboard' user 'y' '<a-|> xsel -bi<ret>'
|
map global -docstring 'Yank to clipboard' user 'y' '<a-|> xsel -bi<ret>'
|
||||||
|
|
||||||
|
map global -docstring 'Replace jump mode' user 'j' ': enter_jump_mode_with_replace_select_mode<ret>'
|
||||||
|
map global -docstring 'Extend jump mode' user 'e' ': enter_jump_mode_with_extend_select_mode<ret>'
|
||||||
|
map global -docstring 'Append jump mode' user 'a' ': enter_jump_mode_with_append_select_mode<ret>'
|
||||||
|
|
||||||
define-command -override file-open %{
|
define-command -override file-open %{
|
||||||
prompt -menu -shell-script-candidates %{ fd -t f } 'File: ' %{ edit -- %val{text} }
|
prompt -menu -shell-script-candidates %{ fd -t f } 'File: ' %{ edit -- %val{text} }
|
||||||
}
|
}
|
||||||
@@ -69,6 +73,8 @@ define-command -override open-create-in-dir %{
|
|||||||
execute-keys ': edit ' %sh{dirname "$kak_buffile"}/
|
execute-keys ': edit ' %sh{dirname "$kak_buffile"}/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set-face global JumpLabel 'rgb:faf8f5,rgb:af8842+F'
|
||||||
|
|
||||||
# CHANGE STATUS BAR COLOR IN INSERT MODE
|
# CHANGE STATUS BAR COLOR IN INSERT MODE
|
||||||
|
|
||||||
hook global ModeChange push:.*:insert %{
|
hook global ModeChange push:.*:insert %{
|
||||||
@@ -157,16 +163,6 @@ bundle kak-harpoon 'https://codeberg.org/raiguard/kak-harpoon' %{
|
|||||||
harpoon-add-bindings
|
harpoon-add-bindings
|
||||||
}
|
}
|
||||||
|
|
||||||
# EASYMOTION
|
|
||||||
|
|
||||||
bundle easymotion.kak https://git.sr.ht/~voroskoi/easymotion.kak %{
|
|
||||||
require-module easymotion
|
|
||||||
map global -docstring 'easy j' user <j> ': easymotion-j<ret>'
|
|
||||||
map global -docstring 'easy k' user <k> ': easymotion-k<ret>'
|
|
||||||
map global -docstring 'easy w' user <w> ': easymotion-w<ret>'
|
|
||||||
map global -docstring 'easy b'user <b> ': easymotion-b<ret>'
|
|
||||||
}
|
|
||||||
|
|
||||||
# PENEIRA
|
# PENEIRA
|
||||||
|
|
||||||
bundle 'luar' 'https://github.com/gustavo-hms/luar' %{
|
bundle 'luar' 'https://github.com/gustavo-hms/luar' %{
|
||||||
|
|||||||
Reference in New Issue
Block a user