Add basic functionality
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
# TMUX configuration for using tmux as an IDE
|
||||
# This file contains a minimal configuration and diffent layout.
|
||||
|
||||
|
||||
# enable the mouse mode
|
||||
set -g mouse on
|
||||
|
||||
# Use xclop to copy and paste with the system clipboard
|
||||
bind C-c run "tmux save-buffer - | xclip -i sel clip"
|
||||
bind C-v run "tmux set-buffer ${xclip -o sel clip}; tmux paste-buffer"
|
||||
bind C-v run "tmux set-buffer $(xclip -o sel clip); tmux paste-buffer"
|
||||
|
||||
# Use lazygit for version control.
|
||||
bind-key g display-popup -d "#{pane_current_path}" -x C -y C -w 80% -h 80% -E 'lazygit'
|
||||
|
||||
# Configure the plugin manager
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user