~keving/dotfiles

dd2f991c3340c7b403fb5dbe544fbd0dd56770d4 — Kevin Guillaumond 10 months ago 6bbe2a5
vi in tmux copy mode, tmux to restore vim sessions, remove ccls for C++
2 files changed, 6 insertions(+), 4 deletions(-)

M .config/nvim/lua/plugin_configs/nvim-lspconfig.lua
M .tmux.conf
M .config/nvim/lua/plugin_configs/nvim-lspconfig.lua => .config/nvim/lua/plugin_configs/nvim-lspconfig.lua +1 -4
@@ 11,10 11,7 @@ require'lspconfig'.clangd.setup{
    '--suggest-missing-includes',
    -- '--query-driver="/usr/local/opt/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-gcc"'
  },
  filetypes = {'c'},
}
require'lspconfig'.ccls.setup{
  filetypes = {'cpp'},
  filetypes = {'c', 'cpp'},
}
require'lspconfig'.pyright.setup{
  filetypes = {'python'},

M .tmux.conf => .tmux.conf +5 -0
@@ 1,6 1,9 @@
# vi-like navigation in status bar
set -g status-keys vi

# vi-like navigation in copy mode
set-window-option -g mode-keys vi

# Navigate between panes using hjkl
bind h select-pane -L
bind j select-pane -D


@@ 16,6 19,8 @@ bind L resize-pane -R 10
set -g @plugin 'tmux-plugins/tpm'  # Plugin manager

set -g @plugin 'tmux-plugins/tmux-resurrect'  # Save /restore session
set -g @resurrect-strategy-nvim 'session'  # Resurect Neovim sessions as well

set -g @plugin 'tmux-plugins/tmux-continuum'  # Auto-save session

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)