tmux bind v to enable selection
This commit is contained in:
@ -39,7 +39,7 @@ vim.lsp.config('rust_analyzer', {
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
cargo = {
|
||||
allFeatures = true,
|
||||
features = "all",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user