Update kak-tree
This commit is contained in:
parent
5677dd5274
commit
75ff74b1df
|
@ -103,9 +103,11 @@ map -docstring "disable highlighting" global tree '&' ":tree-always-hig
|
|||
declare-user-mode tree-children
|
||||
declare-user-mode tree-next
|
||||
declare-user-mode tree-prev
|
||||
declare-user-mode tree-quickjump
|
||||
|
||||
map global normal 'f' ":enter-user-mode tree-next<ret>"
|
||||
map global normal 'F' ":enter-user-mode tree-children<ret>"
|
||||
map global normal 'f' ":enter-user-mode tree-quickjump<ret>"
|
||||
map global normal 'F' ":enter-user-mode tree-next<ret>"
|
||||
map global normal '<a-f>' ":enter-user-mode tree-children<ret>"
|
||||
|
||||
evaluate-commands %sh{
|
||||
echo "i,identifier
|
||||
|
@ -121,11 +123,13 @@ while IFS=, read -r cmd group ; do
|
|||
echo "map -docstring '$group child' global tree-children '$cmd' ':tree-select-children $group<ret>'"
|
||||
echo "map -docstring 'next $group' global tree-next '$cmd' ':tree-select-next-node $group<ret>'"
|
||||
echo "map -docstring 'previous $group' global tree-prev '$cmd' ':tree-select-previous-node $group<ret>'"
|
||||
echo "map -docstring 'quickjump to $group' global tree-quickjump '$cmd' ':tree-quickjump $group<ret>'"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#TODO
|
||||
# map global user '&' ':qhl-word<ret>' -docstring "Highlight current word"
|
||||
# map global user '"' ':unqhl<ret>' -docstring "Remove highlight"
|
||||
|
|
16
flake.lock
16
flake.lock
|
@ -333,11 +333,11 @@
|
|||
"tree-sitters": "tree-sitters"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1699828151,
|
||||
"narHash": "sha256-JI+tkQbzm1u3CYrPWNRHZupQx8rk8BpdeyAFDD6cNvY=",
|
||||
"lastModified": 1703164437,
|
||||
"narHash": "sha256-LJJ9k16FJtgophTP7GZ6rwzQvsyyn3T4D0mivm9Uoak=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "2c17cea19ee8d2b93f48e619b59912b1e5dc0ca0",
|
||||
"revCount": 14,
|
||||
"rev": "5b53640d914ddae0730a278cb29adfe67857b765",
|
||||
"revCount": 29,
|
||||
"type": "git",
|
||||
"url": "https://githug.xyz/xenia/kak-tree.git"
|
||||
},
|
||||
|
@ -609,11 +609,11 @@
|
|||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1699742193,
|
||||
"narHash": "sha256-1pc59vyEpFwtHYKsEGAwxL7/4wiTmLmzKO6j61wqOeo=",
|
||||
"lastModified": 1703163600,
|
||||
"narHash": "sha256-moGQSMrkzP+3P20Nkx3DIkL2R/rK5/KSakuF4JvPuGw=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "bb561d2e33d4d9f9d8171df2484ba6ae8e810b74",
|
||||
"revCount": 3,
|
||||
"rev": "b43f5ecea195346d4488da3a2f85e7b67360a137",
|
||||
"revCount": 5,
|
||||
"type": "git",
|
||||
"url": "https://githug.xyz/xenia/tree-sitters"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user