add kakoune
This commit is contained in:
parent
d1cdea3f36
commit
18e89cd5a7
|
@ -0,0 +1,27 @@
|
|||
## keybinds
|
||||
define-command -docstring "save and quit" x "write-all; quit"
|
||||
|
||||
## visual
|
||||
# colorscheme
|
||||
colorscheme palenight
|
||||
|
||||
# scrolling & wrapping
|
||||
set-option global scrolloff 1,3
|
||||
add-highlighter global/ wrap -word -indent
|
||||
|
||||
# tabs
|
||||
set-option global tabstop 4
|
||||
set-option global indentwidth 4
|
||||
|
||||
# statusbar
|
||||
set-option global ui_options ncurses_status_on_top=true
|
||||
|
||||
# line numbers
|
||||
add-highlighter global/ number-lines -hlcursor
|
||||
|
||||
# trailing whitespace
|
||||
add-highlighter global/ regex \h+$ 0:Error
|
||||
|
||||
# clipboard shit
|
||||
map -docstring "yank the selection into the clipboard" global user y "<a-|>xclip -sel clipboard<ret>"
|
||||
map -docstring "paste the clipboard" global user p "<a-!>xclip -sel clipboard -o<ret>"
|
Loading…
Reference in New Issue