chore: update neovim / tmux nix 📌

This commit is contained in:
DannyDannyDanny 2024-10-28 15:25:47 +00:00
parent b895c72205
commit f4f57b8142
2 changed files with 32 additions and 7 deletions

View file

@ -5,12 +5,36 @@
enable = true;
defaultEditor = true;
configure = {
# colorscheme blue
# colorscheme desert
customRC = ''
colorscheme peachpuff
set listchars=tab:\ ,space:·,nbsp:,trail:,eol:,precedes:«,extends:»
set title
set bg=light
set go=a
set mouse=a
set nohlsearch
colorscheme gruvbox
set listchars=tab:\ ,space:·,nbsp:,trail:,eol:,precedes:«,extends:»
set clipboard+=unnamedplus
" Replace-all is aliased to S.
nnoremap S :%s//g<Left><Left>
'';
# vimPlugins inspired from Alexnortung
# https://discourse.nixos.org/t/neovim-no-longer-uses-config-or-plugins/13399/4
packages.nix = with pkgs.vimPlugins; {
start = [
vim-surround # Shortcuts for setting () {} etc.
# coc-nvim coc-git coc-highlight coc-python coc-rls coc-vetur coc-vimtex coc-yaml coc-html coc-json # auto completion
vim-nix # nix highlight
vimtex # latex stuff
fzf-vim # fuzzy finder through vim
nerdtree # file structure inside nvim
rainbow # Color parenthesis
gruvbox-nvim # theme
];
opt = [];
};
};
};
}