Ideavimrc: Replace with a plain file.
This commit is contained in:
parent
34fb3e5893
commit
01f7b0b2cf
|
@ -8,7 +8,8 @@ excludes = [
|
|||
"*.ogg",
|
||||
"*.lock",
|
||||
"*.conf",
|
||||
"License"
|
||||
"License",
|
||||
"home/file/jetbrains/ideavimrc"
|
||||
]
|
||||
|
||||
[formatter.nixfmt-rfc-style]
|
||||
|
|
|
@ -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 = "";
|
||||
|
|
|
@ -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>
|
||||
'';
|
||||
}
|
22
home/file/jetbrains/ideavimrc
Normal file
22
home/file/jetbrains/ideavimrc
Normal 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>
|
Loading…
Reference in a new issue