diff --git a/.config/nvim/lua/user/lsp/mason_lsp_config.lua b/.config/nvim/lua/user/lsp/mason_lsp_config.lua index 5cc286b..048a172 100644 --- a/.config/nvim/lua/user/lsp/mason_lsp_config.lua +++ b/.config/nvim/lua/user/lsp/mason_lsp_config.lua @@ -39,7 +39,7 @@ vim.lsp.config('rust_analyzer', { settings = { ["rust-analyzer"] = { cargo = { - allFeatures = true, + features = "all", }, }, } diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index a5ee4fd..2d004d3 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -10,6 +10,12 @@ bind-key - split-window -v -c "#{pane_current_path}" set-option -ga terminal-overrides ",xterm-256color:Tc" set-window-option -g mode-keys vi +# Use v to trigger selection +bind-key -T copy-mode-vi v send-keys -X begin-selection + +# Use y to yank current selection +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel + bind h select-pane -L bind j select-pane -D bind k select-pane -U