Ideavimrc: Replace with a plain file.

This commit is contained in:
Dmitry Voronin 2024-12-18 13:54:59 +03:00
parent 414eefa1ee
commit c9d1c4318c
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
4 changed files with 25 additions and 30 deletions

View file

@ -8,7 +8,8 @@ excludes = [
"*.ogg",
"*.lock",
"*.conf",
"License"
"License",
"home/file/jetbrains/ideavimrc"
]
[formatter.nixfmt-rfc-style]

View file

@ -11,7 +11,6 @@ let
foot = import ./foot args;
fuzzel = import ./fuzzel args;
git = import ./git args;
jetbrains = import ./jetbrains args;
keyd = import ./keyd args;
mako = import ./mako args;
mangohud = import ./mangohud args;
@ -47,7 +46,7 @@ in
".config/yazi/yazi.toml".source = yazi.yazi;
".editorconfig".source = editor.file;
".gitconfig".source = git.file;
".ideavimrc".text = jetbrains.ideavimrc;
".ideavimrc".source = ./jetbrains/ideavimrc;
".nix".source = self;
".nixpkgs".source = inputs.nixpkgs;
".parallel/will-cite".text = "";

View file

@ -1,27 +0,0 @@
{ ... }:
{
ideavimrc = ''
" Plugins.
Plug 'tpope/vim-commentary'
Plug 'machakann/vim-highlightedyank'
" Plug 'junegunn/vim-easy-align'
" General config.
set scrolloff=4
set incsearch
set hlsearch
set clipboard=unnamedplus
set relativenumber
set number
" Space as a leader.
nnoremap <SPACE> <Nop>
let mapleader=" "
" Align. ISSUE: Broken.
" vmap <Leader>a <Plug>(EasyAlign)
" Sort.
vmap <Leader>A :sort<cr>
'';
}

View file

@ -0,0 +1,22 @@
" Plugins.
Plug 'tpope/vim-commentary'
Plug 'machakann/vim-highlightedyank'
" Plug 'junegunn/vim-easy-align'
" General config.
set scrolloff=4
set incsearch
set hlsearch
set clipboard=unnamedplus
set relativenumber
set number
" Space as a leader.
nnoremap <SPACE> <Nop>
let mapleader=" "
" Align. ISSUE: Broken.
" vmap <Leader>a <Plug>(EasyAlign)
" Sort.
vmap <Leader>A :sort<cr>