Dotfiles.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.0 KiB

7 years ago
" Цветовая схема
colorscheme custom
7 years ago
" Редактор по умолчанию
set vicmd=nvim
" Информация, сохраняемая в vifminfo
set vifminfo=bookmarks,tui,dhistory,state,savedirs,chistory,shistory,phistory
7 years ago
" cp/mv/rm с прогрессом
set syscalls
set rulerformat='%2l/%S %[(+%x)%]'
set history=512
set undolevels=512
7 years ago
" Дополнение в виде меню
set wildstyle=popup
set wildmenu
7 years ago
set fastrun
set sortnumbers
set scrolloff=4
windo set number
windo set numberwidth=1
7 years ago
set ignorecase
set smartcase
set nohlsearch
set incsearch
set nowrap
set grepprg="rg --line-number --no-heading --smart-case --color=never"
set findprg="fd %A %s"
set timefmt="%d.%m.%y %H:%M"
" %t - file name (considering value of the 'classify' option)
" %T - symbolic link target (empty for other filetypes)
" %f - file name relative to current directory (considers 'classify')
" %A - file attributes (permissions on *nix or properties on Windows) %u - user name or uid (if it cannot be resolved)
" %g - group name or gid (if it cannot be resolved)
" %s - file size in human readable format
" %E - size of selected files in human readable format, same as %s when no files are selected, except that it will never show size of ../ in visual mode, since it cannot be selected
" %d - file modification date (uses 'timefmt' option)
" %D - path of the other pane for single-pane layout
" %a - amount of free space available at current partition
" %z - short tips/tricks/hints that chosen randomly after one minute period
" %{<expr>} - evaluate arbitrary vifm expression '<expr>', e.g. '&sort'
" %* - resets or applies one of User1..User9 highlight groups; reset happens when width field is 0 or not specified, one of groups gets picked when width field is in the range from 1 to 9
7 years ago
set statusline=" %t %T%= %1* 廬%A %2* %u:%-g %3*%7E %4* %5*%14d %6* %7*[ %a] %8*%9* %D "
8 years ago
set slowfs=curlftpfs
source ~/.vifm/marks
source ~/.vifm/filetypes
source ~/.vifm/commands
source ~/.vifm/mappings
7 years ago
source ~/.vifm/icons