20250419.1745049019
This commit is contained in:
commit
9dda6e4ff1
3 changed files with 60 additions and 0 deletions
19
.bashrc
Normal file
19
.bashrc
Normal 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
19
.tmux.conf
Normal 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
22
.vimrc
Normal 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> :
|
Loading…
Add table
Reference in a new issue