commit 9dda6e4ff14b3ed0e88e99f7b2790a97c89d908a Author: fz0x1 Date: Sat Apr 19 09:50:19 2025 +0200 20250419.1745049019 diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..55d78a5 --- /dev/null +++ b/.bashrc @@ -0,0 +1,19 @@ +# color prompt +PS1='\[\e[1;32m\]\u@\h\[\e[0m\]:\[\e[1;34m\]\w\[\e[0m\]\$ ' + +alias ls='ls --color=auto' +alias grep='grep --color=auto' + +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' +# alias vim='nvim' + +export LESS='-R' +export EDITOR=vim +export VISUAL=vim + +# history settings +HISTCONTROL=ignoredups:erasedups +HISTTIMEFORMAT="%F %T " +PROMPT_COMMAND="history -a; $PROMPT_COMMAND" diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..35042d8 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,19 @@ +set -g mouse on +setw -g mode-keys vi +set -g history-limit 10000 + +set -g status-bg black +set -g status-fg green +set -g status-left-length 60 +set -g status-left "#[fg=cyan]#H #[fg=white]| %Y-%m-%d %H:%M" + +# unbind C-b +# set -g prefix C-a +# bind C-a send-prefix + +# Панель разделяется как в Vim +bind | split-window -h +bind - split-window -v +bind r source-file ~/.tmux.conf \; display-message "Reloaded!" + +bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "copy-mode -e" diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..1e5ccc5 --- /dev/null +++ b/.vimrc @@ -0,0 +1,22 @@ +set nocompatible +syntax on +set background=dark +set number +set relativenumber +set cursorline +set expandtab +set tabstop=4 +set shiftwidth=4 +set autoindent +set smartindent +set hlsearch +set incsearch +set ignorecase +set smartcase +set wrap +set termguicolors +set clipboard=unnamedplus + +colorscheme desert " evening, murphy, torte + +nnoremap :