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