Compare commits

...

3 Commits

Author SHA1 Message Date
Andrei Stoica 837a341c0d clangd encoding fix 2024-02-05 15:16:19 -05:00
Andrei Stoica de54ccfc01 updated navigation 2024-02-05 15:15:39 -05:00
Andrei Stoica 9aec495a30 bug fixes 2024-02-05 15:13:27 -05:00
3 changed files with 10 additions and 18 deletions

View File

@ -23,5 +23,11 @@ for _, lsp in ipairs(servers) do
}) })
end end
lspconfig["clangd"].setup({
on_attach = on_attach,
capabilities = {
offsetEncoding = { "utf-16" },
},
})
-- --
-- lspconfig.pyright.setup { blabla} -- lspconfig.pyright.setup { blabla}

View File

@ -21,21 +21,7 @@ local plugins = {
lazy = false, lazy = false,
}, },
{ {
"christoomey/vim-tmux-navigator", "alexghergh/nvim-tmux-navigation",
cmd = {
"TmuxNavigateLeft",
"TmuxNavigateDown",
"TmuxNavigateUp",
"TmuxNavigateRight",
"TmuxNavigatePrevious",
},
kesy = {
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
},
lazy = false, lazy = false,
}, },
-- Override plugin definition options -- Override plugin definition options

View File

@ -32,9 +32,9 @@ unbind h
bind h attach-session -t . -c "#{pane_current_path}" bind h attach-session -t . -c "#{pane_current_path}"
# status bar # status bar
set -g status-right '#[fg=black]◢#[bg=black fg=colour135] %H:%m #[fg=default]%b %d %Y' set -g status-right '#[fg=black]◢#[bg=black fg=colour135] %H:%M #[fg=default]%b %d %Y'
if-shell 'test "$(acpi -t)"' { if-shell 'test "$(acpi -t)"' {
set -g status-right '#[fg=black]◢#[bg=black fg=colour135] %H:%m #[fg=default]%b %d %Y #[fg=pink] ♥#(acpi | cut -d ',' -f 2)' set -g status-right '#[fg=black]◢#[bg=black fg=colour135] %H:%M #[fg=default]%b %d %Y #[fg=pink] ♥#(acpi | cut -d ',' -f 2)'
} }
# Start windows and panes at 1, not 0 # Start windows and panes at 1, not 0
@ -81,6 +81,6 @@ set -g window-status-current-format "#[fg=colour135]#W"
set -g status-style bg=default set -g status-style bg=default
set -g pane-active-border-style fg=colour135 set -g pane-active-border-style fg=colour135
set -g status-justify centre set -g status-justify centre
set-option -s status-interval 1 set-option -g status-interval 1
set-option -g clock-mode-color colour135 set-option -g clock-mode-color colour135
set-option -g message-style fg=colour135,bg=black set-option -g message-style fg=colour135,bg=black