Tmux 설정
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
udevadm monitor -u | while read -r _ _ tag _; do
|
||||
if [ "$tag" = "bind" ];then
|
||||
function set-props {
|
||||
# Elan input setting
|
||||
xinput set-prop 'Elan Touchpad' 'libinput Tapping Enabled' 1
|
||||
xinput set-prop 'Elan Touchpad' 'libinput Natural Scrolling Enabled' 1
|
||||
@@ -16,5 +15,11 @@ udevadm monitor -u | while read -r _ _ tag _; do
|
||||
# Logitech G102
|
||||
xinput set-prop 'Logitech G102 LIGHTSYNC Gaming Mouse' 'libinput Natural Scrolling Enabled' 1
|
||||
xinput set-prop 'Logitech G102 LIGHTSYNC Gaming Mouse' 'libinput Accel Speed' -0.5
|
||||
}
|
||||
|
||||
set-props
|
||||
udevadm monitor -u | while read -r _ _ tag _; do
|
||||
if [ "$tag" = "bind" ];then
|
||||
set-props
|
||||
fi
|
||||
done
|
||||
|
||||
@@ -13,6 +13,9 @@ Plug 'preservim/nerdtree'
|
||||
" NERDTree icon color
|
||||
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
|
||||
" Restore Session
|
||||
Plug 'tpope/vim-obsession'
|
||||
|
||||
" fuzzy finder
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
|
||||
@@ -39,6 +39,7 @@ const linux: DotOption = {
|
||||
".config/systemd": "linux/systemd",
|
||||
".config/wallpaper": "wallpaper",
|
||||
".config/nvim": "linux/nvim",
|
||||
".tmux.conf": "tmux.conf",
|
||||
".tmux/themes": "tmux/themes",
|
||||
".xinitrc": "linux/xinitrc",
|
||||
".pam_environment": "linux/pam_environment",
|
||||
|
||||
29
tmux.conf
Normal file
29
tmux.conf
Normal file
@@ -0,0 +1,29 @@
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-pain-control'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run -b '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
set -g @themepack 'powerline/block/red'
|
||||
set-option -g @pane_resize "1"
|
||||
set -g @yank_selection_mouse 'clipboard'
|
||||
set -g @continuum-boot 'on'
|
||||
set -g @resurrect-strategy-nvim 'session'
|
||||
set -g @resurrect-capture-pane-contents 'on'
|
||||
|
||||
set -g mouse on
|
||||
set -g default-terminal screen-256color
|
||||
|
||||
source-file ~/.tmux/themes/tomorrow.tmux
|
||||
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||
|
||||
|
||||
# bind -n End send-key C-e
|
||||
# bind -n Home send-key C-a
|
||||
|
||||
Reference in New Issue
Block a user