Compare commits

..

7 commits

Author SHA1 Message Date
07f91b2654 sway: Sincronizar email 2022-06-13 12:52:17 -03:00
ca8fac01d7 sway: Gaps 2022-06-13 12:51:53 -03:00
02b1d364be profile: EDITOR=kak 2022-06-13 12:51:42 -03:00
6d996bc2ad sway: Solo usar números en workspaces 2022-06-13 12:51:27 -03:00
754277527a kanshi: Activar monitor de laptop 2022-06-13 12:51:06 -03:00
e2a9d28be9 kak: ,w ,q 2022-06-13 12:50:54 -03:00
793e1cebe3 kak: Desactivar kak-lsp 2022-06-13 12:50:47 -03:00
4 changed files with 37 additions and 33 deletions

View file

@ -24,22 +24,22 @@ eval %sh{
# Language Server Protocol # Language Server Protocol
# ------------ # ------------
eval %sh{kak-lsp --kakoune -s $kak_session} # 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_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
set global lsp_diagnostic_line_error_sign '║' # set global lsp_diagnostic_line_error_sign '║'
set global lsp_diagnostic_line_warning_sign '┊' # set global lsp_diagnostic_line_warning_sign '┊'
set global lsp_hover_anchor true # set global lsp_hover_anchor true
set global lsp_auto_show_code_actions true # set global lsp_auto_show_code_actions true
set global lsp_auto_highlight_references true # set global lsp_auto_highlight_references true
hook global WinSetOption filetype=(zig|go) %{ # hook global WinSetOption filetype=(zig|go) %{
map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename" # 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 a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
map buffer user , ': lsp-hover<ret>' -docstring "LSP hover" # map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode" # map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
lsp-enable-window # lsp-enable-window
lsp-auto-signature-help-enable # lsp-auto-signature-help-enable
} # }
hook global KakEnd .* lsp-exit # hook global KakEnd .* lsp-exit
# ------------ # ------------
# Formateadores # 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 "comment" global user c ": comment-line<ret>"
map -docstring "stop searching" global user h ": set-register slash ''<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 "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>" map -docstring "hide whitespaces" global user S " :remove-highlighter global/show-whitespaces<ret>"

View file

@ -3,8 +3,8 @@ profile {
} }
profile { profile {
output HDMI-A-1 enable position 1366,0 scale 1 output HDMI-A-1 enable position 1366,0 scale 1
#output LVDS-1 enable position 0,312 output LVDS-1 enable position 0,312
output LVDS-1 disable #output LVDS-1 disable
} }
profile 420-sola { profile 420-sola {

View file

@ -105,23 +105,23 @@ input * {
# Workspaces: # Workspaces:
# #
# Switch to workspace # Switch to workspace
bindsym $mod+u workspace 1:u bindsym $mod+1 workspace number 1
bindsym $mod+i workspace 2:i bindsym $mod+2 workspace number 2
bindsym $mod+o workspace 3:o bindsym $mod+3 workspace number 3
bindsym $mod+p workspace 4:p bindsym $mod+4 workspace number 4
bindsym $mod+y workspace 5:y bindsym $mod+5 workspace number 5
bindsym $mod+n workspace 6:n bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7 bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8 bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9 bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10 bindsym $mod+0 workspace number 10
# Move focused container to workspace # Move focused container to workspace
bindsym $mod+Shift+u move container to workspace 1:u bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+i move container to workspace 2:i bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+o move container to workspace 3:o bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+p move container to workspace 4:p bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+y move container to workspace 5:y bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+n move container to workspace 6:n bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7 bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8 bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9 bindsym $mod+Shift+9 move container to workspace number 9
@ -196,8 +196,6 @@ bar {
separator_symbol " " separator_symbol " "
workspace_min_width 30 workspace_min_width 30
strip_workspace_numbers yes
colors { colors {
statusline $foreground statusline $foreground
background $backgroundish background $backgroundish
@ -232,6 +230,7 @@ bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O' bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
default_border pixel 5 default_border pixel 5
gaps inner 15
smart_borders on smart_borders on
smart_gaps 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 "pgrep -x syncthing >/dev/null || syncthing -no-browser"
exec kanshi exec kanshi
exec fnott exec fnott
exec "mbsync -a"
exec "pgrep -x goimapnotify >/dev/null || goimapnotify -wait 1 -conf ~/.config/imapnotify/config.json"

View file

@ -9,7 +9,7 @@ export PATH="$HOME/go/bin:$PATH"
export ZEIT_DB=~/Sync/zeit.db export ZEIT_DB=~/Sync/zeit.db
export EDITOR=vis export EDITOR=kak
export FZF_DEFAULT_COMMAND='rg -L --hidden --files' export FZF_DEFAULT_COMMAND='rg -L --hidden --files'
export FZF_CTRL_T_COMMAND='rg -L --hidden --files' export FZF_CTRL_T_COMMAND='rg -L --hidden --files'