update
This commit is contained in:
@@ -28,3 +28,17 @@ map("", "<leader>dus", function()
|
||||
local sidebar = widgets.sidebar(widgets.scopes)
|
||||
sidebar.open()
|
||||
end, { desc = "Open debugging Window" })
|
||||
|
||||
-- Movement
|
||||
map("n", "<C-d>", "<c-d>zz", { noremap = true })
|
||||
map("n", "<C-u>", "<c-u>zz", { noremap = true })
|
||||
map("n", "n", "nzzzv", { noremap = true })
|
||||
map("n", "N", "Nzzzv", { noremap = true })
|
||||
|
||||
-- Powershell
|
||||
map("n", "<leader>E", function()
|
||||
require("powershell").eval()
|
||||
end, { noremap = true })
|
||||
map("n", "<leader>P", function()
|
||||
require("powershell").toggle_term()
|
||||
end, { noremap = true })
|
||||
|
||||
@@ -61,7 +61,20 @@ return {
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
},
|
||||
-- Golang
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
opts = {
|
||||
filters = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"TheLeoP/powershell.nvim",
|
||||
opts = {
|
||||
bundle_path = vim.fn.stdpath "data" .. "/man/packages/powershell-editor-services",
|
||||
},
|
||||
},
|
||||
{
|
||||
"olexsmir/gopher.nvim",
|
||||
ft = "go",
|
||||
@@ -72,7 +85,17 @@ return {
|
||||
vim.cmd [[silent! GoInstallDeps]]
|
||||
end,
|
||||
},
|
||||
-- Dap
|
||||
{
|
||||
"dreamsofcode-io/nvim-dap-go",
|
||||
ft = "go",
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-dap",
|
||||
"rcarriga/nvim-dap-ui",
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("dap-go").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
},
|
||||
@@ -97,16 +120,4 @@ return {
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"dreamsofcode-io/nvim-dap-go",
|
||||
ft = "go",
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-dap",
|
||||
"rcarriga/nvim-dap-ui",
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("dap-go").setup(opts)
|
||||
-- require("core.utils").load_mappings "dap_go"
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -179,5 +179,8 @@ bindsym XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; pkill -R
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl s 10%-
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl s +10%
|
||||
|
||||
# ScreenShot
|
||||
bindsym $mod+p exec grim -g "$(slurp)" - | wl-copy
|
||||
|
||||
default_border none
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
1
.zshrc
1
.zshrc
@@ -26,6 +26,7 @@ alias cat='bat'
|
||||
alias network='nmtui'
|
||||
alias docker='podman'
|
||||
alias sudo='sudo '
|
||||
alias connectvpn='sudo openvpn ~/Documents/openvpn/openvpn.ovpn'
|
||||
|
||||
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.toml)"
|
||||
|
||||
|
||||
@@ -41,6 +41,9 @@ required_packages_pacman:
|
||||
- podman
|
||||
- grim
|
||||
- slurp
|
||||
- helm
|
||||
- networkmanager-openvpn
|
||||
- openresolv
|
||||
|
||||
flatpak_remote:
|
||||
- {name: 'flathub', url: "https://dl.flathub.org/repo/flathub.flatpakrepo"}
|
||||
|
||||
Reference in New Issue
Block a user