Compare commits

..

No commits in common. "837a341c0d6c8694fbbc5caeed09bf1582a23292" and "05e2f3ea8d5f386231a58ef77b9dddd2ae181f3b" have entirely different histories.

3 changed files with 18 additions and 10 deletions

View File

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

View File

@ -21,7 +21,21 @@ local plugins = {
lazy = false,
},
{
"alexghergh/nvim-tmux-navigation",
"christoomey/vim-tmux-navigator",
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,
},
-- Override plugin definition options

View File

@ -32,9 +32,9 @@ unbind h
bind h attach-session -t . -c "#{pane_current_path}"
# 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)"' {
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
@ -81,6 +81,6 @@ set -g window-status-current-format "#[fg=colour135]#W"
set -g status-style bg=default
set -g pane-active-border-style fg=colour135
set -g status-justify centre
set-option -g status-interval 1
set-option -s status-interval 1
set-option -g clock-mode-color colour135
set-option -g message-style fg=colour135,bg=black