Compare commits
7 commits
e2a02491fa
...
07f91b2654
Author | SHA1 | Date | |
---|---|---|---|
07f91b2654 | |||
ca8fac01d7 | |||
02b1d364be | |||
6d996bc2ad | |||
754277527a | |||
e2a9d28be9 | |||
793e1cebe3 |
4 changed files with 37 additions and 33 deletions
|
@ -24,22 +24,22 @@ eval %sh{
|
|||
# Language Server Protocol
|
||||
# ------------
|
||||
|
||||
eval %sh{kak-lsp --kakoune -s $kak_session}
|
||||
set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
|
||||
set global lsp_diagnostic_line_error_sign '║'
|
||||
set global lsp_diagnostic_line_warning_sign '┊'
|
||||
set global lsp_hover_anchor true
|
||||
set global lsp_auto_show_code_actions true
|
||||
set global lsp_auto_highlight_references true
|
||||
hook global WinSetOption filetype=(zig|go) %{
|
||||
map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename"
|
||||
map buffer user a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
|
||||
map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
|
||||
map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
|
||||
lsp-enable-window
|
||||
lsp-auto-signature-help-enable
|
||||
}
|
||||
hook global KakEnd .* lsp-exit
|
||||
# eval %sh{kak-lsp --kakoune -s $kak_session}
|
||||
# set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
|
||||
# set global lsp_diagnostic_line_error_sign '║'
|
||||
# set global lsp_diagnostic_line_warning_sign '┊'
|
||||
# set global lsp_hover_anchor true
|
||||
# set global lsp_auto_show_code_actions true
|
||||
# set global lsp_auto_highlight_references true
|
||||
# hook global WinSetOption filetype=(zig|go) %{
|
||||
# map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename"
|
||||
# map buffer user a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
|
||||
# map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
|
||||
# map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
|
||||
# lsp-enable-window
|
||||
# lsp-auto-signature-help-enable
|
||||
# }
|
||||
# hook global KakEnd .* lsp-exit
|
||||
|
||||
# ------------
|
||||
# Formateadores
|
||||
|
@ -80,6 +80,9 @@ map -docstring "paste the clipboard" global user p "<a-!> wl-paste --no-newline<
|
|||
map -docstring "comment" global user c ": comment-line<ret>"
|
||||
map -docstring "stop searching" global user h ": set-register slash ''<ret>"
|
||||
|
||||
map -docstring "write" global user w ": write<ret>"
|
||||
map -docstring "quit" global user q ": quit<ret>"
|
||||
|
||||
map -docstring "show whitespaces" global user s " :add-highlighter global/show-whitespaces show-whitespaces<ret>"
|
||||
map -docstring "hide whitespaces" global user S " :remove-highlighter global/show-whitespaces<ret>"
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@ profile {
|
|||
}
|
||||
profile {
|
||||
output HDMI-A-1 enable position 1366,0 scale 1
|
||||
#output LVDS-1 enable position 0,312
|
||||
output LVDS-1 disable
|
||||
output LVDS-1 enable position 0,312
|
||||
#output LVDS-1 disable
|
||||
}
|
||||
|
||||
profile 420-sola {
|
||||
|
|
|
@ -105,23 +105,23 @@ input * {
|
|||
# Workspaces:
|
||||
#
|
||||
# Switch to workspace
|
||||
bindsym $mod+u workspace 1:u
|
||||
bindsym $mod+i workspace 2:i
|
||||
bindsym $mod+o workspace 3:o
|
||||
bindsym $mod+p workspace 4:p
|
||||
bindsym $mod+y workspace 5:y
|
||||
bindsym $mod+n workspace 6:n
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+0 workspace number 10
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Shift+u move container to workspace 1:u
|
||||
bindsym $mod+Shift+i move container to workspace 2:i
|
||||
bindsym $mod+Shift+o move container to workspace 3:o
|
||||
bindsym $mod+Shift+p move container to workspace 4:p
|
||||
bindsym $mod+Shift+y move container to workspace 5:y
|
||||
bindsym $mod+Shift+n move container to workspace 6:n
|
||||
bindsym $mod+Shift+1 move container to workspace number 1
|
||||
bindsym $mod+Shift+2 move container to workspace number 2
|
||||
bindsym $mod+Shift+3 move container to workspace number 3
|
||||
bindsym $mod+Shift+4 move container to workspace number 4
|
||||
bindsym $mod+Shift+5 move container to workspace number 5
|
||||
bindsym $mod+Shift+6 move container to workspace number 6
|
||||
bindsym $mod+Shift+7 move container to workspace number 7
|
||||
bindsym $mod+Shift+8 move container to workspace number 8
|
||||
bindsym $mod+Shift+9 move container to workspace number 9
|
||||
|
@ -196,8 +196,6 @@ bar {
|
|||
separator_symbol " "
|
||||
workspace_min_width 30
|
||||
|
||||
strip_workspace_numbers yes
|
||||
|
||||
colors {
|
||||
statusline $foreground
|
||||
background $backgroundish
|
||||
|
@ -232,6 +230,7 @@ bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
|
|||
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
|
||||
|
||||
default_border pixel 5
|
||||
gaps inner 15
|
||||
smart_borders on
|
||||
smart_gaps on
|
||||
|
||||
|
@ -251,3 +250,5 @@ exec "wlsunset -l -34.61315 -L -58.37723"
|
|||
exec "pgrep -x syncthing >/dev/null || syncthing -no-browser"
|
||||
exec kanshi
|
||||
exec fnott
|
||||
exec "mbsync -a"
|
||||
exec "pgrep -x goimapnotify >/dev/null || goimapnotify -wait 1 -conf ~/.config/imapnotify/config.json"
|
||||
|
|
2
.profile
2
.profile
|
@ -9,7 +9,7 @@ export PATH="$HOME/go/bin:$PATH"
|
|||
|
||||
export ZEIT_DB=~/Sync/zeit.db
|
||||
|
||||
export EDITOR=vis
|
||||
export EDITOR=kak
|
||||
|
||||
export FZF_DEFAULT_COMMAND='rg -L --hidden --files'
|
||||
export FZF_CTRL_T_COMMAND='rg -L --hidden --files'
|
||||
|
|
Loading…
Reference in a new issue