reformated readme, added lint and markdown lint, fixed env.sh
This commit is contained in:
parent
354a2abbcd
commit
edf3d20945
17
README.md
17
README.md
|
@ -1,12 +1,15 @@
|
|||
# hi
|
||||
|
||||
this is just some configs and stuffs i decided to put on my github
|
||||
eg my dotfiles
|
||||
|
||||
# update 05/24/2025
|
||||
## update 05/24/2025
|
||||
|
||||
i liked how primagen did his dev environment and deploying of scripts. so im making my own version
|
||||
note: the pacman install scripts may not be fully what i have as i made this loong after installing software
|
||||
|
||||
# requirements
|
||||
## requirements
|
||||
|
||||
- for dwm or awesome
|
||||
- xorg-server
|
||||
- xorg-xinit
|
||||
|
@ -15,7 +18,8 @@ note: the pacman install scripts may not be fully what i have as i made this loo
|
|||
- libxft
|
||||
- libxinerama
|
||||
- for awesome extra
|
||||
- rofi-wayland (works on x. my rofi command on awesome is rofi -x11 so this may be required)
|
||||
- rofi-wayland
|
||||
(works on x. my rofi command on awesome is rofi -x11 so this may be required)
|
||||
- for surf
|
||||
- gcr
|
||||
- webkit2gtk
|
||||
|
@ -44,7 +48,7 @@ note: the pacman install scripts may not be fully what i have as i made this loo
|
|||
- secondary rxvt-unicode # less memory usage
|
||||
- ibus
|
||||
- ibus-mozc # for japanese input
|
||||
- fonts
|
||||
- fonts
|
||||
- B612 mono
|
||||
- ttf-inconsolata
|
||||
- ttf-jetbrains-mono
|
||||
|
@ -73,7 +77,7 @@ note: the pacman install scripts may not be fully what i have as i made this loo
|
|||
- pipewire-pulse
|
||||
- qpwgraph
|
||||
- onscreen keys - screenkey
|
||||
- compositor
|
||||
- compositor
|
||||
- xcompmgr # primarily
|
||||
- picom # for fancy ness
|
||||
- inetutils # for normal ftp
|
||||
|
@ -93,7 +97,8 @@ note: the pacman install scripts may not be fully what i have as i made this loo
|
|||
- calender
|
||||
- calcurse
|
||||
|
||||
# todo
|
||||
## todo
|
||||
|
||||
- deploy system folder? or just add keep/system directory to path. tis the question.
|
||||
- probably will deploy.
|
||||
- make 3rd env so first is minimal????
|
||||
|
|
|
@ -440,3 +440,9 @@ windowrule = workspace 8, title: VRChat
|
|||
|
||||
windowrule = noinitialfocus, title:im-emoji-picker
|
||||
windowrule = nofocus, title:im-emoji-picker
|
||||
|
||||
windowrule = float,title:(blob\:https://)(.*),class:xdg-desktop-portal-gtk
|
||||
windowrule = size 60% 60%,title:(blob\:https://)(.*),class:xdg-desktop-portal-gtk
|
||||
|
||||
windowrule = float,title:Open Files,class:xdg-desktop-portal-gtk
|
||||
windowrule = size 60% 60%,title:Open Files,class:xdg-desktop-portal-gtk
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
local ok, lint = pcall(require, 'lint')
|
||||
if ok then
|
||||
lint.linters_by_ft = {
|
||||
markdown = { 'markdownlint-cli2' },
|
||||
}
|
||||
|
||||
-- ive spent like 3 hours getting this to work
|
||||
local markdownlint = lint.linters['markdownlint-cli2']
|
||||
markdownlint.args = {
|
||||
"--config", vim.fn.expand("~/.markdownlint.yaml"),
|
||||
"--",
|
||||
}
|
||||
|
||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||
|
||||
vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, {
|
||||
group = lint_augroup,
|
||||
callback = function()
|
||||
lint.try_lint()
|
||||
end,
|
||||
})
|
||||
end
|
|
@ -76,3 +76,14 @@ if ok then
|
|||
|
||||
lsp.setup()
|
||||
end
|
||||
|
||||
|
||||
|
||||
local ok, null_ls = pcall(require, 'null-ls')
|
||||
if ok then
|
||||
null_ls.setup({
|
||||
sources = {
|
||||
null_ls.builtins.diagnostics.markdownlint_cli2,
|
||||
},
|
||||
})
|
||||
end
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
vim.keymap.set('n', '<leader>mx', ':MarkdownPreview<cr>')
|
||||
vim.keymap.set('n', '<leader>ms', ':MarkdownPreviewStop<cr>')
|
|
@ -2,6 +2,17 @@ local ok, _ = pcall(require, 'telescope')
|
|||
if ok then
|
||||
local telescope = require('telescope')
|
||||
local builtin = require('telescope.builtin')
|
||||
local action = require('telescope.actions')
|
||||
telescope.setup{
|
||||
defaults = {
|
||||
mappings = {
|
||||
n = {
|
||||
["d"] = action.delete_buffer,
|
||||
["q"] = action.close,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if string.find(vim.loop.cwd(),"iceys%-linux%-stuffs") then
|
||||
telescope.setup{
|
||||
pickers = {
|
||||
|
@ -11,6 +22,9 @@ if ok then
|
|||
}
|
||||
}
|
||||
end
|
||||
-- vim.keymap.set('n', '<leader>pf', "<cmd>Telescope find_files initial_mode=normal<cr>", {})
|
||||
-- sort_mru=true sort by most recently used
|
||||
-- sort_lastused=true
|
||||
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<leader>pg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<leader>pb', builtin.buffers, {})
|
||||
|
|
|
@ -14,7 +14,7 @@ vim.opt.smartindent=true
|
|||
|
||||
vim.opt.wrap = true
|
||||
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.hlsearch = true
|
||||
vim.opt.incsearch = true
|
||||
|
||||
vim.o.ignorecase = true
|
||||
|
|
|
@ -71,4 +71,21 @@ return require('packer').startup(function(use)
|
|||
{'L3MON4D3/LuaSnip'},
|
||||
}
|
||||
}
|
||||
|
||||
use 'mfussenegger/nvim-lint'
|
||||
|
||||
use 'nvimtools/none-ls.nvim'
|
||||
|
||||
use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
|
||||
|
||||
-- use({
|
||||
-- 'MeanderingProgrammer/render-markdown.nvim',
|
||||
-- after = { 'nvim-treesitter' },
|
||||
-- requires = { 'echasnovski/mini.nvim', opt = true }, -- if you use the mini.nvim suite
|
||||
-- -- requires = { 'echasnovski/mini.icons', opt = true }, -- if you use standalone mini plugins
|
||||
-- -- requires = { 'nvim-tree/nvim-web-devicons', opt = true }, -- if you prefer nvim-web-devicons
|
||||
-- config = function()
|
||||
-- require('render-markdown').setup({})
|
||||
-- end,
|
||||
-- })
|
||||
end)
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
MD013: false
|
||||
MD007: false
|
|
@ -7,7 +7,7 @@ sudo="sudo"
|
|||
|
||||
echo GETTING CURRENT REQS ARCH
|
||||
|
||||
$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland
|
||||
$sudo pacman -S xorg-server libxft libxinerama pipewire-pulse pipewire-alsa pipewire-jack qpwgraph wezterm ttf-inconsolata sddm wayland hyprland waybar xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk zsh vlc v4l2loopback-dkms qt6-wayland qt5-wayland ntfs-3g gnome-keyring inetutils doas cowsay fastfetch yt-dlp ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji font-manager atuin gvfs-mtp bat lxappearance cmus grim btop htop rxvt-unicode lf inetutils openrgb reflector steam rofi-wayland ripgrep
|
||||
$sudo pacman -S fcitx5-im fcitx5-mozc networkmanager openvpn networkmanager-openvpn openresolv
|
||||
|
||||
# for vr
|
||||
|
|
18
runs/env.sh
18
runs/env.sh
|
@ -3,16 +3,14 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|||
|
||||
echo DEPLOYING ENV
|
||||
|
||||
cp -r $script_dir/../env/.bashrc "$DEV_ENV"
|
||||
cp -r $script_dir/../env/.bash_profile "$DEV_ENV"
|
||||
cp -r $script_dir/../env/.vimrc "$DEV_ENV"
|
||||
cp $script_dir/../env/.bashrc "$DEV_ENV"
|
||||
cp $script_dir/../env/.bash_profile "$DEV_ENV"
|
||||
cp $script_dir/../env/.vimrc "$DEV_ENV"
|
||||
cp $script_dir/../env/.markdownlint.yaml "$DEV_ENV"
|
||||
mkdir "$DEV_ENV/.config"
|
||||
cp -r $script_dir/../env/.config/.profile "$DEV_ENV/.config"
|
||||
mkdir "$DEV_ENV/.config/nvim"
|
||||
cp -r $script_dir/../env/.config/nvim "$DEV_ENV/.config/nvim"
|
||||
mkdir "$DEV_ENV/.config/tmux"
|
||||
cp -r $script_dir/../env/.config/tmux "$DEV_ENV/.config/tmux"
|
||||
mkdir "$DEV_ENV/.config/wezterm"
|
||||
cp -r $script_dir/../env/.config/wezterm "$DEV_ENV/.config/wezterm"
|
||||
cp $script_dir/../env/.config/.profile "$DEV_ENV/.config"
|
||||
cp -r $script_dir/../env/.config/nvim "$DEV_ENV/.config"
|
||||
cp -r $script_dir/../env/.config/tmux "$DEV_ENV/.config"
|
||||
cp -r $script_dir/../env/.config/wezterm "$DEV_ENV/.config"
|
||||
|
||||
echo -----------------
|
||||
|
|
Loading…
Reference in New Issue