2024-10-11 23:27:07 +03:00
|
|
|
{
|
2024-11-04 04:37:29 +03:00
|
|
|
util,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
ideavimrc = util.trimTabs ''
|
|
|
|
" Plugins.
|
|
|
|
Plug 'tpope/vim-commentary'
|
|
|
|
Plug 'machakann/vim-highlightedyank'
|
|
|
|
" Plug 'junegunn/vim-easy-align'
|
2024-09-03 01:27:43 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
" General config.
|
|
|
|
set scrolloff=4
|
|
|
|
set incsearch
|
|
|
|
set hlsearch
|
|
|
|
set clipboard=unnamedplus
|
|
|
|
set relativenumber
|
|
|
|
set number
|
2024-09-01 04:05:55 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
" Space as a leader.
|
|
|
|
nnoremap <SPACE> <Nop>
|
|
|
|
let mapleader=" "
|
2024-09-03 01:27:43 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
" Align. ISSUE: Broken.
|
|
|
|
" vmap <Leader>a <Plug>(EasyAlign)
|
2024-09-03 01:27:43 +03:00
|
|
|
|
2024-11-04 04:37:29 +03:00
|
|
|
" Sort.
|
|
|
|
vmap <Leader>A :sort<cr>
|
|
|
|
'';
|
2024-09-01 04:05:55 +03:00
|
|
|
}
|