blob: 097da1e433374cd6c227ffafcc265ec117b47ccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
colorscheme plain
set-option global ui_options terminal_status_on_top=true
set-option -add global ui_options terminal_assistant=clippy
set-option global tabstop 4
set-option global indentwidth 4
set-option global scrolloff 3,3
define-command testcmd %{
prompt -file-completion 'What is your name? ' %{
evaluate-commands %sh{
echo "Hello, $kak_text!" > /tmp/vars
env >> /tmp/vars
title=$(dmenu -p 'say something: ')
printf "info '%s' -title '%s'" "wrote to file /tmp/vars" "$title"
}
}
}
add-highlighter global/ number-lines -hlcursor -relative
# colemak dh binds
map global normal n "h"
map global normal N "H"
map global normal e "j"
map global normal E "J"
map global normal i "k"
map global normal I "K"
map global normal o "l"
map global normal O "L"
map global normal j "e"
map global normal J "E"
map global normal k "n"
map global normal K "N"
map global normal h "o"
map global normal H "O"
map global normal l "i"
map global normal L "I"
map global normal <a-n> <a-h>
map global normal <a-o> <a-l>
|