Idea : Configure ideavimrc.
This commit is contained in:
parent
04c4351436
commit
4ce5d01b83
|
@ -6,6 +6,7 @@
|
|||
git = import ./git args;
|
||||
gtk3 = import ./gtk/3 args;
|
||||
htop = import ./top/htop args;
|
||||
jetbrains = import ./jetbrains args;
|
||||
keyd = import ./keyd args;
|
||||
mako = import ./mako args;
|
||||
mangohud = import ./mangohud args;
|
||||
|
@ -41,4 +42,5 @@ in {
|
|||
".ssh/config".text = ssh.text;
|
||||
".Wallpaper".source = config.module.wallpaper.path;
|
||||
".template".source = ./template;
|
||||
".ideavimrc".text = jetbrains.ideavimrc;
|
||||
}
|
||||
|
|
11
home/config/jetbrains/default.nix
Normal file
11
home/config/jetbrains/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ util, ... }: {
|
||||
ideavimrc = util.trimTabs ''
|
||||
set scrolloff=4
|
||||
set incsearch
|
||||
set hlsearch
|
||||
set clipboard=unnamedplus
|
||||
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'machakann/vim-highlightedyank'
|
||||
'';
|
||||
}
|
|
@ -2,15 +2,17 @@
|
|||
text = ''
|
||||
-- TODO: Add comments and separate files.
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
-- vim.opt.completeopt = "menuone,noselect"
|
||||
vim.opt.cursorline = false
|
||||
vim.opt.fixeol = false
|
||||
vim.opt.incsearch = true;
|
||||
vim.opt.number = true
|
||||
vim.opt.scrolloff = 4
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.splitright = true
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.ttyfast = true
|
||||
vim.opt.wildmode = "longest,list"
|
||||
-- vim.opt.completeopt = "menuone,noselect"
|
||||
|
||||
-- Disable continuing comments on newline.
|
||||
vim.cmd("autocmd BufEnter * set fo-=c fo-=r fo-=o")
|
||||
|
|
Loading…
Reference in a new issue