Skip to content

Commit

Permalink
Update home.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
timosarkar authored Dec 11, 2024
1 parent 7a9ec59 commit 9b91734
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ in
# vim ultisnips
home.file.".vim/UltiSnips/all.snippets" = {
text = ''
snippet blog "txt blogpost template"
title: $1
date: `date +%Y-%m-%d\ %H:%M`
description: $2
tags: [$3]
$4
endsnippet
snippet html "html5 template"
<html lang="en">
<head>
Expand All @@ -68,10 +59,8 @@ in
pkgs.mkShell {
buildInputs = [
$1
pkgs.$1
];
$2
}
endsnippet
'';
Expand All @@ -94,9 +83,10 @@ extraConfig = ''
set shiftwidth=2
set expandtab
set termguicolors
colorscheme monokai_pro
colorscheme vim-monokai-tasty
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsSnippetDirectories=["UltiSnips"]
let g:NERDTreeWinSize = 20
autocmd VimEnter * NERDTree | wincmd p
autocmd BufNewFile,BufRead *.vpm call SetVimPresentationMode()
Expand All @@ -113,7 +103,7 @@ extraConfig = ''

# vim plugins
plugins = with pkgs.vimPlugins; [
vim-monokai-pro
vim-monokai-tasty
ultisnips
nerdtree
];
Expand Down

0 comments on commit 9b91734

Please sign in to comment.