20250419.1745049019

This commit is contained in:
fz0x1 2025-04-19 09:50:19 +02:00
commit 9dda6e4ff1
Signed by: fz0x1
GPG key ID: 6F81647BE1B459F4
3 changed files with 60 additions and 0 deletions

19
.bashrc Normal file
View file

@ -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"

19
.tmux.conf Normal file
View file

@ -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"

22
.vimrc Normal file
View file

@ -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 <Space> :