Anton Shestakov <av6@dwimlabs.net>, Sat, 13 Jul 2024 01:40:48 +0400
.bashrc: lsof-deleted to find processes that might need restarting
.vimrc
Permissions: -rw-r--r--
set backspace=indent
,eol,start set wildmode=list:longest
set autoindent " copy indent from current line when starting a new line set complete-=i " don't scan included files set completeopt=menu
,popup " popup instead of preview set sessionoptions=buffers set nowrap " don't automatically wrap on load set textwidth=79 " width of document (used by gd) set colorcolumn=80 " list of screen columns to highlight set formatoptions-=t " don't automatically wrap text when typing set formatoptions+=n " recognize numbered lists when formatting set formatoptions+=j " remove comment leader when joining lines set diffopt+=context:
50 " vimdiff likes folding a bit too much set shiftround " round indent to multiples of shiftwidth (for > and <) set listchars=tab:
>-,trail:·
,nbsp:⍽
set number " show line numbers set laststatus=2 " always show status line set ttimeoutlen=0 " eliminate delay after <ESC> set updatetime=500 " faster async update for signify " cursor in insert and replace modes map
<Leader
>n :
bprevious<CR
>map
<Leader
>p :CtrlPBuffer
<CR
>map
<Leader
>o :CtrlPBufTagAll
<CR
>map
<Leader
>/ :CtrlPLine
<CR
>map
<Leader
>f :YcmCompleter GoToDefinition
<CR
>noremap <expr
> <silent> <Home
> col('.') == match(getline
('.'),'\S')+1 ?
'0' :
'^' imap
<silent> <Home
> <C
-O
><Home
>" don't leave visual mode after shifting nnoremap <C
-Up
> :move .
-2<CR
> nnoremap <C
-Down
> :move .
+1<CR
> vnoremap <C
-Up
> :move '
<-2<CR
>gv
vnoremap <C
-Down
> :move '
>+1<CR
>gv
imap
<C
-Down
> <C
-O
><C
-Down
>nnoremap <F3
> :
setlocal list! list?
<CR
> nnoremap <F4
> :
setlocal cursorcolumn! cursorcolumn?
<CR
> nnoremap <F8
> :TagbarToggle fjc
<CR
> filetype plugin indent
on " go back to the last edited position \
if line
("'\"") >= 1 && line
("'\"") <= line
("$") \
| execute
"normal! g`\""let g:airline_symbols_ascii
= 1 let g:airline_theme
= 'powerlineish' let g:airline#extensions#
tabline#enabled
= 1 let g:airline#extensions#
tabline#formatter
= 'unique_tail_improved' let g:airline#extensions#
tabline#left_sep
= ' ' let g:airline#extensions#
tabline#left_alt_sep
= '' let g:ctrlp_max_height
= 20 let g:ctrlp_custom_ignore
= '\v[\/](venv|node_modules|\.(git|hg|svn))$' let g:ale_lint_on_text_changed
= 'never' let g:ale_lint_on_insert_leave
= 0 let g:ale_linters
= {
'python': [
'mypy', 'pyflakes'] }
let g:ale_python_mypy_auto_pipenv
= 1 let g:ale_python_pyflakes_executable
= 'pyflakes3' let b:ale_fixers
= [
'remove_trailing_lines', 'trim_whitespace']
let g:signify_skip
= {
'vcs': {
'allow': [
'git', 'hg'] } }
let g:tagbar_position
= "topleft vertical" "let g:ycm_filetype_blacklist = { 'ycm_nofiletype': 1 } "let g:ycm_autoclose_preview_window_after_completion = 1 "let g:ycm_autoclose_preview_window_after_insertion = 1 let g:ansible_attribute_highlight
= "ab" let g:ansible_extra_keywords_highlight
= 1 if $COLORTERM
== 'truecolor' " uses "cterm" attributes on vim, "gui" attributes on neovim let g:molokai_original
= 1 highlight MatchParen guifg
=#FD971F guibg
=bg gui=bold ctermfg
=208 ctermbg
=none cterm
=bold highlight Comment ctermfg
=244