Compare commits
2 Commits
personal-m
...
neovim-onl
| Author | SHA1 | Date | |
|---|---|---|---|
| ceb0bc34cc | |||
| c23a3a06a2 |
BIN
tmux/.config/tmux/plugins/.DS_Store → .DS_Store
vendored
BIN
tmux/.config/tmux/plugins/.DS_Store → .DS_Store
vendored
Binary file not shown.
22
README.md
22
README.md
@ -1,22 +0,0 @@
|
||||
```
|
||||
_ _ _
|
||||
| \ | | (_)
|
||||
| \| | ___ _ __ _ __ ___ __ __ _ _ __ ___
|
||||
| . ` | / _ \ | '__|| '_ ` _ \\ \ / /| || '_ ` _ \
|
||||
| |\ || (_) || | | | | | | |\ V / | || | | | | |
|
||||
|_| \_| \___/ |_| |_| |_| |_| \_/ |_||_| |_| |_|
|
||||
```
|
||||
|
||||
### Welcome to my setup
|
||||
|
||||
Most of the times I'm writing in Markdown or Python. I'll also manage my servers from a similar environment which is mostly yaml and bash scripts. Here's a few images.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
|
||||

|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 184 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 226 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 345 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 271 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 269 KiB |
BIN
nvim/.config/nvim/data/.DS_Store
vendored
Normal file
BIN
nvim/.config/nvim/data/.DS_Store
vendored
Normal file
Binary file not shown.
@ -1,20 +1,15 @@
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
if vim.v.shell_error ~= 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
||||
{ out, "WarningMsg" },
|
||||
{ "\nPress any key to exit..." },
|
||||
}, true, {})
|
||||
vim.fn.getchar()
|
||||
os.exit(1)
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filteer=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
vim.g.mapleader = ','
|
||||
vim.g.localmapleader = ','
|
||||
--- vim.opt.textwidth = 85
|
||||
@ -45,14 +40,14 @@ opt.clipboard = 'unnamedplus' -- Copy/paste to system clipboard
|
||||
opt.swapfile = false -- Don't use swapfile
|
||||
opt.shadafile = "NONE"
|
||||
opt.shadafile = ""
|
||||
opt.shell = "/bin/zsh"
|
||||
opt.shell = "/bin/bash"
|
||||
opt.updatetime = 200
|
||||
opt.cursorline = true
|
||||
g.markdown_folding = 1
|
||||
-- g.markdown_enable_folding = 1
|
||||
opt.spell=true
|
||||
opt.spelllang = 'en_us'
|
||||
cmd [[ autocmd BufWritePre * :%s/\s\+$//e ]]
|
||||
vim.api.nvim_set_hl(0, "ColorColumn", {guibg=DarkOrchid1})
|
||||
-----------------------------------------------------------
|
||||
-- Neovim UI
|
||||
-----------------------------------------------------------
|
||||
@ -104,10 +99,9 @@ vim.cmd [[
|
||||
]]
|
||||
vim.cmd [[ autocmd FileType python set textwidth=110 ]]
|
||||
vim.cmd [[ autocmd FileType lua set textwidth=80 ]]
|
||||
vim.cmd [[ autocmd FileType markdown,text set shiftwidth=2 foldlevel=99 ]]
|
||||
-- vim.cmd [[ autocmd FileType markdown setlocal foldlevel=99 ]]
|
||||
vim.cmd[[ colorscheme eldritch ]]
|
||||
vim.cmd [[ autocmd FileType markdown,text set textwidth=125 shiftwidth=2 ]]
|
||||
|
||||
--[[
|
||||
local disabled_built_ins = {
|
||||
"netrw",
|
||||
"netrwPlugin",
|
||||
@ -132,6 +126,7 @@ local disabled_built_ins = {
|
||||
for _, plugin in pairs(disabled_built_ins) do
|
||||
vim.g["loaded_" .. plugin] = 1
|
||||
end
|
||||
]]--
|
||||
|
||||
-- Deletes all trailing whitespaces in a file if it's not binary nor a diff.
|
||||
function _G.trim_trailing_whitespaces()
|
||||
@ -172,3 +167,4 @@ end
|
||||
--]]
|
||||
|
||||
require('core/keymaps')
|
||||
vim.cmd[[colorscheme dracula]]
|
||||
|
||||
@ -1,90 +1,54 @@
|
||||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
|
||||
"LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" },
|
||||
"adjacent.nvim": { "branch": "main", "commit": "a555ab92d61aa6fbbfa1bfaef4633b663563f04e" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "a35468cd72645dbd52c0624ceead5f301c566dff" },
|
||||
"async.vim": { "branch": "master", "commit": "2082d13bb195f3203d41a308b89417426a7deca1" },
|
||||
"auto-hlsearch.nvim": { "branch": "main", "commit": "8f28246d53e9478717ca3b51c8112083fbebd7e3" },
|
||||
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
"cmp-calc": { "branch": "main", "commit": "5947b412da67306c5b68698a02a846760059be2e" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
|
||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||
"cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" },
|
||||
"cmp-spell": { "branch": "master", "commit": "694a4e50809d6d645c1ea29015dad0c293f019d6" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "234822140b265ec4ba3203e3e0be0e0bb826dff5" },
|
||||
"barbar.nvim": { "branch": "master", "commit": "dd852401ee902745b67fc09a83d113b3fe82a96f" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-calc": { "branch": "main", "commit": "ce91d14d2e7a8b3f6ad86d85e34d41c1ae6268d9" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
|
||||
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "3d8912ebeb56e5ae08ef0906e3a54de1c66b92f1" },
|
||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||
"cmp-spell": { "branch": "master", "commit": "32a0867efa59b43edbb2db67b0871cfad90c9b66" },
|
||||
"cmp-under-comparator": { "branch": "master", "commit": "6857f10272c3cfe930cece2afa2406e1385bfef8" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"deadcolumn.nvim": { "branch": "master", "commit": "6a144a32fd847a998095d2494f152e405c6ae7cb" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"dracula.nvim": { "branch": "main", "commit": "96c9d19ce81b26053055ad6f688277d655b3f7d2" },
|
||||
"eldritch.nvim": { "branch": "master", "commit": "adedead3423c58cc2e2ebf30001fe4055ad0e416" },
|
||||
"f-string-toggle.nvim": { "branch": "main", "commit": "74545e699ed0caca603b2612bfa706ff40736d31" },
|
||||
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "731b581428ec6c1ccb451b95190ebbc6d7006db7" },
|
||||
"headlines.nvim": { "branch": "master", "commit": "bf17c96a836ea27c0a7a2650ba385a7783ed322e" },
|
||||
"hover.nvim": { "branch": "main", "commit": "07c7269c3a88751f2f36ed0563dc6e7b8b84f7f7" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "debe91547d7fb1eef34ce26a5106f277fbfdd109" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||
"lightspeed.nvim": { "branch": "main", "commit": "fcc72d8a4d5f4ebba62d8a3a0660f88f1b5c3b05" },
|
||||
"lsp-timeout.nvim": { "branch": "main", "commit": "6325906730330105a9adc41d0ceb8499b3072e2b" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
|
||||
"lush.nvim": { "branch": "main", "commit": "45a79ec4acb5af783a6a29673a999ce37f00497e" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "bef29b653ba71d442816bf56286c2a686210be04" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
|
||||
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
||||
"mini.comment": { "branch": "main", "commit": "fb867a9246f9b892cf51a8c84a3f8479cdf1558c" },
|
||||
"mini.fuzzy": { "branch": "stable", "commit": "c33d6a93c4fe395ae8a9bd02fed35315a90b688a" },
|
||||
"mini.hipatterns": { "branch": "main", "commit": "e5083df391171dc9d8172645606f8496d9443374" },
|
||||
"mini.move": { "branch": "main", "commit": "4fe4a855fee53c66b0f3255a4b54ddc2ae6b308c" },
|
||||
"mini.pairs": { "branch": "stable", "commit": "69864a2efb36c030877421634487fd90db1e4298" },
|
||||
"mini.surround": { "branch": "main", "commit": "5aab42fcdcf31fa010f012771eda5631c077840a" },
|
||||
"mini.trailspace": { "branch": "main", "commit": "39a0460c025a605519fdd6bea1ce870642429996" },
|
||||
"mkdnflow.nvim": { "branch": "main", "commit": "d459bd7ce68910272038ed037c028180161fd14d" },
|
||||
"neoscroll.nvim": { "branch": "master", "commit": "f957373912e88579e26fdaea4735450ff2ef5c9c" },
|
||||
"neovim": { "branch": "main", "commit": "6b9840790cc7acdfadde07f308d34b62dd9cc675" },
|
||||
"night-owl.nvim": { "branch": "main", "commit": "86ed124c2f7e118670649701288e024444bf91e5" },
|
||||
"nightfly": { "branch": "master", "commit": "8c55003e89f321a48a8cd4bb426dd3e7c58f0646" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
"deadcolumn.nvim": { "branch": "master", "commit": "b9b5e237371ae5379e280e4df9ecf62e4bc8d7a5" },
|
||||
"dracula.nvim": { "branch": "main", "commit": "9fe831e685a76e1a1898a694623b33247c4d036c" },
|
||||
"f-string-toggle.nvim": { "branch": "main", "commit": "4e2ad79dfc5122dd65515ebbdd671e8ee01d157e" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" },
|
||||
"headlines.nvim": { "branch": "master", "commit": "74a083a3c32a08be24f7dfcc6f448ecf47857f46" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "8a7b48f5823cc924f815129192288ec2e2b9288f" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "9788a19ec0b4036028e78aec702634b4b89d3470" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "09be3766669bfbabbe2863c624749d8da392c916" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "ae0c5fa57468ac65617f1bf821ba0c3a1e251f0c" },
|
||||
"mason.nvim": { "branch": "main", "commit": "cd7835b15f5a4204fc37e0aa739347472121a54c" },
|
||||
"mini.comment": { "branch": "main", "commit": "877acea5b2a32ff55f808fc0ebe9aa898648318c" },
|
||||
"mini.fuzzy": { "branch": "stable", "commit": "295763d73cbf580c27a4419364c47b09fc82e0f4" },
|
||||
"mini.move": { "branch": "main", "commit": "b3bca8e493f8d1da343ff1be06c21a47e2fde1c0" },
|
||||
"mini.pairs": { "branch": "stable", "commit": "dfa9f6e2576bb8853be277d96b735af59d9be7c2" },
|
||||
"mini.surround": { "branch": "main", "commit": "9d1956b576d7051da3a483b251dfc778121c60db" },
|
||||
"mini.trailspace": { "branch": "main", "commit": "e8c144ee11f6a827ac9c5732f20aefbbd7b26035" },
|
||||
"neoscroll.nvim": { "branch": "master", "commit": "4bc0212e9f2a7bc7fe7a6bceb15b33e39f0f41fb" },
|
||||
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
||||
"numb.nvim": { "branch": "master", "commit": "7f564e638d3ba367abf1ec91181965b9882dd509" },
|
||||
"nvim": { "branch": "main", "commit": "fa42eb5e26819ef58884257d5ae95dd0552b9a66" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
||||
"nvim-dap": { "branch": "master", "commit": "40a8189b8a57664a1850b0823fdcb3ac95b9f635" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "261ce649d05bc455a29f9636dc03f8cdaa7e0e2c" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
|
||||
"nvim-http": { "branch": "main", "commit": "c4736dcd83d810683349c2b3abdee57daf592d32" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "583a1d555c8e407868ce00c57e37eca4b7ff960e" },
|
||||
"nvim-prose": { "branch": "main", "commit": "38aac8c9c94a5725d152bdfea374d60e07fb93d6" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "be5b788f2dc1522c73fb7afad9092331c8aebe80" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"numb.nvim": { "branch": "master", "commit": "3f7d4a74bd456e747a1278ea1672b26116e0824d" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "d3a3056204e1a9dbb7c7fe36c114dc43b681768c" },
|
||||
"nvim-dap": { "branch": "master", "commit": "92dc531eea2c9a3ef504a5c8ac0decd1fa59a6a3" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "37b4cba02e337a95cb62ad1609b3d1dccb2e5d42" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "38da5bbe1eaab2394056109e48c7e195bdb8fdfe" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "40b9b887d090d5da89a84689b4ca0304a9649f62" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "4a68f0778c05083cc458a3a144205cfc41474439" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "3af745113ea537f58c4b1573b64a429fefad9e07" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
||||
"pulse.nvim": { "branch": "main", "commit": "4026460b12da9abcfe34322db0bdc80e4b0dce3d" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" },
|
||||
"rainbow_csv.nvim": { "branch": "main", "commit": "26de78d8324f7ac6a3e478319d1eb1f17123eb5b" },
|
||||
"solarized-osaka.nvim": { "branch": "main", "commit": "f796014c14b1910e08d42cc2077fef34f08e0295" },
|
||||
"sonokai": { "branch": "master", "commit": "f59c796780655c3b9da442d310ad2f2d735f2e56" },
|
||||
"symbols-outline.nvim": { "branch": "master", "commit": "564ee65dfc9024bdde73a6621820866987cbb256" },
|
||||
"telescope-cmdline.nvim": { "branch": "main", "commit": "7106ff7357d9d3cde3e71cd8fe8998d2f96a1bdd" },
|
||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
||||
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "b80ec2c70ec4f32571478b501218c8979fab5201" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
|
||||
"thethethe.nvim": { "branch": "main", "commit": "357580127cd291c8a813564eeaff07c09303084e" },
|
||||
"tmux.nvim": { "branch": "main", "commit": "2c1c3be0ef287073cef963f2aefa31a15c8b9cd8" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
|
||||
"venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
|
||||
"vim-arduino": { "branch": "master", "commit": "2ded67cdf09bb07c4805d9e93d478095ed3d8606" },
|
||||
"vim-arsync": { "branch": "master", "commit": "dd5fd93182aafb67ede2ef465f379610980b52d3" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "f39c4a201ae350aaba713b59d4a4fdd88e0811aa" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
|
||||
"wtf.nvim": { "branch": "main", "commit": "22dac666c8847c9cb03afe99229d459f1d0822c4" }
|
||||
}
|
||||
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
|
||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "6e51d0cd6447cf2525412220ff0a2885eef9039c" },
|
||||
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "851c0997d55601f2afd7290db0f90dc364e29f58" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "c1a2af0af69e80e14e6b226d3957a064cd080805" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "faee9d60428afc7857e0927fdc18daa6c409fa64" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "945a441b83e48c7bafdd227ef8e2eb826f72ab90" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
|
||||
}
|
||||
@ -13,9 +13,6 @@ local default_opts = { noremap = true, silent = true }
|
||||
-- Python Script that saves the file & moves Todos to my Todolist.
|
||||
-- map('n', '<leader>sd', ':w|:! python3 ~/Documents/Northpass/Scripts/TodoMD/todo.py %<CR>', default_opts)
|
||||
|
||||
-- Close and save all buffers and return to Dashboard
|
||||
map('n', '<leader>ds', ':silent wa | %bd | Alpha', default_opts)
|
||||
|
||||
-- Neovim Tab Navgation via Vem-Tabline
|
||||
map('n', '<leader>t', ':tabnew<CR>', default_opts)
|
||||
map('n', '<leader>e', ':bnext<CR>', default_opts)
|
||||
@ -33,8 +30,7 @@ map('n', '<leader>q', ':SidebarNvimUpdate<CR>', default_opts)
|
||||
|
||||
-- Telescope
|
||||
map('n', '<leader>ff', ':Telescope find_files<CR>', default_opts)
|
||||
map('n', '<leader>fh', ':Telescope live_grep<CR>', default_opts)
|
||||
map('n', '<leader>fg', ':Telescope live_grep_args<CR>', default_opts)
|
||||
map('n', '<leader>fg', ':Telescope live_grep<CR>', default_opts)
|
||||
map('n', '<leader>fb', ':Telescope buffers<CR>', default_opts)
|
||||
map('n', '<leader>fe', ':Telescope file_browser<CR>', default_opts)
|
||||
map('n', '<leader>fk', ':Telescope keymaps<CR>', default_opts)
|
||||
@ -44,10 +40,6 @@ map('n', '<leader>cb', ':Telescope current_buffer_fuzzy_find<CR>', default_opts)
|
||||
-- Formatting
|
||||
map('n', '<leader>b', ':! black %<CR>', default_opts)
|
||||
map('n', '<leader>m', ':! markdownlint -f %<CR>', default_opts)
|
||||
map('n', '<leader>pj', ':!python -m json.tool<CR>', default_opts)
|
||||
|
||||
-- Fold all comments
|
||||
map('n', '<leader>fc', ':set foldmethod=expr foldexpr=getline(v:lnum)=~"^\\s*".&commentstring[0]<CR>', default_opts)
|
||||
|
||||
-- Terminal
|
||||
map('n', '<C-t>', ':ToggleTerm direction=float<CR>', default_opts)
|
||||
|
||||
@ -59,7 +59,7 @@ opt.synmaxcol = 240 -- Max column for syntax highlight
|
||||
-- Colorscheme
|
||||
-----------------------------------------------------------
|
||||
opt.termguicolors = true -- Enable 24-bit RGB colors
|
||||
-- cmd[[colorscheme dracula]]
|
||||
cmd[[colorscheme dracula]]
|
||||
-----------------------------------------------------------
|
||||
-- Tabs, indent
|
||||
-----------------------------------------------------------
|
||||
|
||||
@ -1,18 +0,0 @@
|
||||
{
|
||||
"today-date": {
|
||||
"prefix": "today",
|
||||
"body": ["${CURRENT_MONTH}-${CURRENT_DATE}-${CURRENT_YEAR}"],
|
||||
"description": "Puts the date in (Y-m-D) format"
|
||||
},
|
||||
"today-tasks": {
|
||||
"prefix": "todaytask",
|
||||
"body": ["## ${CURRENT_MONTH}-${CURRENT_DATE}-${CURRENT_YEAR} \n\n- [ ] "],
|
||||
"description": "Today's date plus a markdown task for easy addition."
|
||||
},
|
||||
"box": {
|
||||
"prefix": "hugobox",
|
||||
"body": ["{{< box info >}} \n\n {{< /box >}}"],
|
||||
"description": "Cstom info box for hugo website. Info can also be warn, tip."
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,14 +0,0 @@
|
||||
{
|
||||
"contributes": {
|
||||
"snippets": [
|
||||
{
|
||||
"language": "markdown",
|
||||
"path": "./markdown.json"
|
||||
},
|
||||
{
|
||||
"language": "python",
|
||||
"path": "./python.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"pprint-import": {
|
||||
"prefix": "pprint-import",
|
||||
"body": ["import pprint \n\n pp=pprint.PrettyPrinter(indent=4) \n\n pp.pprint(VARIABLE)"],
|
||||
"description": "Easily import, declare, and add a Pretty Print for easier reading."
|
||||
},
|
||||
}
|
||||
@ -1,10 +1,10 @@
|
||||
return {
|
||||
'lukas-reineke/headlines.nvim',
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
config = function()
|
||||
require("headlines").setup {
|
||||
markdown = {
|
||||
query = vim.treesitter.query.parse(
|
||||
}
|
||||
--[[ config = function()
|
||||
require("headlines").setup {
|
||||
markdown = {
|
||||
query = vim.treesitter.parse_query(
|
||||
"markdown",
|
||||
[[
|
||||
(atx_heading [
|
||||
@ -22,30 +22,17 @@ return {
|
||||
|
||||
(block_quote_marker) @quote
|
||||
(block_quote (paragraph (inline (block_continuation) @quote)))
|
||||
]]
|
||||
|
||||
),
|
||||
headline_highlights = {
|
||||
'Headline1',
|
||||
'Headline2',
|
||||
'Headline3',
|
||||
'Headline4',
|
||||
'Headline5',
|
||||
'Headline6',
|
||||
},
|
||||
headline_highlights = { "Headline" },
|
||||
codeblock_highlight = "CodeBlock",
|
||||
dash_highlight = "Dash",
|
||||
dash_string = "-",
|
||||
quote_highlight = "Quote",
|
||||
quote_string = "┃",
|
||||
fat_headlines = false,
|
||||
},
|
||||
}
|
||||
vim.api.nvim_set_hl(0, 'Headline1', { fg = '#ffffff', bg = '#6272A4', italic = false })
|
||||
vim.api.nvim_set_hl(0, 'Headline2', { fg = '#000000', bg = '#8BE9FD', italic = false })
|
||||
vim.api.nvim_set_hl(0, 'Headline3', { fg = '#000000', bg = '#BD93F9', italic = false })
|
||||
vim.api.nvim_set_hl(0, 'Headline4', { fg = '#000000', bg = '#FFB86C', italic = false })
|
||||
vim.api.nvim_set_hl(0, 'Headline5', { fg = '#000000', bg = '#FF79C6', italic = false })
|
||||
vim.api.nvim_set_hl(0, 'Headline6', { fg = '#000000', bg = '#FF5555', italic = false })
|
||||
vim.api.nvim_set_hl(0, 'CodeBlock', { bg = '#222221' })
|
||||
end
|
||||
fat_headlines = true,
|
||||
},
|
||||
}
|
||||
end
|
||||
}
|
||||
--]]
|
||||
|
||||
@ -1,27 +0,0 @@
|
||||
return {
|
||||
"lewis6991/hover.nvim",
|
||||
config = function()
|
||||
require("hover").setup {
|
||||
init = function()
|
||||
require("hover.providers.lsp")
|
||||
-- require('hover.providers.gh')
|
||||
-- require('hover.providers.gh_user')
|
||||
-- require('hover.providers.jira')
|
||||
require('hover.providers.man')
|
||||
require('hover.providers.dictionary')
|
||||
end,
|
||||
preview_opts = {
|
||||
border = nil
|
||||
},
|
||||
-- Whether the contents of a currently open hover window should be moved
|
||||
-- to a :h preview-window when pressing the hover keymap.
|
||||
preview_window = false,
|
||||
title = true
|
||||
}
|
||||
|
||||
-- Setup keymaps
|
||||
vim.keymap.set("n", "K", require("hover").hover, {desc = "hover.nvim"})
|
||||
vim.keymap.set("n", "gK", require("hover").hover_select, {desc = "hover.nvim (select)"})
|
||||
end
|
||||
}
|
||||
|
||||
@ -20,10 +20,6 @@ return {
|
||||
config = function() require("mason-lspconfig").setup{} end,
|
||||
},
|
||||
{ 'neovim/nvim-lspconfig' },
|
||||
{
|
||||
'hinell/lsp-timeout.nvim',
|
||||
dependencies={ "neovim/nvim-lspconfig" }
|
||||
},
|
||||
{
|
||||
'L3MON4D3/LuaSnip', version = "2.*",
|
||||
build = "make install_jsregexp",
|
||||
@ -33,43 +29,22 @@ return {
|
||||
history = true,
|
||||
delete_check_events = "TextChanged",
|
||||
})
|
||||
require("luasnip").filetype_extend("liquid", {"html","css","javascript"})
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
require("luasnip.loaders.from_vscode").load({
|
||||
paths = {
|
||||
"~/.dotfiles/nvim/.config/nvim/lua/custom_snippets/" }
|
||||
"~/.dotfiles/nvim/.config/nvim/lua/custom_snippets/" }
|
||||
})
|
||||
-- require("luasnip.extras.filetype_functions").extend_load_ft({
|
||||
-- liquid = {"html", "css", "javascript" },
|
||||
-- })
|
||||
end,
|
||||
},
|
||||
|
||||
-- {"ellisonleao/glow.nvim", config = function() require("glow").setup() end },
|
||||
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
'hrsh7th/cmp-nvim-lsp-signature-help',
|
||||
'lukas-reineke/cmp-under-comparator',
|
||||
|
||||
{
|
||||
'asiryk/auto-hlsearch.nvim',
|
||||
version = "1.1.0",
|
||||
config = function() require("auto-hlsearch").setup{} end,
|
||||
},
|
||||
|
||||
------------------------------------------------------------
|
||||
-- General Functionality
|
||||
------------------------------------------------------------
|
||||
|
||||
{ 'kenn7/vim-arsync',
|
||||
dependencies={'prabirshrestha/async.vim'},
|
||||
},
|
||||
|
||||
{ 'MaximilianLloyd/adjacent.nvim' },
|
||||
'BlackLight/nvim-http',
|
||||
{ 'stevearc/vim-arduino'},
|
||||
{ 'sindrets/diffview.nvim' },
|
||||
{ 'skwee357/nvim-prose' },
|
||||
{
|
||||
'nacro90/numb.nvim',
|
||||
config = function() require('numb').setup{
|
||||
@ -89,9 +64,6 @@ return {
|
||||
theme = 'material',
|
||||
always_divide_middle = false,
|
||||
},
|
||||
sections = {
|
||||
lualine_x = { "encoding", { "fileformat", symbols = { unix = " " } }, "filetype" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
@ -123,11 +95,6 @@ return {
|
||||
end,
|
||||
},
|
||||
|
||||
-- Tmux Navigation
|
||||
{
|
||||
"aserowy/tmux.nvim",
|
||||
config = function() require("tmux").setup() end
|
||||
},
|
||||
{
|
||||
"roobert/f-string-toggle.nvim",
|
||||
config = function()
|
||||
@ -167,18 +134,6 @@ return {
|
||||
end
|
||||
},
|
||||
"hrsh7th/nvim-cmp", -- optional, for completion
|
||||
"ggandor/lightspeed.nvim",
|
||||
|
||||
-- Top Right Notify Pop Up
|
||||
-- {
|
||||
-- "rcarriga/nvim-notify",
|
||||
-- config = function ()
|
||||
-- require("notify").setup {
|
||||
-- }
|
||||
-- -- vim.api.nvim_notify = require('notify')
|
||||
-- vim.notify = require('notify')
|
||||
-- end
|
||||
-- },
|
||||
|
||||
{'akinsho/toggleterm.nvim', version = "*", opts = {
|
||||
direction = 'float',
|
||||
@ -236,59 +191,7 @@ return {
|
||||
require('mini.fuzzy').setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
'echasnovski/mini.hipatterns', version = false,
|
||||
-- event = "BufReadPre",
|
||||
config = function()
|
||||
local hipatterns = require('mini.hipatterns')
|
||||
hipatterns.setup({
|
||||
highlighters = {
|
||||
hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||
hsl_color = {
|
||||
pattern = "hsl%(%d+,? %d+,? %d+%)",
|
||||
group = function(_, match)
|
||||
local utils = require("solarized-osaka.hsl")
|
||||
local nh, ns, nl = match:match("hsl%((%d+),? (%d+),? (%d+)%)")
|
||||
local h, s, l = tonumber(nh), tonumber(ns), tonumber(nl)
|
||||
local hex_color = utils.hslToHex(h, s, l)
|
||||
return MiniHipatterns.compute_hex_color_group(hex_color, "bg")
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
},
|
||||
|
||||
-----------------------------------------------------------
|
||||
-- Markdown Plugins
|
||||
------------------------------------------------------------
|
||||
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
build = "cd app && npm install",
|
||||
ft = "markdown",
|
||||
lazy = true,
|
||||
keys = { { "gm", "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown Preview" } },
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
vim.g.mkdp_auto_close = true
|
||||
vim.g.mkdp_open_to_the_world = false
|
||||
vim.g.mkdp_open_ip = "127.0.0.1"
|
||||
vim.g.mkdp_port = "8888"
|
||||
vim.g.mkdp_browser = ""
|
||||
vim.g.mkdp_echo_preview_url = true
|
||||
vim.g.mkdp_page_title = "${name}"
|
||||
end,
|
||||
},
|
||||
{ "jbyuki/venn.nvim" },
|
||||
--[[
|
||||
{ 'toppair/peek.nvim',
|
||||
build = 'deno task --quiet build:fast',
|
||||
config = function()
|
||||
require('peek').setup()
|
||||
end
|
||||
},
|
||||
]]--
|
||||
-- DAP (Debug adaptor Protocol)
|
||||
'mfussenegger/nvim-dap',
|
||||
|
||||
@ -300,9 +203,10 @@ return {
|
||||
)
|
||||
end
|
||||
},
|
||||
{
|
||||
'rcarriga/nvim-dap-ui', dependencies = {"mfussenegger/nvim-dap"}
|
||||
},
|
||||
|
||||
{
|
||||
'rcarriga/nvim-dap-ui', dependencies = {"mfussenegger/nvim-dap"}
|
||||
},
|
||||
|
||||
---------------------------------------------------------
|
||||
-- Text, Icons, Symbols
|
||||
@ -314,12 +218,6 @@ return {
|
||||
require('symbols-outline').setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
"j-hui/fidget.nvim",
|
||||
opts = {
|
||||
-- options
|
||||
},
|
||||
},
|
||||
'lukas-reineke/indent-blankline.nvim',
|
||||
'karb94/neoscroll.nvim',
|
||||
|
||||
@ -327,132 +225,15 @@ return {
|
||||
'nvim-lua/popup.nvim',
|
||||
'nvim-lua/plenary.nvim',
|
||||
|
||||
-- Todo & Comments for Organization
|
||||
{
|
||||
'folke/todo-comments.nvim',
|
||||
dependencies = "nvim-lua/plenary.nvim",
|
||||
config = function()
|
||||
require("todo-comments").setup {
|
||||
keywords = {
|
||||
FIX = {
|
||||
icon = " ", -- icon used for the sign, and in search results
|
||||
color = "error", -- can be a hex color, or a named color (see below)
|
||||
alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
|
||||
-- signs = false, -- configure signs for some keywords individually
|
||||
},
|
||||
DONE = { icon = " ", color = "info" },
|
||||
IN_PROG = { icon = "", color = "default" },
|
||||
FEAT = { icon = " ", color = "warning", alt = { "NEED", "REQUEST" } },
|
||||
WARN = { icon = " ", color = "error", alt = { "WARNING", "ERROR" } },
|
||||
TODO = { icon = " ", color = "hint", alt = { "TASK", "TBD" } },
|
||||
RISK = { icon = " ", color = "hint", alt = { "RISK" } },
|
||||
GOAL = { icon = " ", color = "test", alt = { "GOAL", "KPI"} },
|
||||
},
|
||||
highlight = {
|
||||
comments_only = false,
|
||||
},
|
||||
colors = {
|
||||
error = { "DiagnosticError", "ErrorMsg", "#DC2626" },
|
||||
warning = { "DiagnosticWarning", "WarningMsg", "#FBBF24" },
|
||||
info = { "DiagnosticInfo", "#2563EB" },
|
||||
hint = { "DiagnosticHint", "#10B981" },
|
||||
default = { "Identifier", "#7C3AED" },
|
||||
test = { "Identifier", "#FF00FF" }
|
||||
},
|
||||
}
|
||||
end
|
||||
},
|
||||
-- Various telescopes
|
||||
'nvim-telescope/telescope-file-browser.nvim',
|
||||
|
||||
{
|
||||
'nvim-telescope/telescope-fzf-native.nvim',
|
||||
build = 'make'
|
||||
},
|
||||
|
||||
-----------------------------------------------------------
|
||||
-- Various Color Schemes, Dashboard, etc
|
||||
-----------------------------------------------------------
|
||||
|
||||
|
||||
{
|
||||
"eldritch-theme/eldritch.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
},
|
||||
{ 'rktjmp/lush.nvim' },
|
||||
-- { 'normanras/link.nvim' },
|
||||
-- { dir = '/Users/normrasmussen/Documents/Projects/link-two/', lazy = true},
|
||||
{
|
||||
"craftzdog/solarized-osaka.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
},
|
||||
'Mofiqul/dracula.nvim',
|
||||
-- 'ray-x/starry.nvim',
|
||||
'rose-pine/neovim',
|
||||
'EdenEast/nightfox.nvim',
|
||||
'rebelot/kanagawa.nvim',
|
||||
'catppuccin/nvim',
|
||||
'sainnhe/sonokai',
|
||||
{
|
||||
"oxfist/night-owl.nvim",
|
||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
config = function()
|
||||
-- load the colorscheme here
|
||||
vim.cmd.colorscheme("night-owl")
|
||||
end,
|
||||
},
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
config = function()
|
||||
-- load the colorscheme here
|
||||
-- vim.cmd([[colorscheme tokyonight]])
|
||||
end,
|
||||
},
|
||||
{ 'bluz71/vim-nightfly-colors', name = "nightfly", lazy = true, priority = 1000 },
|
||||
'Bekaboo/deadcolumn.nvim',
|
||||
-- {
|
||||
-- "dustypomerleau/tol.nvim",
|
||||
-- lazy = false, -- load the colorscheme at startup
|
||||
-- priority = 1000, -- load colorscheme first
|
||||
-- config = true,
|
||||
-- },
|
||||
|
||||
-- UI Improvements and Changes
|
||||
{
|
||||
"https://git.sr.ht/~swaits/thethethe.nvim",
|
||||
lazy = true,
|
||||
event = "VeryLazy",
|
||||
opts = { },
|
||||
},
|
||||
'HiPhish/rainbow-delimiters.nvim',
|
||||
-- {
|
||||
-- "wookayin/semshi",
|
||||
-- ft = "python",
|
||||
-- build = ":UpdateRemotePlugins",
|
||||
-- config = function()
|
||||
-- vim.api.nvim_set_hl(0, "semshiLocal", { ctermfg=209, fg="#80aa9e" } )
|
||||
-- vim.api.nvim_set_hl(0, "semshiGlobal", { ctermfg=214, fg="#d3869b" } )
|
||||
-- vim.api.nvim_set_hl(0, "semshiImported", { ctermfg=214, fg="#8bba7f", cterm=bold, gui=bold } )
|
||||
-- vim.api.nvim_set_hl(0, "semshiParameter", { ctermfg=75, fg="#8bba7f" } )
|
||||
-- vim.api.nvim_set_hl(0, "semshiParameterUnused", { ctermfg=117, fg="#34381b", cterm=underline, gui=underline} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiFree", { ctermfg=218, fg="#e9b143"} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiBuiltin", { ctermfg=207, fg="#f2594b"} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiAttribute", { ctermfg=49, fg="#3b4439"} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiSelf", { ctermfg=249, fg="#db4740"} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiUnresolved", { ctermfg=226, fg="#f28534", cterm=underline, gui=underline} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiSelected", { ctermfg=231, fg="#ffffff", ctermbg=161, bg="#4c3432"} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiErrorSign", { ctermfg=231, fg="#ffffff", ctermbg=160, bg="#402120"} )
|
||||
-- vim.api.nvim_set_hl(0, "semshiErrorChar", { ctermfg=231, fg="#ffffff", ctermbg=160, bg="#402120"} )
|
||||
-- vim.cmd([[sign define semshiError text=E> texthl=semshiErrorSign]])
|
||||
-- end
|
||||
-- },
|
||||
|
||||
-- Wakatime Tracking
|
||||
'wakatime/vim-wakatime',
|
||||
@ -460,14 +241,5 @@ return {
|
||||
----------------------------------------------
|
||||
--- Custom Plugins and Tests
|
||||
----------------------------------------------
|
||||
-- {
|
||||
-- dir = '/Users/normrasmussen/Documents/Projects/tasksPlugin.nvim/',
|
||||
-- dev = true,
|
||||
-- name = "Mkdn Tasks (DEV)",
|
||||
-- },
|
||||
-- {
|
||||
-- dir = '/Users/normrasmussen/Documents/Projects/pulse.nvim',
|
||||
-- dev = true,
|
||||
-- },
|
||||
}
|
||||
|
||||
|
||||
@ -14,19 +14,14 @@ return {
|
||||
null_ls.setup({
|
||||
debug = true,
|
||||
sources = {
|
||||
-- null_ls.builtins.diagnostics.markdownlint.with({
|
||||
-- extra_args = { "--disable", "MD024", "MD013", "MD012", "--" }}),
|
||||
-- null_ls.builtins.formatting.black,
|
||||
-- null_ls.builtins.completion.luasnip,
|
||||
-- null_ls.builtins.code_actions.gitsigns,
|
||||
-- null_ls.builtins.diagnostics.ruff,
|
||||
-- null_ls.builtins.formatting.ruff,
|
||||
-- null_ls.builtins.formatting.prettierd,
|
||||
-- null_ls.builtins.diagnostics.pylint.with({
|
||||
-- diagnostics_postprocess = function(diagnostic)
|
||||
-- diagnostic.code = diagnostic.message_id
|
||||
-- end,
|
||||
-- }),
|
||||
null_ls.builtins.formatting.black,
|
||||
null_ls.builtins.completion.luasnip,
|
||||
null_ls.builtins.code_actions.gitsigns,
|
||||
null_ls.builtins.diagnostics.pylint.with({
|
||||
diagnostics_postprocess = function(diagnostic)
|
||||
diagnostic.code = diagnostic.message_id
|
||||
end,
|
||||
}),
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
@ -1,21 +0,0 @@
|
||||
return {
|
||||
'jakewvincent/mkdnflow.nvim',
|
||||
config = function()
|
||||
require('mkdnflow').setup({
|
||||
mappings = {
|
||||
MkdnToggleToDo = {{'i', 'n'}, '<C-Space>'},
|
||||
MkdnEnter = {{'i', 'n', 'v'}, '<CR>'},
|
||||
MkdnExtendList = {{'n'}, '<leader>;'},
|
||||
MkdnNewListItemBelowInsert = {{'n', 'i'}, '<leader>l'},
|
||||
MkdnTableNextCell = false,
|
||||
MkdnTab = {{'i',}, '<Tab>'},
|
||||
MkdnSTab = {{'i'}, '<S-Tab>'},
|
||||
MkdnFollowLink = {{'n'}, '<leader>p'}
|
||||
},
|
||||
links = {
|
||||
name_is_source = true,
|
||||
conceal = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
@ -125,47 +125,8 @@ return {
|
||||
-- Set up lspconfig.
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities()
|
||||
-- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled.
|
||||
require'lspconfig'.pylsp.setup {
|
||||
require'lspconfig'.pyright.setup {
|
||||
capabilities = capabilities
|
||||
}
|
||||
local lspconfig = require'lspconfig'
|
||||
local configs = require'lspconfig.configs'
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
||||
if not configs.ls_emmet then
|
||||
configs.ls_emmet = {
|
||||
default_config = {
|
||||
cmd = { 'ls_emmet', '--stdio' };
|
||||
filetypes = {
|
||||
'html',
|
||||
'liquid',
|
||||
'css',
|
||||
'scss',
|
||||
'javascriptreact',
|
||||
'typescriptreact',
|
||||
'haml',
|
||||
'xml',
|
||||
'xsl',
|
||||
'pug',
|
||||
'slim',
|
||||
'sass',
|
||||
'stylus',
|
||||
'less',
|
||||
'sss',
|
||||
'hbs',
|
||||
'handlebars',
|
||||
};
|
||||
root_dir = function(fname)
|
||||
return vim.loop.cwd()
|
||||
end;
|
||||
settings = {};
|
||||
};
|
||||
}
|
||||
end
|
||||
require'lspconfig'.ls_emmet.setup {
|
||||
capabilities = capabilities
|
||||
}
|
||||
end
|
||||
}
|
||||
|
||||
@ -2,21 +2,36 @@ return {
|
||||
'neovim/nvim-lspconfig',
|
||||
config = function()
|
||||
-- Setup language servers.
|
||||
local lspconfig = require('lspconfig')
|
||||
local configs = require('lspconfig.configs')
|
||||
lspconfig.pylsp.setup{
|
||||
local lspconfig = require('lspconfig')
|
||||
lspconfig.pyright.setup {}
|
||||
lspconfig.pylsp.setup {}
|
||||
-- Server-specific settings. See `:help lspconfig-setup`
|
||||
settings = {
|
||||
['pyright'] = {
|
||||
cmd = {"pyright-langserver", "--stdio"},
|
||||
root_dir = function(fname)
|
||||
local root_files = {
|
||||
'pyproject.toml',
|
||||
'setup.py',
|
||||
'setup.cfg',
|
||||
'requirements.txt',
|
||||
'Pipfile',
|
||||
}
|
||||
return util.root_pattern(unpack(root_files))(fname) or util.find_git_ancestor(fname)
|
||||
end,
|
||||
settings = {
|
||||
pylsp = {
|
||||
configurationSources = {"pylint"},
|
||||
plugins = {
|
||||
pylint = { enabled = true },
|
||||
configurationSources = {"pylint"},
|
||||
plugins = {
|
||||
pylint = { enabled = true },
|
||||
flake8 = { enabled = false },
|
||||
pycodestyle = { enabled = false },
|
||||
pyflakes = { enabled = false },
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
-- Global mappings.
|
||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
||||
@ -54,39 +69,5 @@ return {
|
||||
end, opts)
|
||||
end,
|
||||
})
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
||||
if not configs.ls_emmet then
|
||||
configs.ls_emmet = {
|
||||
default_config = {
|
||||
cmd = { 'ls_emmet', '--stdio' };
|
||||
filetypes = {
|
||||
'html',
|
||||
'liquid',
|
||||
'css',
|
||||
'scss',
|
||||
'javascriptreact',
|
||||
'typescriptreact',
|
||||
'haml',
|
||||
'xml',
|
||||
'xsl',
|
||||
'pug',
|
||||
'slim',
|
||||
'sass',
|
||||
'stylus',
|
||||
'less',
|
||||
'sss',
|
||||
'handlebars',
|
||||
};
|
||||
root_dir = function(fname)
|
||||
return vim.loop.cwd()
|
||||
end;
|
||||
settings = {};
|
||||
};
|
||||
}
|
||||
end
|
||||
lspconfig.ls_emmet.setup { capabilities = capabilities }
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
@ -12,31 +12,15 @@ return {
|
||||
-- require('nvim-treesitter.install').update({ with_sync = true })
|
||||
-- A list of parser names, or "all"
|
||||
ensure_installed = {
|
||||
'bash', 'css', 'html', 'javascript', 'json', 'lua', 'python',
|
||||
'vim', 'yaml', 'typescript', 'markdown',
|
||||
'bash', 'css', 'json', 'lua', 'python',
|
||||
'vim', 'yaml',
|
||||
},
|
||||
sync_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = function(lang, bufnr)
|
||||
return lang == "py" and vim.api.nvim_buf_line_count(bufnr) > 5000
|
||||
end,
|
||||
additional_vim_regex_highlighting = true,
|
||||
},
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
disable = function(lang, buf)
|
||||
local max_filesize = 100 * 1024 -- 100 KB
|
||||
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
|
||||
if ok and stats and stats.size > max_filesize then
|
||||
return true
|
||||
end
|
||||
end, disable = function(lang, buf)
|
||||
local max_filesize = 100 * 1024 -- 100 KB
|
||||
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
|
||||
if ok and stats and stats.size > max_filesize then
|
||||
return true
|
||||
end
|
||||
end,
|
||||
end
|
||||
}
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
return {
|
||||
'linguini1/pulse.nvim',
|
||||
-- 'Normanras/pulse.nvim',
|
||||
version = "*",
|
||||
config = function()
|
||||
|
||||
local pulse = require("pulse")
|
||||
|
||||
pulse.setup({level = vim.log.levels.ERROR})
|
||||
|
||||
pulse.add("Send Krista Message", {
|
||||
interval = 90,
|
||||
message = "Tell Krista that you love her!",
|
||||
enabled = True,
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
-- Not working: DEBUG, TRACE
|
||||
-- Working: ERROR, OFF, WARN, INFO
|
||||
@ -1,19 +0,0 @@
|
||||
return {
|
||||
'cameron-wags/rainbow_csv.nvim',
|
||||
config = true,
|
||||
ft = {
|
||||
'csv',
|
||||
'tsv',
|
||||
'csv_semicolon',
|
||||
'csv_whitespace',
|
||||
'csv_pipe',
|
||||
'rfc_csv',
|
||||
'rfc_semicolon'
|
||||
},
|
||||
cmd = {
|
||||
'RainbowDelim',
|
||||
'RainbowDelimSimple',
|
||||
'RainbowDelimQuoted',
|
||||
'RainbowMultiDelim'
|
||||
}
|
||||
}
|
||||
@ -1,11 +1,10 @@
|
||||
return {
|
||||
{
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.5',
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-telescope/telescope-live-grep-args.nvim',
|
||||
'jonarrien/telescope-cmdline.nvim',
|
||||
},
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-telescope/telescope-live-grep-args.nvim',
|
||||
},
|
||||
|
||||
config = function ()
|
||||
local g = vim.g
|
||||
@ -133,23 +132,16 @@ return {
|
||||
},
|
||||
extensions = {
|
||||
file_browser = {
|
||||
mappings = {
|
||||
["i"] = {
|
||||
["<C-c>"] = fb_actions.create,
|
||||
["<C-y>"] = fb_actions.copy,
|
||||
["<C-r>"] = fb_actions.rename,
|
||||
["<C-w>"] = fb_actions.goto_cwd,
|
||||
["<C-o>"] = fb_actions.open,
|
||||
["<C-d>"] = fb_actions.remove,
|
||||
},
|
||||
},
|
||||
cmdline = {
|
||||
mappings = {
|
||||
complete = '<Tab>',
|
||||
run_selection = '<C-CR>',
|
||||
run_input = '<CR>',
|
||||
}
|
||||
}
|
||||
mappings = {
|
||||
["i"] = {
|
||||
["<C-c>"] = fb_actions.create,
|
||||
["<C-y>"] = fb_actions.copy,
|
||||
["<C-r>"] = fb_actions.rename,
|
||||
["<C-w>"] = fb_actions.goto_cwd,
|
||||
["<C-o>"] = fb_actions.open,
|
||||
["<C-d>"] = fb_actions.remove,
|
||||
},
|
||||
},
|
||||
},
|
||||
fzf = {
|
||||
fuzzy = true, -- false will only do exact matching
|
||||
@ -161,9 +153,7 @@ return {
|
||||
})
|
||||
require("telescope").load_extension "file_browser"
|
||||
require("telescope").load_extension "live_grep_args"
|
||||
require("telescope").load_extension "fzf"
|
||||
require("telescope").load_extension "adjacent"
|
||||
require("telescope").load_extension('cmdline')
|
||||
end
|
||||
|
||||
}}
|
||||
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
return {
|
||||
"piersolenski/wtf.nvim",
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
opts = {},
|
||||
keys = {
|
||||
{
|
||||
"gw",
|
||||
mode = { "n", "x" },
|
||||
function()
|
||||
require("wtf").ai()
|
||||
end,
|
||||
desc = "Debug diagnostic with AI",
|
||||
},
|
||||
{
|
||||
mode = { "n" },
|
||||
"gW",
|
||||
function()
|
||||
require("wtf").search()
|
||||
end,
|
||||
desc = "Search diagnostic with Google",
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -1,346 +0,0 @@
|
||||
recert
|
||||
gravatar
|
||||
TODO
|
||||
gravatars
|
||||
webhook
|
||||
Neovim
|
||||
accomplished
|
||||
accomplished
|
||||
Talkspace
|
||||
Northpass
|
||||
CEU
|
||||
th
|
||||
B2B
|
||||
Integrations
|
||||
NPP
|
||||
CSV
|
||||
BBHR
|
||||
onboarding
|
||||
Kai
|
||||
scorms
|
||||
QMC
|
||||
trainings
|
||||
cancelled
|
||||
Ummey
|
||||
Ummey's
|
||||
prev
|
||||
Kaitlyn
|
||||
CYA
|
||||
programmatically
|
||||
Wistia
|
||||
iOS
|
||||
PPT
|
||||
Kaitlyn's
|
||||
OneTrust
|
||||
JS
|
||||
Analytics
|
||||
KPI
|
||||
param
|
||||
UUID
|
||||
Pipedrive
|
||||
pipedrive
|
||||
Lukasz
|
||||
Bjorn
|
||||
webhooks
|
||||
trackable
|
||||
Pipedrive's
|
||||
boolean
|
||||
Kaisa
|
||||
SSO
|
||||
XP
|
||||
DW
|
||||
Chołodecki
|
||||
Łukasz
|
||||
Kotkas
|
||||
Patrycja
|
||||
Q1
|
||||
Vidyard
|
||||
badging
|
||||
Flink
|
||||
S3
|
||||
Unclickable
|
||||
DataDog
|
||||
wistia
|
||||
https
|
||||
https
|
||||
wifi
|
||||
autoplaying
|
||||
tbd
|
||||
G2
|
||||
SMEs
|
||||
CSM
|
||||
AEs
|
||||
ZoomInfo's
|
||||
linkedin
|
||||
Enablement
|
||||
enablement
|
||||
DIY
|
||||
Zoominfo
|
||||
G2M
|
||||
Carli
|
||||
LevelJump
|
||||
LMS
|
||||
CMS
|
||||
Lessonly
|
||||
Katlin
|
||||
nd
|
||||
LT
|
||||
EVP's
|
||||
UX
|
||||
Schoology
|
||||
Pendo
|
||||
Salesforce
|
||||
ILTs
|
||||
SFDC
|
||||
ROI
|
||||
NPS
|
||||
roadmap
|
||||
BigIdeasMath
|
||||
Hubspot
|
||||
analytics
|
||||
SCORM
|
||||
AWS
|
||||
JnJ
|
||||
DSAR
|
||||
ons
|
||||
Zapier
|
||||
Accredible
|
||||
LPs
|
||||
Shopify
|
||||
Callum
|
||||
Chek
|
||||
Chek
|
||||
Chek
|
||||
Chek
|
||||
Chek
|
||||
Chek
|
||||
prereg
|
||||
OpenAccess
|
||||
Camila
|
||||
SAP
|
||||
SAP
|
||||
Workato
|
||||
Soner
|
||||
Okta
|
||||
Auth0
|
||||
flink
|
||||
goflink
|
||||
backfill
|
||||
Marek
|
||||
KJ
|
||||
Canva
|
||||
Customizable
|
||||
GoFlink
|
||||
Cami
|
||||
auth
|
||||
Litmos
|
||||
infographic
|
||||
Nino's
|
||||
Flink's
|
||||
Crowdin
|
||||
Joonas
|
||||
QBR
|
||||
UID
|
||||
versioning
|
||||
GDPR
|
||||
Edume
|
||||
something
|
||||
something
|
||||
AppCues
|
||||
appcues
|
||||
Skuad
|
||||
Skuid
|
||||
COO
|
||||
Nergis
|
||||
pdf
|
||||
FiveTran
|
||||
BigQuery
|
||||
COO
|
||||
NDA
|
||||
lifecycle
|
||||
PALs
|
||||
LTV
|
||||
Articulate's
|
||||
Comms
|
||||
ILT
|
||||
Mockup
|
||||
iFrame
|
||||
Froala
|
||||
html
|
||||
css
|
||||
resize
|
||||
customizable
|
||||
OpenSesame
|
||||
timestamp
|
||||
comms
|
||||
Audrius
|
||||
Youtube
|
||||
Omnisend
|
||||
northpass
|
||||
Omnisend's
|
||||
url
|
||||
Hoc
|
||||
exisiting
|
||||
subdomains
|
||||
iFrame
|
||||
iFrame
|
||||
iFrame
|
||||
gifs
|
||||
webview
|
||||
Skuid's
|
||||
reachs
|
||||
JJSV
|
||||
Todos
|
||||
Phaco
|
||||
Garg
|
||||
codeblock
|
||||
Aleksandr
|
||||
Sten
|
||||
v10
|
||||
TOC
|
||||
Nitty
|
||||
KPIs
|
||||
MAL
|
||||
walmart
|
||||
Segura
|
||||
Luminate
|
||||
gif
|
||||
OneDrive
|
||||
EOC
|
||||
legistlation
|
||||
todo
|
||||
SCA
|
||||
V2
|
||||
Rock22
|
||||
Figma
|
||||
Foundational
|
||||
Iorad
|
||||
ish
|
||||
Credly
|
||||
Ritu
|
||||
Kumar
|
||||
Deeksha
|
||||
Prajwal
|
||||
Praveen
|
||||
Rakesh
|
||||
integrations
|
||||
recomendations
|
||||
personalization
|
||||
SLAs
|
||||
Devanathan
|
||||
productize
|
||||
accesss
|
||||
devs
|
||||
Sandipan
|
||||
Kayla
|
||||
discoverable
|
||||
Trei
|
||||
aways
|
||||
Chronotype
|
||||
zapier
|
||||
WildHealth
|
||||
dev
|
||||
Shopify's
|
||||
ProductIDs
|
||||
Flupdates
|
||||
availble
|
||||
enrollees
|
||||
automations
|
||||
hoc
|
||||
Baeligh
|
||||
Moburley
|
||||
Baeleigh
|
||||
Gmail
|
||||
WHAcademy
|
||||
www
|
||||
wildhealth
|
||||
www
|
||||
www
|
||||
transformative
|
||||
impactful
|
||||
positivity
|
||||
CSMs
|
||||
Basecamp
|
||||
PSRs
|
||||
PSR
|
||||
TSU
|
||||
ChurnZero
|
||||
Neste
|
||||
SEO
|
||||
oAuth
|
||||
sso
|
||||
learning
|
||||
pre
|
||||
Margus
|
||||
pipedive
|
||||
http
|
||||
iFrame
|
||||
learn
|
||||
OM
|
||||
duolingo
|
||||
gamification
|
||||
CIP
|
||||
typeform
|
||||
Trello
|
||||
repo
|
||||
Unific
|
||||
AIIM
|
||||
FOMO
|
||||
Async
|
||||
zendesk
|
||||
centre
|
||||
centres
|
||||
consisently
|
||||
LiveStorm
|
||||
represneted
|
||||
Jagannatha
|
||||
Q2
|
||||
Gainsight
|
||||
unlinked
|
||||
Gainsight's
|
||||
RevOps
|
||||
Heraly
|
||||
Cherrill
|
||||
LeanData
|
||||
nitty
|
||||
Planhat
|
||||
Toothman
|
||||
event
|
||||
event
|
||||
MJ
|
||||
Wix
|
||||
cateogries
|
||||
cateogries
|
||||
Glassdoor
|
||||
accomodate
|
||||
Ines
|
||||
distrcits
|
||||
suggstions
|
||||
Chek's
|
||||
COO
|
||||
nginx's
|
||||
nginx
|
||||
config
|
||||
javascript
|
||||
subdomain
|
||||
Moodle
|
||||
MSP
|
||||
moodle
|
||||
Faux
|
||||
repos
|
||||
Github
|
||||
Gitea
|
||||
AppDaemon
|
||||
AppDaemon's
|
||||
birdnet
|
||||
HomeAssistant
|
||||
MQTT
|
||||
BirdNET
|
||||
reseller
|
||||
Ece
|
||||
accredation
|
||||
assesment
|
||||
submodules
|
||||
Artera
|
||||
Qualtrics
|
||||
Discoverability
|
||||
Binary file not shown.
@ -1 +0,0 @@
|
||||
.config/nvim/init.lua
|
||||
@ -1 +0,0 @@
|
||||
.config/nvim/lazy-lock.json
|
||||
@ -1 +0,0 @@
|
||||
.config/nvim/spell
|
||||
6
package-lock.json
generated
6
package-lock.json
generated
@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": ".dotfiles",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
||||
@ -1,228 +0,0 @@
|
||||
# Default configuration file for tmux-powerline.
|
||||
# Modeline {
|
||||
# vi: foldmarker={,} foldmethod=marker foldlevel=0 tabstop=4 filetype=sh
|
||||
# }
|
||||
|
||||
# General {
|
||||
# Show which segment fails and its exit code.
|
||||
export TMUX_POWERLINE_DEBUG_MODE_ENABLED="false"
|
||||
# Use patched font symbols.
|
||||
export TMUX_POWERLINE_PATCHED_FONT_IN_USE="true"
|
||||
|
||||
# The theme to use.
|
||||
export TMUX_POWERLINE_THEME="norm-main"
|
||||
# Overlay directory to look for themes. There you can put your own themes outside the repo. Fallback will still be the "themes" directory in the repo.
|
||||
export TMUX_POWERLINE_DIR_USER_THEMES="${XDG_CONFIG_HOME:-$HOME/.dotfiles/tmux/.config/tmux}/tmux-powerline/themes"
|
||||
# Overlay directory to look for segments. There you can put your own segments outside the repo. Fallback will still be the "segments" directory in the repo.
|
||||
export TMUX_POWERLINE_DIR_USER_SEGMENTS="${XDG_CONFIG_HOME:-$HOME/.dotfiles/tmux/.config/tmux}/tmux-powerline/segments"
|
||||
|
||||
# The initial visibility of the status bar. Can be {"on, off"}.
|
||||
export TMUX_POWERLINE_STATUS_VISIBILITY="on"
|
||||
# The status bar refresh interval in seconds.
|
||||
# Note that events that force-refresh the status bar (such as window renaming) will ignore this.
|
||||
export TMUX_POWERLINE_STATUS_INTERVAL="1"
|
||||
# The location of the window list. Can be {"absolute-centre, centre, left, right"}.
|
||||
# Note that "absolute-centre" is only supported on `tmux -V` >= 3.2.
|
||||
export TMUX_POWERLINE_STATUS_JUSTIFICATION="centre"
|
||||
|
||||
# The maximum length of the left status bar.
|
||||
export TMUX_POWERLINE_STATUS_LEFT_LENGTH="60"
|
||||
# The maximum length of the right status bar.
|
||||
export TMUX_POWERLINE_STATUS_RIGHT_LENGTH="60"
|
||||
|
||||
# Uncomment these if you want to enable tmux bindings for muting (hiding) one of the status bars.
|
||||
# E.g. this example binding would mute the left status bar when pressing <prefix> followed by Ctrl-[
|
||||
#export TMUX_POWERLINE_MUTE_LEFT_KEYBINDING="C-["
|
||||
#export TMUX_POWERLINE_MUTE_RIGHT_KEYBINDING="C-]"
|
||||
# }
|
||||
|
||||
# battery.sh {
|
||||
# How to display battery remaining. Can be {percentage, cute}.
|
||||
export TMUX_POWERLINE_SEG_BATTERY_TYPE="percentage"
|
||||
# How may hearts to show if cute indicators are used.
|
||||
export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS="5"
|
||||
# }
|
||||
|
||||
# date.sh {
|
||||
# date(1) format for the date. If you don't, for some reason, like ISO 8601 format you might want to have "%D" or "%m/%d/%Y".
|
||||
export TMUX_POWERLINE_SEG_DATE_FORMAT="%F"
|
||||
# }
|
||||
|
||||
# disk_usage.sh {
|
||||
# Filesystem to retrieve disk space information. Any from the filesystems available (run "df | awk '{print }'" to check them).
|
||||
export TMUX_POWERLINE_SEG_DISK_USAGE_FILESYSTEM="/"
|
||||
# }
|
||||
|
||||
# earthquake.sh {
|
||||
# The data provider to use. Currently only "goo" is supported.
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_DATA_PROVIDER="goo"
|
||||
# How often to update the earthquake data in seconds.
|
||||
# Note: This is not an early warning detector, use this
|
||||
# to be informed about recent earthquake magnitudes in your
|
||||
# area. If this is too often, goo may decide to ban you form
|
||||
# their server
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_UPDATE_PERIOD="600"
|
||||
# Only display information when earthquakes are within this many minutes
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_ALERT_TIME_WINDOW="60"
|
||||
# Display time with this format
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_TIME_FORMAT='(%H:%M)'
|
||||
# Display only if magnitude is greater or equal to this number
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_MIN_MAGNITUDE="3"
|
||||
# }
|
||||
|
||||
# gcalcli.sh {
|
||||
# gcalcli uses 24hr time format by default - if you want to see 12hr time format, set TMUX_POWERLINE_SEG_GCALCLI_MILITARY_TIME_DEFAULT to 0
|
||||
export TMUX_POWERLINE_SEG_GCALCLI_24HR_TIME_FORMAT="1"
|
||||
# }
|
||||
|
||||
# hostname.sh {
|
||||
# Use short or long format for the hostname. Can be {"short, long"}.
|
||||
export TMUX_POWERLINE_SEG_HOSTNAME_FORMAT="short"
|
||||
# }
|
||||
|
||||
# macos_notification_count.sh {
|
||||
# App ids to query in notification center, separated by space
|
||||
# To get the app id that is associated with a specific app run:
|
||||
# sqlite3 -list "/var/folders/14/xy84d13x3091_xgcmy34gk8w0000gp/0//com.apple.notificationcenter/db/db" 'select * from app_info'
|
||||
# The first column contains the app ids
|
||||
# "5" is the app id of Messages.app
|
||||
# Only "banner" notifications are supported (see settings in the notification center)
|
||||
export TMUX_POWERLINE_SEG_MACOS_NOTIFICATION_COUNT_APPIDS="5"
|
||||
# Notification symbol
|
||||
export TMUX_POWERLINE_SEG_MACOS_NOTIFICATION_COUNT_CHAR="💬"
|
||||
# }
|
||||
|
||||
# mailcount.sh {
|
||||
# Mailbox type to use. Can be any of {apple_mail, gmail, maildir, mbox, mailcheck}
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MAILBOX_TYPE=""
|
||||
|
||||
## Gmail
|
||||
# Enter your Gmail username here WITH OUT @gmail.com.( OR @domain)
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_USERNAME=""
|
||||
# Google password. Recomenned to use application specific password (https://accounts.google.com/b/0/IssuedAuthSubTokens) Leave this empty to get password from OS X keychain.
|
||||
# For OSX users : MAKE SURE that you add a key to the keychain in the format as follows
|
||||
# Keychain Item name : http://<value-you-fill-in-server-variable-below>
|
||||
# Account name : <username-below>@<server-below>
|
||||
# Password : Your password ( Once again, try to use 2 step-verification and application-specific password)
|
||||
# See http://support.google.com/accounts/bin/answer.py?hl=en&answer=185833 for more info.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_PASSWORD=""
|
||||
# Domain name that will complete your email. For normal GMail users it probably is "gmail.com but can be "foo.tld" for Google Apps users.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_SERVER="gmail.com"
|
||||
# How often in minutes to check for new mails.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_INTERVAL="5"
|
||||
|
||||
## Maildir
|
||||
# Path to the maildir to check.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX="/Users/normrasmussen/.mail/inbox/new"
|
||||
|
||||
## mbox
|
||||
# Path to the mbox to check.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MBOX_INBOX=""
|
||||
|
||||
## mailcheck
|
||||
# Optional path to mailcheckrc
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MAILCHECKRC="/Users/normrasmussen/.mailcheckrc"
|
||||
# }
|
||||
|
||||
# now_playing.sh {
|
||||
# Music player to use. Can be any of {audacious, banshee, cmus, apple_music, itunes, lastfm, plexamp, mocp, mpd, mpd_simple, pithos, playerctl, rdio, rhythmbox, spotify, spotify_wine, file}.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER="spotify"
|
||||
# File to be read in case the song is being read from a file
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_FILE_NAME=""
|
||||
# Maximum output length.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN="40"
|
||||
# How to handle too long strings. Can be {trim, roll}.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD="trim"
|
||||
# Charcters per second to roll if rolling trim method is used.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED="2"
|
||||
|
||||
# Hostname for MPD server in the format "[password@]host"
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST="localhost"
|
||||
# Port the MPD server is running on.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT="6600"
|
||||
# Song display format for mpd_simple. See mpc(1) for delimiters.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_SIMPLE_FORMAT="%artist% - %title%"
|
||||
# Song display format for playerctl. see "Format Strings" in playerctl(1).
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLAYERCTL_FORMAT="{{ artist }} - {{ title }}"
|
||||
# Song display format for rhythmbox. see "FORMATS" in rhythmbox-client(1).
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_RHYTHMBOX_FORMAT="%aa - %tt"
|
||||
|
||||
# Last.fm
|
||||
# Set up steps for Last.fm
|
||||
# 1. Make sure jq(1) is installed on the system.
|
||||
# 2. Create a new API application at https://www.last.fm/api/account/create (name it tmux-powerline) and copy the API key and insert it below in the setting TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_API_KEY
|
||||
# 3. Make sure the API can access your recently played song by going to you user privacy settings https://www.last.fm/settings/privacy and make sure "Hide recent listening information" is UNCHECKED.
|
||||
# Username for Last.fm if that music player is used.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_USERNAME=""
|
||||
# API Key for the API.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_API_KEY=""
|
||||
# How often in seconds to update the data from last.fm.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD="30"
|
||||
# Fancy char to display before now playing track
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_NOTE_CHAR="♫"
|
||||
|
||||
# Plexamp
|
||||
# Set up steps for Plexamp
|
||||
# 1. Make sure jq(1) is installed on the system.
|
||||
# 2. Make sure you have an instance of Tautulli that is accessible by the computer running tmux-powerline.
|
||||
# Username for Plexamp if that music player is used.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_USERNAME=""
|
||||
# Hostname for Tautulli server in the format "[password@]host"
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_TAUTULLI_HOST=""
|
||||
# API Key for Tautulli.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_TAUTULLI_API_KEY=""
|
||||
# How often in seconds to update the data from Plexamp.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_UPDATE_PERIOD="30"
|
||||
# }
|
||||
|
||||
# pwd.sh {
|
||||
# Maximum length of output.
|
||||
export TMUX_POWERLINE_SEG_PWD_MAX_LEN="40"
|
||||
# }
|
||||
|
||||
# time.sh {
|
||||
# date(1) format for the time. Americans might want to have "%I:%M %p".
|
||||
export TMUX_POWERLINE_SEG_TIME_FORMAT="%H:%M"
|
||||
# Change this to display a different timezone than the system default.
|
||||
# Use TZ Identifier like "America/Los_Angeles"
|
||||
export TMUX_POWERLINE_SEG_TIME_TZ=""
|
||||
# }
|
||||
|
||||
# tmux_mem_cpu_load.sh {
|
||||
# Arguments passed to tmux-mem-cpu-load.
|
||||
# See https://github.com/thewtex/tmux-mem-cpu-load for all available options.
|
||||
export TMUX_POWERLINE_SEG_TMUX_MEM_CPU_LOAD_ARGS="-v"
|
||||
# }
|
||||
|
||||
# tmux_session_info.sh {
|
||||
# Session info format to feed into the command: tmux display-message -p
|
||||
# For example, if FORMAT is '[ #S ]', the command is: tmux display-message -p '[ #S ]'
|
||||
export TMUX_POWERLINE_SEG_TMUX_SESSION_INFO_FORMAT="#S:#I.#P"
|
||||
# }
|
||||
|
||||
# utc_time.sh {
|
||||
# date(1) format for the UTC time.
|
||||
export TMUX_POWERLINE_SEG_UTC_TIME_FORMAT="%H:%M %Z"
|
||||
# }
|
||||
|
||||
# vcs_branch.sh {
|
||||
# Max length of the branch name.
|
||||
export TMUX_POWERLINE_SEG_VCS_BRANCH_MAX_LEN="24"
|
||||
# }
|
||||
|
||||
# weather.sh {
|
||||
# The data provider to use. Currently only "yahoo" is supported.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER="yahoo"
|
||||
# What unit to use. Can be any of {c,f,k}.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_UNIT="f"
|
||||
# How often to update the weather in seconds.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD="60"
|
||||
# Name of GNU grep binary if in PATH, or path to it.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_GREP="grep"
|
||||
# Location of the JSON parser, jq
|
||||
export TMUX_POWERLINE_SEG_WEATHER_JSON="jq"
|
||||
# Your location
|
||||
# Latitude and Longtitude for use with yr.no
|
||||
TMUX_POWERLINE_SEG_WEATHER_LAT="41.099050"
|
||||
TMUX_POWERLINE_SEG_WEATHER_LON="-74.252859"
|
||||
# }
|
||||
@ -1,228 +0,0 @@
|
||||
# Default configuration file for tmux-powerline.
|
||||
# Modeline {
|
||||
# vi: foldmarker={,} foldmethod=marker foldlevel=0 tabstop=4 filetype=sh
|
||||
# }
|
||||
|
||||
# General {
|
||||
# Show which segment fails and its exit code.
|
||||
export TMUX_POWERLINE_DEBUG_MODE_ENABLED="false"
|
||||
# Use patched font symbols.
|
||||
export TMUX_POWERLINE_PATCHED_FONT_IN_USE="true"
|
||||
|
||||
# The theme to use.
|
||||
export TMUX_POWERLINE_THEME="default"
|
||||
# Overlay directory to look for themes. There you can put your own themes outside the repo. Fallback will still be the "themes" directory in the repo.
|
||||
export TMUX_POWERLINE_DIR_USER_THEMES="${XDG_CONFIG_HOME:-$HOME/.config}/tmux-powerline/themes"
|
||||
# Overlay directory to look for segments. There you can put your own segments outside the repo. Fallback will still be the "segments" directory in the repo.
|
||||
export TMUX_POWERLINE_DIR_USER_SEGMENTS="${XDG_CONFIG_HOME:-$HOME/.config}/tmux-powerline/segments"
|
||||
|
||||
# The initial visibility of the status bar. Can be {"on, off"}.
|
||||
export TMUX_POWERLINE_STATUS_VISIBILITY="on"
|
||||
# The status bar refresh interval in seconds.
|
||||
# Note that events that force-refresh the status bar (such as window renaming) will ignore this.
|
||||
export TMUX_POWERLINE_STATUS_INTERVAL="1"
|
||||
# The location of the window list. Can be {"absolute-centre, centre, left, right"}.
|
||||
# Note that "absolute-centre" is only supported on `tmux -V` >= 3.2.
|
||||
export TMUX_POWERLINE_STATUS_JUSTIFICATION="centre"
|
||||
|
||||
# The maximum length of the left status bar.
|
||||
export TMUX_POWERLINE_STATUS_LEFT_LENGTH="60"
|
||||
# The maximum length of the right status bar.
|
||||
export TMUX_POWERLINE_STATUS_RIGHT_LENGTH="90"
|
||||
|
||||
# Uncomment these if you want to enable tmux bindings for muting (hiding) one of the status bars.
|
||||
# E.g. this example binding would mute the left status bar when pressing <prefix> followed by Ctrl-[
|
||||
#export TMUX_POWERLINE_MUTE_LEFT_KEYBINDING="C-["
|
||||
#export TMUX_POWERLINE_MUTE_RIGHT_KEYBINDING="C-]"
|
||||
# }
|
||||
|
||||
# battery.sh {
|
||||
# How to display battery remaining. Can be {percentage, cute}.
|
||||
export TMUX_POWERLINE_SEG_BATTERY_TYPE="percentage"
|
||||
# How may hearts to show if cute indicators are used.
|
||||
export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS="5"
|
||||
# }
|
||||
|
||||
# date.sh {
|
||||
# date(1) format for the date. If you don't, for some reason, like ISO 8601 format you might want to have "%D" or "%m/%d/%Y".
|
||||
export TMUX_POWERLINE_SEG_DATE_FORMAT="%F"
|
||||
# }
|
||||
|
||||
# disk_usage.sh {
|
||||
# Filesystem to retrieve disk space information. Any from the filesystems available (run "df | awk '{print }'" to check them).
|
||||
export TMUX_POWERLINE_SEG_DISK_USAGE_FILESYSTEM="/"
|
||||
# }
|
||||
|
||||
# earthquake.sh {
|
||||
# The data provider to use. Currently only "goo" is supported.
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_DATA_PROVIDER="goo"
|
||||
# How often to update the earthquake data in seconds.
|
||||
# Note: This is not an early warning detector, use this
|
||||
# to be informed about recent earthquake magnitudes in your
|
||||
# area. If this is too often, goo may decide to ban you form
|
||||
# their server
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_UPDATE_PERIOD="600"
|
||||
# Only display information when earthquakes are within this many minutes
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_ALERT_TIME_WINDOW="60"
|
||||
# Display time with this format
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_TIME_FORMAT='(%H:%M)'
|
||||
# Display only if magnitude is greater or equal to this number
|
||||
export TMUX_POWERLINE_SEG_EARTHQUAKE_MIN_MAGNITUDE="3"
|
||||
# }
|
||||
|
||||
# gcalcli.sh {
|
||||
# gcalcli uses 24hr time format by default - if you want to see 12hr time format, set TMUX_POWERLINE_SEG_GCALCLI_MILITARY_TIME_DEFAULT to 0
|
||||
export TMUX_POWERLINE_SEG_GCALCLI_24HR_TIME_FORMAT="1"
|
||||
# }
|
||||
|
||||
# hostname.sh {
|
||||
# Use short or long format for the hostname. Can be {"short, long"}.
|
||||
export TMUX_POWERLINE_SEG_HOSTNAME_FORMAT="short"
|
||||
# }
|
||||
|
||||
# macos_notification_count.sh {
|
||||
# App ids to query in notification center, separated by space
|
||||
# To get the app id that is associated with a specific app run:
|
||||
# sqlite3 -list "/var/folders/14/xy84d13x3091_xgcmy34gk8w0000gp/0//com.apple.notificationcenter/db/db" 'select * from app_info'
|
||||
# The first column contains the app ids
|
||||
# "5" is the app id of Messages.app
|
||||
# Only "banner" notifications are supported (see settings in the notification center)
|
||||
export TMUX_POWERLINE_SEG_MACOS_NOTIFICATION_COUNT_APPIDS="5"
|
||||
# Notification symbol
|
||||
export TMUX_POWERLINE_SEG_MACOS_NOTIFICATION_COUNT_CHAR="💬"
|
||||
# }
|
||||
|
||||
# mailcount.sh {
|
||||
# Mailbox type to use. Can be any of {apple_mail, gmail, maildir, mbox, mailcheck}
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MAILBOX_TYPE=""
|
||||
|
||||
## Gmail
|
||||
# Enter your Gmail username here WITH OUT @gmail.com.( OR @domain)
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_USERNAME=""
|
||||
# Google password. Recomenned to use application specific password (https://accounts.google.com/b/0/IssuedAuthSubTokens) Leave this empty to get password from OS X keychain.
|
||||
# For OSX users : MAKE SURE that you add a key to the keychain in the format as follows
|
||||
# Keychain Item name : http://<value-you-fill-in-server-variable-below>
|
||||
# Account name : <username-below>@<server-below>
|
||||
# Password : Your password ( Once again, try to use 2 step-verification and application-specific password)
|
||||
# See http://support.google.com/accounts/bin/answer.py?hl=en&answer=185833 for more info.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_PASSWORD=""
|
||||
# Domain name that will complete your email. For normal GMail users it probably is "gmail.com but can be "foo.tld" for Google Apps users.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_SERVER="gmail.com"
|
||||
# How often in minutes to check for new mails.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_GMAIL_INTERVAL="5"
|
||||
|
||||
## Maildir
|
||||
# Path to the maildir to check.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX="/Users/normrasmussen/.mail/inbox/new"
|
||||
|
||||
## mbox
|
||||
# Path to the mbox to check.
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MBOX_INBOX=""
|
||||
|
||||
## mailcheck
|
||||
# Optional path to mailcheckrc
|
||||
export TMUX_POWERLINE_SEG_MAILCOUNT_MAILCHECKRC="/Users/normrasmussen/.mailcheckrc"
|
||||
# }
|
||||
|
||||
# now_playing.sh {
|
||||
# Music player to use. Can be any of {audacious, banshee, cmus, apple_music, itunes, lastfm, plexamp, mocp, mpd, mpd_simple, pithos, playerctl, rdio, rhythmbox, spotify, spotify_wine, file}.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER="spotify"
|
||||
# File to be read in case the song is being read from a file
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_FILE_NAME=""
|
||||
# Maximum output length.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN="40"
|
||||
# How to handle too long strings. Can be {trim, roll}.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD="trim"
|
||||
# Charcters per second to roll if rolling trim method is used.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED="2"
|
||||
|
||||
# Hostname for MPD server in the format "[password@]host"
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST="localhost"
|
||||
# Port the MPD server is running on.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT="6600"
|
||||
# Song display format for mpd_simple. See mpc(1) for delimiters.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_SIMPLE_FORMAT="%artist% - %title%"
|
||||
# Song display format for playerctl. see "Format Strings" in playerctl(1).
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLAYERCTL_FORMAT="{{ artist }} - {{ title }}"
|
||||
# Song display format for rhythmbox. see "FORMATS" in rhythmbox-client(1).
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_RHYTHMBOX_FORMAT="%aa - %tt"
|
||||
|
||||
# Last.fm
|
||||
# Set up steps for Last.fm
|
||||
# 1. Make sure jq(1) is installed on the system.
|
||||
# 2. Create a new API application at https://www.last.fm/api/account/create (name it tmux-powerline) and copy the API key and insert it below in the setting TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_API_KEY
|
||||
# 3. Make sure the API can access your recently played song by going to you user privacy settings https://www.last.fm/settings/privacy and make sure "Hide recent listening information" is UNCHECKED.
|
||||
# Username for Last.fm if that music player is used.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_USERNAME=""
|
||||
# API Key for the API.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_API_KEY=""
|
||||
# How often in seconds to update the data from last.fm.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD="30"
|
||||
# Fancy char to display before now playing track
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_NOTE_CHAR="♫"
|
||||
|
||||
# Plexamp
|
||||
# Set up steps for Plexamp
|
||||
# 1. Make sure jq(1) is installed on the system.
|
||||
# 2. Make sure you have an instance of Tautulli that is accessible by the computer running tmux-powerline.
|
||||
# Username for Plexamp if that music player is used.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_USERNAME=""
|
||||
# Hostname for Tautulli server in the format "[password@]host"
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_TAUTULLI_HOST=""
|
||||
# API Key for Tautulli.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_TAUTULLI_API_KEY=""
|
||||
# How often in seconds to update the data from Plexamp.
|
||||
export TMUX_POWERLINE_SEG_NOW_PLAYING_PLEXAMP_UPDATE_PERIOD="30"
|
||||
# }
|
||||
|
||||
# pwd.sh {
|
||||
# Maximum length of output.
|
||||
export TMUX_POWERLINE_SEG_PWD_MAX_LEN="40"
|
||||
# }
|
||||
|
||||
# time.sh {
|
||||
# date(1) format for the time. Americans might want to have "%I:%M %p".
|
||||
export TMUX_POWERLINE_SEG_TIME_FORMAT="%H:%M"
|
||||
# Change this to display a different timezone than the system default.
|
||||
# Use TZ Identifier like "America/Los_Angeles"
|
||||
export TMUX_POWERLINE_SEG_TIME_TZ=""
|
||||
# }
|
||||
|
||||
# tmux_mem_cpu_load.sh {
|
||||
# Arguments passed to tmux-mem-cpu-load.
|
||||
# See https://github.com/thewtex/tmux-mem-cpu-load for all available options.
|
||||
export TMUX_POWERLINE_SEG_TMUX_MEM_CPU_LOAD_ARGS="-v"
|
||||
# }
|
||||
|
||||
# tmux_session_info.sh {
|
||||
# Session info format to feed into the command: tmux display-message -p
|
||||
# For example, if FORMAT is '[ #S ]', the command is: tmux display-message -p '[ #S ]'
|
||||
export TMUX_POWERLINE_SEG_TMUX_SESSION_INFO_FORMAT="#S:#I.#P"
|
||||
# }
|
||||
|
||||
# utc_time.sh {
|
||||
# date(1) format for the UTC time.
|
||||
export TMUX_POWERLINE_SEG_UTC_TIME_FORMAT="%H:%M %Z"
|
||||
# }
|
||||
|
||||
# vcs_branch.sh {
|
||||
# Max length of the branch name.
|
||||
export TMUX_POWERLINE_SEG_VCS_BRANCH_MAX_LEN="24"
|
||||
# }
|
||||
|
||||
# weather.sh {
|
||||
# The data provider to use. Currently only "yahoo" is supported.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER="yrno"
|
||||
# What unit to use. Can be any of {c,f,k}.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_UNIT="c"
|
||||
# How often to update the weather in seconds.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD="600"
|
||||
# Name of GNU grep binary if in PATH, or path to it.
|
||||
export TMUX_POWERLINE_SEG_WEATHER_GREP="grep"
|
||||
# Location of the JSON parser, jq
|
||||
export TMUX_POWERLINE_SEG_WEATHER_JSON="jq"
|
||||
# Your location
|
||||
# Latitude and Longtitude for use with yr.no
|
||||
TMUX_POWERLINE_SEG_WEATHER_LAT=""
|
||||
TMUX_POWERLINE_SEG_WEATHER_LON=""
|
||||
# }
|
||||
@ -1,19 +0,0 @@
|
||||
run_program() {
|
||||
default_route_nic=$(route get default | grep -i interface | awk '{print $2}')
|
||||
all_nics=$(ifconfig 2>/dev/null | awk -F':' '/^[a-z]/ && !/^lo/ { print $1 }' | tr '\n' ' ')
|
||||
IFS=' ' read -ra all_nics_array <<< "$all_nics"
|
||||
all_nics_array=("$default_route_nic" "${all_nics_array[@]}")
|
||||
for nic in "${all_nics_array[@]}"; do
|
||||
ipv4s_on_nic=$(ifconfig ${nic} 2>/dev/null | awk '$1 == "inet" { print $2 }')
|
||||
echo ${ipv4s_on_nic}
|
||||
for lan_ip in ${ipv4s_on_nic[@]}; do
|
||||
echo ${lan_ip}
|
||||
[[ -n "${lan_ip}" ]]
|
||||
done
|
||||
[[ -n "${lan_ip}" ]]
|
||||
done
|
||||
echo "ⓛ ${lan_ip-Not working}"
|
||||
return 0
|
||||
}
|
||||
|
||||
"$@"
|
||||
@ -1,30 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
find_data=$(ifstat -S -q 1 1)
|
||||
interfaces=$(echo -e "${find_data}" | head -n 1)
|
||||
final=()
|
||||
for interface in ${interfaces}; do
|
||||
has_data=$(ifstat -i ${interface} -S -q 1 1 | tail -n 1 | tr -d '\r' | tr -d ' ')
|
||||
if [[ "$has_data" != "0.000.00" ]]; then
|
||||
for int in ${interface}; do
|
||||
data=$(ifstat -i ${interface} -S -q 1 1)
|
||||
flow_data=$(echo -e "${data}" | tail -n 1 | tr -d '\r' )
|
||||
up=${flow_data% *}
|
||||
down=${flow_data##* }
|
||||
up=$up | tr -d ' '
|
||||
down=$down | tr -d ' '
|
||||
final+=("$int: $up/ $down")
|
||||
echo $final
|
||||
done
|
||||
# OUTPUT="⇈ $up ⇊ $down"
|
||||
# echo $OUTPUT
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
# data=$(ifstat -i en0 -i en5 -S -q 1 1)
|
||||
# flow_data=$(echo -e "${data}" | tail -n 1 | tr -d '\r')
|
||||
# up=${flow_data% *}
|
||||
# down=${flow_data##* }
|
||||
# OUTPUT="⇈ $up ⇊ $down"
|
||||
# echo $OUTPUT
|
||||
@ -1,17 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
function ip_address() {
|
||||
|
||||
# Loop through the interfaces and check for the interface that is up.
|
||||
for file in /sys/class/net/*; do
|
||||
|
||||
iface=$(basename $file);
|
||||
|
||||
read status < $file/operstate;
|
||||
|
||||
[ "$status" == "up" ] && ip addr show $iface | awk '/inet /{printf $2" "}'
|
||||
|
||||
done
|
||||
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
PST=$(TZ=":America/Los_Angeles" date -R +%H:%M)
|
||||
EST=$(TZ=":America/New_York" date -R +%H:%M)
|
||||
CET=$(TZ=":Europe/Warsaw" date -R +%H:%M)
|
||||
echo "PST: $PST | EST: $EST | CET: $CET"
|
||||
Submodule tmux/.config/tmux/plugins/tmux deleted from 79068c40b3
Submodule tmux/.config/tmux/plugins/tmux-continuum deleted from 3e4bc35da4
Submodule tmux/.config/tmux/plugins/tmux-powerline deleted from 25cf067040
Submodule tmux/.config/tmux/plugins/tmux-resurrect deleted from cff343cf9e
Submodule tmux/.config/tmux/plugins/tmux-sensible deleted from 25cb91f42d
Submodule tmux/.config/tmux/plugins/tmux-world-clock deleted from 07266df297
Submodule tmux/.config/tmux/plugins/tpm deleted from 99469c4a9b
Submodule tmux/.config/tmux/plugins/vim-tmux-navigator deleted from 38b1d0402c
@ -1,27 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
function wan_ip() {
|
||||
|
||||
tmp_file="./wan_ip.txt"
|
||||
wan_up="N/a"
|
||||
|
||||
if [ -z "$wan_ip" ]; then
|
||||
wan_ip=$(curl --max-time 2 -s http://whatismyip.akamai.com/)
|
||||
|
||||
if [ "$?" -eq "0" ]; then
|
||||
echo "${wan_ip}" > $tmp_file
|
||||
elif [ -f "${tmp_file}" ]; then
|
||||
wan_ip=$(cat "$tmp_file")
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$wan_ip" ]; then
|
||||
printf "ⓦ ${wan_ip}"
|
||||
fi
|
||||
}
|
||||
|
||||
function main() {
|
||||
wan_ip
|
||||
}
|
||||
|
||||
main
|
||||
@ -1 +0,0 @@
|
||||
104.246.2.167
|
||||
@ -1,4 +0,0 @@
|
||||
/Users/normrasmussen 40
|
||||
/Users/normrasmussen/Documents/Liquid_Templates 40
|
||||
/Users/normrasmussen/Documents/Liquid_Templates/customer_templates 69
|
||||
40
|
||||
@ -1,81 +0,0 @@
|
||||
set-environment -g PATH "/opt/homebrew/bin:/bin:/usr/bin"
|
||||
set-window-option -g mode-keys vi
|
||||
set-option default-terminal "screen-256color"
|
||||
set-option default-terminal "tmux-256color"
|
||||
set-option -a terminal-overrides ",*256col*:RGB"
|
||||
|
||||
# Set up Variables
|
||||
black='#000000'
|
||||
white='#f8f8f2'
|
||||
gray='#44475a'
|
||||
dark_gray='#282a36'
|
||||
light_purple='#bd93f9'
|
||||
dark_purple='#6272a4'
|
||||
cyan='#8be9fd'
|
||||
green='#50fa7b'
|
||||
orange='#ffb86c'
|
||||
red='#ff5555'
|
||||
pink='#ff79c6'
|
||||
yellow='#f1fa8c'
|
||||
active='#50fa7b'
|
||||
nonactive='#6272a4'
|
||||
left_sep=''
|
||||
right_sep=''
|
||||
|
||||
wanip="~/.dotfiles/tmux/.config/tmux/plugins/wan_ip.sh"
|
||||
timezones="~/.dotfiles/tmux/.config/tmux/plugins/timezones.sh"
|
||||
ifstat="~/.dotfiles/tmux/.config/tmux/plugins/ifstat.sh"
|
||||
|
||||
|
||||
set -g status on
|
||||
set -g status-interval 1
|
||||
set -g status-justify centre
|
||||
|
||||
set-window-option -g window-status-separator ''
|
||||
set-window-option -g window-status-current-format "#[fg=${active},bg=${dark_gray}]${right_sep}#[fg=${black},bg=${active}] #I #W #[fg=${active},bg=${dark_gray}]${left_sep}"
|
||||
set-window-option -g window-status-format "#[fg=${white},bg=${dark_gray}] #I #W "
|
||||
set-option -g status-bg ${dark_gray}
|
||||
# set-option -g status-fg white
|
||||
set -g status-left-length 50
|
||||
# set -g status-left-style default
|
||||
set -g status-left "#[fg=${black},bg=${light_purple}] #(${wanip}) #[fg=${light_purple},bg=${green}]${left_sep}#[fg=${black},bg=${green}] #(${ifstat})#[fg=${green},bg=${dark_gray}]${left_sep}"
|
||||
|
||||
set -g status-right-length 60
|
||||
set -g status-right "#[fg=${pink},bg=${dark_gray}]${right_sep}#[fg=${black},bg=${pink}]#(${timezones}) "
|
||||
set -g status-right-style default
|
||||
|
||||
|
||||
# Standard Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
||||
# Continue Session on Startup
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
|
||||
# Search your Scrollback using fzf
|
||||
# set -g @plugin 'roosta/tmux-fuzzback'
|
||||
|
||||
|
||||
# Allow Focus Events
|
||||
set -g focus-events on
|
||||
|
||||
# enable mouse support
|
||||
set-option -g mouse on
|
||||
|
||||
# Open Pane in same working directory
|
||||
# Set the control character to Ctrl+Spacebar (instead of Ctrl+B)
|
||||
set -g prefix C-b
|
||||
unbind-key C-space
|
||||
bind-key C-b send-prefix
|
||||
|
||||
# Set new panes to open in current directory
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '"' split-window -c "#{pane_current_path}"
|
||||
bind % split-window -h -c "#{pane_current_path}"
|
||||
|
||||
# Vim-Tmux-Navigator plugin/
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
# Initialize TMUX plugin manager - kept at bottom of file
|
||||
run '~/.dotfiles/tmux/.config/tmux/plugins/tpm/tpm'
|
||||
@ -1,55 +0,0 @@
|
||||
session_name: Work
|
||||
windows:
|
||||
- layout: ba3e,151x53,0,0,1
|
||||
options: {}
|
||||
panes:
|
||||
- focus: 'true'
|
||||
shell_command: zsh
|
||||
start_directory: /Users/normrasmussen/Documents/Work
|
||||
window_name: notes
|
||||
- layout: c1ff,149x54,0,0,2
|
||||
options: {}
|
||||
panes:
|
||||
- focus: 'true'
|
||||
shell_command: zsh
|
||||
start_directory: /Users/normrasmussen/Documents/Work/Custom_Templates
|
||||
window_name: templates
|
||||
- layout: ba40,151x53,0,0,3
|
||||
options: {}
|
||||
panes:
|
||||
- focus: 'true'
|
||||
shell_command: nvim
|
||||
start_directory: /Users/normrasmussen/Documents/Work/Scripts
|
||||
window_name: scripts
|
||||
- layout: e469,177x53,0,0[177x42,0,0,4,177x10,0,43,5]
|
||||
options: {}
|
||||
panes:
|
||||
- focus: 'true'
|
||||
shell_command:
|
||||
- cd /Users/normrasmussen/.dotfiles
|
||||
- nvim
|
||||
- shell_command:
|
||||
- cd /Users/normrasmussen
|
||||
- zsh
|
||||
window_name: dots
|
||||
- focus: 'true'
|
||||
layout: 5cf6,171x53,0,0[171x36,0,0,7,171x16,0,37{85x16,0,37,14,85x16,86,37,16}]
|
||||
options: {}
|
||||
panes:
|
||||
- shell_command:
|
||||
- cd /Users/normrasmussen/Documents/Projects/hugo_blog/rsmsn_blog
|
||||
- nvim
|
||||
- focus: 'true'
|
||||
shell_command:
|
||||
- cd /Users/normrasmussen/Desktop
|
||||
- shell_command:
|
||||
- cd /Users/normrasmussen/Documents/Projects/hugo_blog/rsmsn_blog
|
||||
- zsh
|
||||
window_name: hugo
|
||||
- layout: 5d96,171x53,0,0,17
|
||||
options: {}
|
||||
panes:
|
||||
- focus: 'true'
|
||||
shell_command: zsh
|
||||
start_directory: /Users/normrasmussen
|
||||
window_name: zsh
|
||||
1664
zsh/.p10k.zsh
1664
zsh/.p10k.zsh
File diff suppressed because it is too large
Load Diff
124
zsh/.zshrc
124
zsh/.zshrc
@ -1,124 +0,0 @@
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LANG=en_US.UTF-8
|
||||
# autoload -Uz compinit; compinit; _comp_options+=(globdots);
|
||||
|
||||
# User configuration
|
||||
export DOT="~/.dotfiles"
|
||||
alias vim='vim -S ~/.vimrc'
|
||||
alias nvim='nvim'
|
||||
#alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
|
||||
export CLICOLOR=1
|
||||
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
||||
|
||||
export EDITOR="$VISUAL"
|
||||
export VISUAL='nvim'
|
||||
export PYTHONPATH="/opt/homebrew/bin/python3:$PYTHONPATH"
|
||||
#export PYENV_ROOT="$HOME/.pyenv"
|
||||
#command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
#eval "$(pyenv init -)"
|
||||
#eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
# Function to Correctly Source $VIRTUAL_ENV for Neovim
|
||||
function nvimvenv {
|
||||
if [[ -e "$VIRTUAL_ENV" && -f "$VIRTUAL_ENV/bin/activate" ]]; then
|
||||
source "$VIRTUAL_ENV/bin/activate"
|
||||
command nvim "$@"
|
||||
deactivate
|
||||
else
|
||||
command nvim "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
alias nvim=nvimvenv
|
||||
# alias nvim-minimal="NVIM_APPNAME=Minivim nvim"
|
||||
# alias nvim-arduino="NVIM_APPNAME=Arduino nvim"
|
||||
|
||||
#function nvims() {
|
||||
# items=("Main" "Minivim" "Arduinvim")
|
||||
# config=$(printf "%s\n" "${items[@]}" | fzf --prompt=" Neovim Config " --height=~50% --layout=reverse --border --exit-0)
|
||||
# if [[ -z $config ]]; then
|
||||
# echo "Nothing selected"
|
||||
# return 0
|
||||
# elif [[ $config == "Main" ]]; then
|
||||
# config=""
|
||||
# fi
|
||||
# NVIM_APPNAME=$config nvim $@
|
||||
#}
|
||||
#bindkey -s ^a "nvims\n"
|
||||
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
NPM_PACKAGES=/Users/normrasmussen/.npm-packages
|
||||
export PATH="/opt/homebrew/sbin:$PATH"
|
||||
export PATH="/opt/homebrew/bin:$PATH"
|
||||
export PATH="$NPM_PACKAGES/bin:$PATH"
|
||||
source /opt/homebrew/share/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
export PATH="/usr/local/opt/openssl/bin:$PATH"
|
||||
echo 'eval "$(uv generate-shell-completion zsh)"' >> ~/.zshrc
|
||||
source $HOME/.cargo/env
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
eval "$(uv generate-shell-completion zsh)"
|
||||
@ -1,8 +0,0 @@
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
# User configuration
|
||||
export DOT="~/.dotfiles"
|
||||
alias vim='vim -S ~/.vimrc'
|
||||
alias nvim='nvim'
|
||||
source ~/.dotfiles/zsh/.zshrc
|
||||
Submodule zsh/zsh-autosuggestions deleted from c3d4e576c9
Submodule zsh/zsh-syntax-highlighting deleted from 143b25eb98
@ -1,15 +0,0 @@
|
||||
---
|
||||
title: "Test"
|
||||
date: 2023-09-12T17:19:08Z
|
||||
draft: false
|
||||
---
|
||||
|
||||
Yesterday, I could not get my ZSH shell to work at all. As I kept trying things, I was getting all these weird errors. I started posting about this on Mastodon too.
|
||||
|
||||
[Mastodon Thread](https://fosstodon.org/@notnorm/111047573608738701) where I kept asking myself - no responses!
|
||||
|
||||
Finally, I realized the issue. And that was the [Starship](https://www.starship.rs) cross-shell prompt. Turns out, it was making everything really really slow.
|
||||
|
||||
I finally got it fixed by doing the following:
|
||||
* Delete everything from `~/.zsh_sessions/` and `~/.zsh_history`.
|
||||
* Do not use `source ~/.zshrc` and definitely don't use it in your `zshrc` file! Instead of `source` use `exec zsh`
|
||||
Reference in New Issue
Block a user