restructure folders
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
|
||||
|
||||
Zusatz:
|
||||
- firefox Bookmarks neu
|
||||
- obsidian vaults einrichten in home/programs/neovim/lua/plugins/obsidian.lua
|
||||
@@ -1,10 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./programs
|
||||
./services
|
||||
];
|
||||
imports = [ ./programs ./services ];
|
||||
home = {
|
||||
username = "elias";
|
||||
homeDirectory = "/home/elias";
|
||||
@@ -28,9 +25,7 @@
|
||||
firefox
|
||||
#signal-desktop
|
||||
#telegram-desktop
|
||||
xfce.thunar
|
||||
# zathura
|
||||
xfce.xfconf
|
||||
];
|
||||
|
||||
# environment.shells = [ pkgs.zsh ];
|
||||
|
||||
@@ -3,8 +3,8 @@ return {
|
||||
"epwalsh/obsidian.nvim",
|
||||
lazy = true,
|
||||
event = {
|
||||
"BufReadPre " .. vim.fn.expand("~") .. "/Notes/**.md",
|
||||
"BufNewFile " .. vim.fn.expand("~") .. "/Notes/**.md",
|
||||
"BufReadPre " .. vim.fn.expand("~") .. "**.md",
|
||||
"BufNewFile " .. vim.fn.expand("~") .. "**.md",
|
||||
},
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
@@ -30,7 +30,10 @@ return {
|
||||
},
|
||||
},
|
||||
})
|
||||
function OpenMarkdownPreview(url)
|
||||
execute "silent ! firefox --new-window " . a:url
|
||||
endfunction
|
||||
let g:mkdp_browserfunc = 'OpenMarkdownPreview'
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user