-
Notifications
You must be signed in to change notification settings - Fork 0
/
kakrc
55 lines (33 loc) · 1.25 KB
/
kakrc
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## adding line numbers
add-highlighter global/ number-lines -hlcursor -relative
## highlight matching braces + brackets + parenthesis + etc.
add-highlighter global/ show-matching
## show whitespaces
add-highlighter global/ show-whitespaces
## give tab a set space amount
set-option global tabstop 4
## autosaving
map -docstring "save current buffer" global user s ": w<ret>"
## no more Clippy :(
set-option global ui_options terminal_assistant=none
## Open file in new window
define-command open-in-new-window -params .. -file-completion %{ new edit "%arg{@}"}
alias global e open-in-new-window
## load kak package manager (kak.bundle)
source "%val{config}/plugins/plug.kak/rc/plug.kak"
plug "andreyorst/plug.kak" noload
## discord presence (don't think it works)
plug "uncomfyhalomacro/kakoune-discord" do %{cargo install --path . --force} %{
discord-presence-enable
}
## themes
plug "secondary-smiles/kakoune-themes" theme config %{
colorscheme one-dark
}
## autopairs for braces + brackets + parenthesis + etc.
plug "alexherbo2/auto-pairs.kak" config %{
enable-auto-pairs
}
## markdown veiwer using livedown
## to use use the command livedown-start command and then in the browser open localhost at port 8642
plug "delapouite/kakoune-livedown" %{}