From 3d89a8740f90de99c21e46d20eb743c994d5a7ec Mon Sep 17 00:00:00 2001 From: Andreev Gregory <1@example.com> Date: Thu, 6 Mar 2025 13:08:58 +0300 Subject: [PATCH] Beginning os something excellent --- .tmux.conf | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ .vimrc | 1 + bootstrap.sh | 7 +++++ 3 files changed, 86 insertions(+) create mode 100644 .tmux.conf create mode 120000 .vimrc create mode 100755 bootstrap.sh diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..45c187c --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,78 @@ +set -g history-limit 200000 +set -g mouse off +set -g base-index 1 +set -gw pane-base-index 1 +set -g mode-keys emacs +# Previously set to tmux-256color and xterm-256color +set -g default-terminal xterm-256color +set -g escape-time 0 +set -g repeat-time 0 +set -g status on + +set -g status-style bg=#66ccff,fg=black, +set -g window-status-style bg=#ccffff,fg=black +set -g window-status-current-style bg=red,fg=white + +set -g status-left-style fg=black,bold +set -g status-right-style fg=black,bold + +unbind -T copy-mode C-Space +unbind -T copy-mode v +bind -T copy-mode v send-keys -X begin-selection +unbind -T copy-mode C-w +unbind -T copy-mode y +bind -T copy-mode y send-keys -X copy-selection-and-cancel +unbind -T copy-mode Y +bind -T copy-mode Y send-keys -X pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" + +unbind -T copy-mode j +unbind -T copy-mode k +unbind -T copy-mode l +unbind -T copy-mode \; + +bind -T copy-mode j send-keys -X cursor-left +bind -T copy-mode k send-keys -X cursor-down +bind -T copy-mode l send-keys -X cursor-up +bind -T copy-mode \; send-keys -X cursor-right + +%hidden start_command="zsh -l" +%hidden small_resize="3" +%hidden big_resize="13" + +unbind C +unbind c +bind C new-window +bind c new-window $start_command +unbind \" +bind \" split-window -v -c "#{pane_current_path}" $start_command +unbind % +bind % split-window -h -c "#{pane_current_path}" $start_command +unbind Q +bind Q kill-session +# This binding is for gays. I don't use it. Because I'm not gay. +# bind h select-pane -t "{left-of}" +bind j select-pane -L +bind k select-pane -D +bind l select-pane -U +bind \; select-pane -R + +#set -ga terminal-overrides ",*:ctrlsem=\033[69;50S" +#set -ga terminal-overrides ",*:altsem=\033[69;2S" + +set -s user-keys[0] "\e[69;50S" +set -s user-keys[1] "\e[69;2S" +bind -n User0 send-keys "\e[69;50S" +bind -n User1 send-keys "\e[69;2S" + +bind C-j resize-pane -L $small_resize +bind C-k resize-pane -D $small_resize +bind C-l resize-pane -U $small_resize +bind User0 resize-pane -R $small_resize + +bind M-j resize-pane -L $big_resize +bind M-k resize-pane -D $big_resize +bind M-l resize-pane -U $big_resize +bind User1 resize-pane -R $big_resize + + +bind r source-file ~/.tmux.conf \; display "Config reloaded" diff --git a/.vimrc b/.vimrc new file mode 120000 index 0000000..6b934c6 --- /dev/null +++ b/.vimrc @@ -0,0 +1 @@ +my_vim_config/.vimrc \ No newline at end of file diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..6ad269c --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,7 @@ +#!/bin/sh +set -x +mkdir -p "$HOME/.config/gtk-3.0" +printf "[Settings]\ngtk-application-prefer-dark-theme=true\n" >> "$HOME/.config/gtk-3.0/settings.ini" + +mkdir -p "$HOME/desktop_env" +cd "$HOME/desktop_env"