Tmux 설정

This commit is contained in:
2020-08-17 09:36:12 +09:00
parent 56a242f107
commit 0774d4db61
5 changed files with 57 additions and 19 deletions

View File

@@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
udevadm monitor -u | while read -r _ _ tag _; do function set-props {
if [ "$tag" = "bind" ];then
# Elan input setting # Elan input setting
xinput set-prop 'Elan Touchpad' 'libinput Tapping Enabled' 1 xinput set-prop 'Elan Touchpad' 'libinput Tapping Enabled' 1
xinput set-prop 'Elan Touchpad' 'libinput Natural Scrolling 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 # Logitech G102
xinput set-prop 'Logitech G102 LIGHTSYNC Gaming Mouse' 'libinput Natural Scrolling Enabled' 1 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 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 fi
done done

View File

@@ -13,6 +13,9 @@ Plug 'preservim/nerdtree'
" NERDTree icon color " NERDTree icon color
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
" Restore Session
Plug 'tpope/vim-obsession'
" fuzzy finder " fuzzy finder
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'

View File

@@ -39,6 +39,7 @@ const linux: DotOption = {
".config/systemd": "linux/systemd", ".config/systemd": "linux/systemd",
".config/wallpaper": "wallpaper", ".config/wallpaper": "wallpaper",
".config/nvim": "linux/nvim", ".config/nvim": "linux/nvim",
".tmux.conf": "tmux.conf",
".tmux/themes": "tmux/themes", ".tmux/themes": "tmux/themes",
".xinitrc": "linux/xinitrc", ".xinitrc": "linux/xinitrc",
".pam_environment": "linux/pam_environment", ".pam_environment": "linux/pam_environment",

29
tmux.conf Normal file
View 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