This commit is contained in:
2024-07-06 16:45:50 -05:00
parent bec224e0f4
commit 58ec74b798
7 changed files with 52 additions and 8 deletions

View File

@@ -18,8 +18,14 @@ profile {
} }
profile { profile {
output DP-6 enable position 3440,0 output DP-7 enable position 0,1440
output DP-7 enable position 0,0 output DP-6 enable position 0,0
output eDP-1 disable
}
profile {
output DP-5 enable position 0,1440
output DP-6 enable position 0,0
output eDP-1 disable output eDP-1 disable
} }

View File

@@ -42,8 +42,5 @@ vim.opt.guicursor = ""
vim.opt.nu = true vim.opt.nu = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.api.nvim_set_keymap("n", "<C-d>", "<C-d>zz", { noremap = true }) vim.api.nvim_set_option("clipboard", "unnamedplus")
vim.api.nvim_set_keymap("n", "<C-u>", "<C-u>zz", { noremap = true }) vim.opt_local.conceallevel = 2
vim.api.nvim_set_keymap("n", "n", "nzzzv", { noremap = true })
vim.api.nvim_set_keymap("n", "N", "Nzzzv", { noremap = true })
vim.api.nvim_set_option("clipboard", "unnamedplus")

View File

@@ -42,3 +42,7 @@ end, { noremap = true })
map("n", "<leader>P", function() map("n", "<leader>P", function()
require("powershell").toggle_term() require("powershell").toggle_term()
end, { noremap = true }) end, { noremap = true })
-- Obsidian
map("", "<leader>of", "<cmd> ObsidianFollowLink <CR>", { desc = "Follow Link" })
map("", "<leader>ol", "<cmd> ObsidianLinks <CR>", { desc = "Show All Links" })

View File

@@ -120,4 +120,21 @@ return {
end end
end, end,
}, },
{
"epwalsh/obsidian.nvim",
version = "*",
lazy = true,
ft = "markdown",
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {
workspaces = {
{
name = "vault",
path = "~/Documents/obsidian"
},
},
},
},
} }

View File

@@ -0,0 +1,17 @@
return {
"epwalsh/obsidian.nvim",
version = "*",
lazy = true,
ft = "markdown",
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {
workspaces = {
{
name = "vault",
path = "~/Documents/obsidian"
},
},
},
}

4
.zshrc
View File

@@ -13,7 +13,8 @@ export LS_COLORS="$(vivid generate catppuccin-mocha)"
export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=none,fg=white,bold" export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=none,fg=white,bold"
#eval $(thefuck --alias) #eval $(thefuck --alias)
alias tf=terraform alias tf=tofu
alias terraform=tofu
alias k=kubectl alias k=kubectl
alias ls='ls --color' alias ls='ls --color'
alias vim='nvim' alias vim='nvim'
@@ -27,6 +28,7 @@ alias cat='bat -P'
alias network='nmtui' alias network='nmtui'
alias docker='podman' alias docker='podman'
alias sudo='sudo ' alias sudo='sudo '
alias grep='rg'
alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn' alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.toml)" eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.toml)"

View File

@@ -41,6 +41,7 @@ required_packages_apt:
- openresolv - openresolv
- podman - podman
- brightnessctl - brightnessctl
- pavucontrol
flatpak_remote: flatpak_remote:
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"} - {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}