update
This commit is contained in:
@@ -18,8 +18,14 @@ profile {
|
||||
}
|
||||
|
||||
profile {
|
||||
output DP-6 enable position 3440,0
|
||||
output DP-7 enable position 0,0
|
||||
output DP-7 enable position 0,1440
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
@@ -42,8 +42,5 @@ vim.opt.guicursor = ""
|
||||
|
||||
vim.opt.nu = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.api.nvim_set_keymap("n", "<C-d>", "<C-d>zz", { noremap = true })
|
||||
vim.api.nvim_set_keymap("n", "<C-u>", "<C-u>zz", { noremap = true })
|
||||
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")
|
||||
vim.opt_local.conceallevel = 2
|
||||
|
||||
@@ -42,3 +42,7 @@ end, { noremap = true })
|
||||
map("n", "<leader>P", function()
|
||||
require("powershell").toggle_term()
|
||||
end, { noremap = true })
|
||||
|
||||
-- Obsidian
|
||||
map("", "<leader>of", "<cmd> ObsidianFollowLink <CR>", { desc = "Follow Link" })
|
||||
map("", "<leader>ol", "<cmd> ObsidianLinks <CR>", { desc = "Show All Links" })
|
||||
|
||||
@@ -120,4 +120,21 @@ return {
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"epwalsh/obsidian.nvim",
|
||||
version = "*",
|
||||
lazy = true,
|
||||
ft = "markdown",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
},
|
||||
opts = {
|
||||
workspaces = {
|
||||
{
|
||||
name = "vault",
|
||||
path = "~/Documents/obsidian"
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
17
.config/nvim/lua/plugins/obsidian.lua
Normal file
17
.config/nvim/lua/plugins/obsidian.lua
Normal 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
4
.zshrc
@@ -13,7 +13,8 @@ export LS_COLORS="$(vivid generate catppuccin-mocha)"
|
||||
export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=none,fg=white,bold"
|
||||
#eval $(thefuck --alias)
|
||||
|
||||
alias tf=terraform
|
||||
alias tf=tofu
|
||||
alias terraform=tofu
|
||||
alias k=kubectl
|
||||
alias ls='ls --color'
|
||||
alias vim='nvim'
|
||||
@@ -27,6 +28,7 @@ alias cat='bat -P'
|
||||
alias network='nmtui'
|
||||
alias docker='podman'
|
||||
alias sudo='sudo '
|
||||
alias grep='rg'
|
||||
alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
|
||||
|
||||
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.toml)"
|
||||
|
||||
@@ -41,6 +41,7 @@ required_packages_apt:
|
||||
- openresolv
|
||||
- podman
|
||||
- brightnessctl
|
||||
- pavucontrol
|
||||
|
||||
flatpak_remote:
|
||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||
|
||||
Reference in New Issue
Block a user