Merge branch 'master' into arch-laptop
This commit is contained in:
@@ -26,21 +26,22 @@ plug "gustavo-hms/luar" %{
|
||||
}
|
||||
|
||||
# # Color Themes
|
||||
plug "tinted-theming/base16-kakoune"
|
||||
|
||||
plug "tinted-theming/base16-kakoune" theme config
|
||||
plug "https://git.sr.ht/~hadronized/kakoune-tree-sitter-themes" theme config
|
||||
### End Of Plugins ###
|
||||
|
||||
set-option global luar_interpreter luajit
|
||||
|
||||
## Treesitter ##
|
||||
|
||||
#eval %sh{ kak-tree-sitter -dksv --with-highlighting --with-text-objects --init $kak_session }
|
||||
# eval %sh{ kak-tree-sitter -dksv --with-highlighting --with-text-objects --init $kak_session }
|
||||
#eval %sh{ kak-tree-sitter -dks --with-text-objects --session $kak_session }
|
||||
#eval %sh{ kak-tree-sitter -dks --with-highlighting --session $kak_session }
|
||||
# eval %sh{ kak-tree-sitter -dks --init $kak_session }
|
||||
eval %sh{ kak-tree-sitter -dks --init $kak_session }
|
||||
# evaluate-commands %sh{
|
||||
# echo "colorscheme base16-$BASE16_THEME"
|
||||
# }
|
||||
|
||||
## Highlighting ##
|
||||
hook global WinCreate .* %{ add-highlighter window/number-lines number-lines -relative -hlcursor}
|
||||
add-highlighter global/ show-matching
|
||||
@@ -356,14 +357,25 @@ define-command -docstring 'Print Working Directory' -params 0 pwd %{
|
||||
evaluate-commands echo %sh{ echo "$(pwd)"}
|
||||
}
|
||||
|
||||
# define-command -docstring 'copy to clipboard' xcopy %{
|
||||
# execute-keys '<a-|>xclip -selection clipboard -i<ret>'
|
||||
# }
|
||||
|
||||
# define-command -docstring 'paste from clipboard' xpaste %{
|
||||
# evaluate-commands -save-regs '"' %{
|
||||
# set-register dquote %sh{ xclip -selection clipboard -o }
|
||||
# execute-keys 'p'
|
||||
# }
|
||||
# }
|
||||
|
||||
define-command -docstring 'copy to clipboard' xcopy %{
|
||||
execute-keys '<a-|>xclip -selection clipboard -i<ret>'
|
||||
execute-keys '<a-|>wl-copy<ret>'
|
||||
}
|
||||
|
||||
define-command -docstring 'paste from clipboard' xpaste %{
|
||||
evaluate-commands -save-regs '"' %{
|
||||
set-register dquote %sh{ xclip -selection clipboard -o }
|
||||
execute-keys 'p'
|
||||
set-register dquote %sh{ wl-paste }
|
||||
execute-keys 'P'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -424,4 +436,8 @@ map -docstring 'clipboard paste' global user p ':xpaste<ret>'
|
||||
map -docstring 'quit kakoune' global user q ':q<ret>'
|
||||
map -docstring 'toggle comments' global user c ':comment-line<ret>'
|
||||
|
||||
<<<<<<< HEAD
|
||||
colorscheme base16-gruvbox-dark-medium
|
||||
=======
|
||||
colorscheme gruvbox-dark
|
||||
>>>>>>> master
|
||||
|
||||
Reference in New Issue
Block a user