nixos/home/code.nix
2021-06-27 15:40:34 +01:00

44 lines
785 B
Nix

{ config, pkgs, lib, home, ... }:
{
home.packages = with pkgs; [
nixfmt
jetbrains.idea-ultimate
jetbrains.jdk
vscode
];
programs.neovim = {
enable = true;
extraConfig = ''
# syntax
syntax enable
# color themes
set termguicolors
colorscheme molokai
# wildcard mode
set wildmode=longest,list
# YouCompleteMe
let g:ycm_key_list_stop_completion = ['<C-y>', '<CR>']
let g:ycm_key_list_select_completion = ['<Up>', '<Down>', '<TAB>']
'';
viAlias = true;
vimAlias = true;
plugins = with pkgs.vimPlugins; [
vim-nix
molokai
YouCompleteMe
vim-airline
vim-airline-themes
vim-lsp
vim-indent-guides
vim-signify
];
};
}