Added tmux config file and the initial configuration for dotdrop
This commit is contained in:
parent
ce3fe00115
commit
5a6c00c4e7
30
config.yaml
Normal file
30
config.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
actions:
|
||||||
|
pre:
|
||||||
|
nvim-plug-install: test -e ~/.local/share/nvim/site/autoload/plug.vim || mkdir -p ~/.local/share/nvim/site/autoload/; curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
||||||
|
nvim-plug: nvim +PlugInstall +qall
|
||||||
|
config:
|
||||||
|
backup: true
|
||||||
|
banner: true
|
||||||
|
create: true
|
||||||
|
dotpath: dotfiles
|
||||||
|
ignoreempty: false
|
||||||
|
keepdot: false
|
||||||
|
link_by_default: false
|
||||||
|
longkey: false
|
||||||
|
showdiff: false
|
||||||
|
workdir: ~/.config/dotdrop
|
||||||
|
dotfiles:
|
||||||
|
f_tmux.conf:
|
||||||
|
dst: ~/.tmux.conf
|
||||||
|
src: tmux.conf
|
||||||
|
f_nvim:
|
||||||
|
dst: ~/.config/nvim/init.vim
|
||||||
|
src: nvim/init.vim
|
||||||
|
actions:
|
||||||
|
- nvim-plug-install
|
||||||
|
- nvim-plug
|
||||||
|
profiles:
|
||||||
|
dennis-ThinkPad:
|
||||||
|
dotfiles:
|
||||||
|
- f_tmux.conf
|
||||||
|
- f_nvim
|
32
dotfiles/tmux.conf
Normal file
32
dotfiles/tmux.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
# remap prefix to Control + a
|
||||||
|
set -g prefix C-a
|
||||||
|
unbind C-b
|
||||||
|
bind C-a send-prefix
|
||||||
|
|
||||||
|
set-option -g status-position top
|
||||||
|
|
||||||
|
# force a reload of the config file
|
||||||
|
unbind r
|
||||||
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
||||||
|
# quick pane cycling
|
||||||
|
unbind ^A
|
||||||
|
bind ^A select-pane -t :.+
|
||||||
|
|
||||||
|
# prevent issues with (n)vi(m)
|
||||||
|
set -s escape-time 0
|
||||||
|
|
||||||
|
# don't rename windows automatically
|
||||||
|
set-option -g allow-rename off
|
||||||
|
|
||||||
|
# split panes using | and -
|
||||||
|
bind | split-window -h
|
||||||
|
bind - split-window -v
|
||||||
|
unbind '"'
|
||||||
|
unbind %
|
||||||
|
|
||||||
|
# switch panes using Alt-arrow without prefix
|
||||||
|
bind -n M-Left select-pane -L
|
||||||
|
bind -n M-Right select-pane -R
|
||||||
|
bind -n M-Up select-pane -U
|
||||||
|
bind -n M-Down select-pane -D
|
Loading…
Reference in New Issue
Block a user