Skip to content

Commit

Permalink
Add more vim customisation.
Browse files Browse the repository at this point in the history
  • Loading branch information
pippijn committed Nov 6, 2023
1 parent f67df49 commit c128b56
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .config/home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ in {

# Packages that should be installed to the user profile.
home.packages = with pkgs; [
git # version control
git # version control
git-crypt # encrypted files in public git repos
jq # json query tool
keychain # ssh-agent
rclone # sync with nextcloud
screen # terminal window manager
unison # sync with other machines
jq # json query tool
keychain # ssh-agent
rclone # sync with nextcloud
screen # terminal window manager
unison # sync with other machines
];

# This value determines the Home Manager release that your
Expand Down Expand Up @@ -89,17 +89,27 @@ in {

programs.neovim = {
enable = true;
plugins = with pkgs.vimPlugins; [ jellybeans-vim vim-nix ];
plugins = with pkgs.vimPlugins; [
jellybeans-vim
vim-nix
];

extraConfig = ''
colorscheme jellybeans
set expandtab
set nowrap
set scrolloff=5
set sidescrolloff=3
set cursorline
set backup
set backupdir=~/.local/state/nvim/backup/
set viminfo='500,\"800
nnoremap <C-l> :noh<CR><C-l>
map Q gqap
au BufNewFile,BufRead *.vcf set ft=vcard
au FileType bzl set ts=4 sw=4
'';
};

Expand Down
1 change: 1 addition & 0 deletions code/kubes/vps/toktok/home/.config/tox/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/toxic_profile.tox filter=git-crypt diff=git-crypt
Binary file modified code/kubes/vps/toktok/home/.config/tox/toxic_profile.tox
Binary file not shown.

0 comments on commit c128b56

Please sign in to comment.