Compare commits
2 Commits
bd16e37046
...
personal-m
| Author | SHA1 | Date | |
|---|---|---|---|
| 10c40078f0 | |||
| 1191025c55 |
@ -1,3 +1,4 @@
|
|||||||
|
-- Bootstrap lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
@ -51,17 +52,14 @@ g.markdown_folding = 1
|
|||||||
-- g.markdown_enable_folding = 1
|
-- g.markdown_enable_folding = 1
|
||||||
opt.spell=true
|
opt.spell=true
|
||||||
opt.spelllang = 'en_us'
|
opt.spelllang = 'en_us'
|
||||||
opt.autochdir = true
|
cmd [[ autocmd BufWritePre * :%s/\s\+$//e ]]
|
||||||
vim.cmd [[ autocmd BufWritePre * :%s/\s\+$//e ]]
|
|
||||||
-- vim.cmd [[ autocmd autochdir ]]
|
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- Neovim UI
|
-- Neovim UI
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
opt.number = true -- Show line number
|
opt.number = true -- Show line number
|
||||||
opt.relativenumber = true -- Show Current Line with Relative numbers above and below cursor.
|
opt.relativenumber = true -- Show Current Line with Relative numbers above and below cursor.
|
||||||
opt.showmatch = true -- Highlight matching parenthesis
|
opt.showmatch = true -- Highlight matching parenthesis
|
||||||
opt.foldmethod = "expr" -- Enable folding (default 'foldmarker')
|
opt.foldmethod = "syntax" -- Enable folding (default 'foldmarker')
|
||||||
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
|
||||||
opt.splitright = true -- Vertical split to the right
|
opt.splitright = true -- Vertical split to the right
|
||||||
opt.splitbelow = true -- Horizontal split to the bottom
|
opt.splitbelow = true -- Horizontal split to the bottom
|
||||||
opt.ignorecase = true -- Ignore case letters when search
|
opt.ignorecase = true -- Ignore case letters when search
|
||||||
@ -84,9 +82,9 @@ opt.termguicolors = true -- Enable 24-bit RGB colors
|
|||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- Tabs, indent
|
-- Tabs, indent
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
g.expandtab = false -- Use spaces instead of tabs
|
g.expandtab = true -- Use spaces instead of tabs
|
||||||
g.shiftwidth = 2 -- Shift 4 spaces when tab
|
g.shiftwidth = 2 -- Shift 4 spaces when tab
|
||||||
g.tabstop = 2 -- 1 tab == 4 spaces
|
g.tabstop = 1 -- 1 tab == 4 spaces
|
||||||
g.smartindent = true -- Autoindent new lines
|
g.smartindent = true -- Autoindent new lines
|
||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- Glow Settings
|
-- Glow Settings
|
||||||
@ -102,13 +100,13 @@ g.glow_style = 'dark'
|
|||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
-- 2 spaces for selected filetypes
|
-- 2 spaces for selected filetypes
|
||||||
vim.cmd [[
|
vim.cmd [[
|
||||||
autocmd FileType md,liquid,xml,html,xhtml,css,scss,javascript,lua,yaml setlocal shiftwidth=2 tabstop=2 noexpandtab
|
autocmd FileType md,liquid,xml,html,xhtml,css,scss,javascript,lua,yaml setlocal shiftwidth=2 tabstop=4 noexpandtab
|
||||||
]]
|
]]
|
||||||
vim.cmd [[ autocmd FileType python set textwidth=250 ]]
|
vim.cmd [[ autocmd FileType python set textwidth=110 ]]
|
||||||
vim.cmd [[ autocmd FileType lua set textwidth=80 ]]
|
vim.cmd [[ autocmd FileType lua set textwidth=80 ]]
|
||||||
vim.cmd [[ autocmd FileType markdown,text set shiftwidth=2 foldlevel=99 ]]
|
vim.cmd [[ autocmd FileType markdown,text set shiftwidth=2 foldlevel=99 ]]
|
||||||
-- vim.cmd [[ autocmd FileType markdown setlocal foldlevel=99 ]]
|
-- vim.cmd [[ autocmd FileType markdown setlocal foldlevel=99 ]]
|
||||||
vim.cmd[[ colorscheme duskfox ]]
|
vim.cmd[[ colorscheme eldritch ]]
|
||||||
|
|
||||||
local disabled_built_ins = {
|
local disabled_built_ins = {
|
||||||
"netrw",
|
"netrw",
|
||||||
|
|||||||
@ -1,102 +1,90 @@
|
|||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
"LuaSnip": { "branch": "master", "commit": "458560534a73f7f8d7a11a146c801db00b081df0" },
|
||||||
"adjacent.nvim": { "branch": "main", "commit": "a555ab92d61aa6fbbfa1bfaef4633b663563f04e" },
|
"adjacent.nvim": { "branch": "main", "commit": "a555ab92d61aa6fbbfa1bfaef4633b663563f04e" },
|
||||||
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
|
"alpha-nvim": { "branch": "main", "commit": "a35468cd72645dbd52c0624ceead5f301c566dff" },
|
||||||
"async.vim": { "branch": "master", "commit": "2082d13bb195f3203d41a308b89417426a7deca1" },
|
"async.vim": { "branch": "master", "commit": "2082d13bb195f3203d41a308b89417426a7deca1" },
|
||||||
"avante.nvim": { "branch": "main", "commit": "01e05a538b4b7f20fb922016d72be8c42d400b0e" },
|
"auto-hlsearch.nvim": { "branch": "main", "commit": "8f28246d53e9478717ca3b51c8112083fbebd7e3" },
|
||||||
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
|
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
|
||||||
<<<<<<< HEAD
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"blink.cmp": { "branch": "main", "commit": "d534f9e8bf39299c480e0c2e11dad21f51cfb2fe" },
|
"cmp-calc": { "branch": "main", "commit": "5947b412da67306c5b68698a02a846760059be2e" },
|
||||||
"copilot.lua": { "branch": "master", "commit": "886ee73b6d464b2b3e3e6a7ff55ce87feac423a9" },
|
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
|
||||||
"blink.cmp": { "branch": "main", "commit": "ae5a4ce8f7e519e49de7ae6fcadd74547f820a52" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
|
||||||
=======
|
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
|
||||||
>>>>>>> parent of 2cafc91 (Breaking changes for blink.cmp, so that needed to be updated. Updated keymaps location based on that plugin as well.)
|
"cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" },
|
||||||
"blink.cmp": { "branch": "main", "commit": "ae5a4ce8f7e519e49de7ae6fcadd74547f820a52" },
|
"cmp-spell": { "branch": "master", "commit": "694a4e50809d6d645c1ea29015dad0c293f019d6" },
|
||||||
"deadcolumn.nvim": { "branch": "master", "commit": "897c905aef1a268ce4cc507d5cce048ed808fa7a" },
|
"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" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"dracula.nvim": { "branch": "main", "commit": "515acae4fd294fcefa5b15237a333c2606e958d1" },
|
"dracula.nvim": { "branch": "main", "commit": "96c9d19ce81b26053055ad6f688277d655b3f7d2" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
|
"eldritch.nvim": { "branch": "master", "commit": "adedead3423c58cc2e2ebf30001fe4055ad0e416" },
|
||||||
"eldritch.nvim": { "branch": "master", "commit": "d3df98f58841bdbd88fbe1ca27c9eb76ccca6572" },
|
"f-string-toggle.nvim": { "branch": "main", "commit": "74545e699ed0caca603b2612bfa706ff40736d31" },
|
||||||
"f-string-toggle.nvim": { "branch": "main", "commit": "4e2ad79dfc5122dd65515ebbdd671e8ee01d157e" },
|
"fidget.nvim": { "branch": "main", "commit": "d9ba6b7bfe29b3119a610892af67602641da778e" },
|
||||||
"fidget.nvim": { "branch": "main", "commit": "9238947645ce17d96f30842e61ba81147185b657" },
|
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
"gitsigns.nvim": { "branch": "main", "commit": "731b581428ec6c1ccb451b95190ebbc6d7006db7" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
|
"headlines.nvim": { "branch": "master", "commit": "bf17c96a836ea27c0a7a2650ba385a7783ed322e" },
|
||||||
"hover.nvim": { "branch": "main", "commit": "140c4d0ae9397b76baa46b87c574f5377de09309" },
|
"hover.nvim": { "branch": "main", "commit": "07c7269c3a88751f2f36ed0563dc6e7b8b84f7f7" },
|
||||||
"img-clip.nvim": { "branch": "main", "commit": "5ff183655ad98b5fc50c55c66540375bbd62438c" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" },
|
"kanagawa.nvim": { "branch": "master", "commit": "debe91547d7fb1eef34ce26a5106f277fbfdd109" },
|
||||||
"kanagawa.nvim": { "branch": "master", "commit": "ad3dddecd606746374ba4807324a08331dfca23c" },
|
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
|
"lightspeed.nvim": { "branch": "main", "commit": "fcc72d8a4d5f4ebba62d8a3a0660f88f1b5c3b05" },
|
||||||
"lsp-timeout.nvim": { "branch": "main", "commit": "6325906730330105a9adc41d0ceb8499b3072e2b" },
|
"lsp-timeout.nvim": { "branch": "main", "commit": "6325906730330105a9adc41d0ceb8499b3072e2b" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
"lualine.nvim": { "branch": "master", "commit": "a94fc68960665e54408fe37dcf573193c4ce82c9" },
|
||||||
"lush.nvim": { "branch": "main", "commit": "45a79ec4acb5af783a6a29673a999ce37f00497e" },
|
"lush.nvim": { "branch": "main", "commit": "45a79ec4acb5af783a6a29673a999ce37f00497e" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" },
|
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||||
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "bef29b653ba71d442816bf56286c2a686210be04" },
|
||||||
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
|
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
"mason.nvim": { "branch": "main", "commit": "8024d64e1330b86044fed4c8494ef3dcd483a67c" },
|
||||||
"mini.comment": { "branch": "main", "commit": "03c13e37318bdb18481311c0ac1adc9ed731caf1" },
|
"mini.comment": { "branch": "main", "commit": "fb867a9246f9b892cf51a8c84a3f8479cdf1558c" },
|
||||||
"mini.fuzzy": { "branch": "stable", "commit": "ea9d1380ad925c4d0e890f68dbf830d2b19bae5d" },
|
"mini.fuzzy": { "branch": "stable", "commit": "c33d6a93c4fe395ae8a9bd02fed35315a90b688a" },
|
||||||
"mini.hipatterns": { "branch": "main", "commit": "f34975103a38b3f608219a1324cdfc58ea660b8b" },
|
"mini.hipatterns": { "branch": "main", "commit": "e5083df391171dc9d8172645606f8496d9443374" },
|
||||||
"mini.icons": { "branch": "main", "commit": "44c0160526f7ae17ca8e8eab9ab235d047fcf7a6" },
|
"mini.move": { "branch": "main", "commit": "4fe4a855fee53c66b0f3255a4b54ddc2ae6b308c" },
|
||||||
"mini.move": { "branch": "main", "commit": "4caa1c212f5ca3d1633d21cfb184808090ed74b1" },
|
"mini.pairs": { "branch": "stable", "commit": "69864a2efb36c030877421634487fd90db1e4298" },
|
||||||
"mini.pairs": { "branch": "stable", "commit": "e543c760edc5e746e5b6cbd02c066c17ead3ef16" },
|
"mini.surround": { "branch": "main", "commit": "5aab42fcdcf31fa010f012771eda5631c077840a" },
|
||||||
"mini.pick": { "branch": "main", "commit": "b87f4d4e75673f6e7b918408017833424ecaa245" },
|
"mini.trailspace": { "branch": "main", "commit": "39a0460c025a605519fdd6bea1ce870642429996" },
|
||||||
"mini.surround": { "branch": "main", "commit": "0e67c4bc147f2a15cee94e7c94dcc0e115b9f55e" },
|
|
||||||
"mini.trailspace": { "branch": "main", "commit": "3a328e62559c33014e422fb9ae97afc4208208b1" },
|
|
||||||
"mkdnflow.nvim": { "branch": "main", "commit": "d459bd7ce68910272038ed037c028180161fd14d" },
|
"mkdnflow.nvim": { "branch": "main", "commit": "d459bd7ce68910272038ed037c028180161fd14d" },
|
||||||
"neoscroll.nvim": { "branch": "master", "commit": "f957373912e88579e26fdaea4735450ff2ef5c9c" },
|
"neoscroll.nvim": { "branch": "master", "commit": "f957373912e88579e26fdaea4735450ff2ef5c9c" },
|
||||||
"neovim": { "branch": "main", "commit": "91548dca53b36dbb9d36c10f114385f759731be1" },
|
"neovim": { "branch": "main", "commit": "6b9840790cc7acdfadde07f308d34b62dd9cc675" },
|
||||||
"night-owl.nvim": { "branch": "main", "commit": "86ed124c2f7e118670649701288e024444bf91e5" },
|
"night-owl.nvim": { "branch": "main", "commit": "86ed124c2f7e118670649701288e024444bf91e5" },
|
||||||
"nightfly": { "branch": "master", "commit": "f1176605eb01b38d84e0e9e221c9599bd022dfd4" },
|
"nightfly": { "branch": "master", "commit": "8c55003e89f321a48a8cd4bb426dd3e7c58f0646" },
|
||||||
"nightfox.nvim": { "branch": "main", "commit": "7557f26defd093c4e9bc17f28b08403f706f5a44" },
|
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
||||||
"numb.nvim": { "branch": "master", "commit": "3f7d4a74bd456e747a1278ea1672b26116e0824d" },
|
"numb.nvim": { "branch": "master", "commit": "7f564e638d3ba367abf1ec91181965b9882dd509" },
|
||||||
"nvim": { "branch": "main", "commit": "faf15ab0201b564b6368ffa47b56feefc92ce3f4" },
|
"nvim": { "branch": "main", "commit": "fa42eb5e26819ef58884257d5ae95dd0552b9a66" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "98e8b9d593a5547c126a39212d6f5e954a2d85dd" },
|
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "7e48a80551e0b8fd7e34436d74243de7ae1ec397" },
|
"nvim-dap": { "branch": "master", "commit": "40a8189b8a57664a1850b0823fdcb3ac95b9f635" },
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" },
|
"nvim-dap-python": { "branch": "master", "commit": "261ce649d05bc455a29f9636dc03f8cdaa7e0e2c" },
|
||||||
"nvim-http": { "branch": "main", "commit": "9a0e97b639d34af17d06b3421fe633b416dd64ee" },
|
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "040001d85e9190a904d0e35ef5774633e14d8475" },
|
"nvim-http": { "branch": "main", "commit": "c4736dcd83d810683349c2b3abdee57daf592d32" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" },
|
"nvim-lspconfig": { "branch": "master", "commit": "583a1d555c8e407868ce00c57e37eca4b7ff960e" },
|
||||||
"nvim-prose": { "branch": "main", "commit": "38aac8c9c94a5725d152bdfea374d60e07fb93d6" },
|
"nvim-prose": { "branch": "main", "commit": "38aac8c9c94a5725d152bdfea374d60e07fb93d6" },
|
||||||
<<<<<<< HEAD
|
"nvim-tree.lua": { "branch": "master", "commit": "be5b788f2dc1522c73fb7afad9092331c8aebe80" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "cfbc1c0e0ff63e5b5e37b465b915b95fc2e98cef" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"nvim-ufo": { "branch": "main", "commit": "32cb247b893a384f1888b9cd737264159ecf183c" },
|
"nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "5740b7382429d20b6ed0bbdb0694185af9507d44" },
|
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||||
"oil.nvim": { "branch": "master", "commit": "ba858b662599eab8ef1cba9ab745afded99cb180" },
|
|
||||||
=======
|
|
||||||
>>>>>>> parent of 2cafc91 (Breaking changes for blink.cmp, so that needed to be updated. Updated keymaps location based on that plugin as well.)
|
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "375e38673b5c61debd8074ced01cfd4f3b7ce1e9" },
|
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "fa915a30c5cdf1d18129e9ef6ac2ee0fa799904f" },
|
|
||||||
"nvim-ufo": { "branch": "main", "commit": "270ca542dae992ffe40274718c63645217ebc8bf" },
|
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "0eb18da56e2ba6ba24de7130a12bcc4e31ad11cb" },
|
|
||||||
"oil.nvim": { "branch": "master", "commit": "dba037598843973b8c54bc5ce0318db4a0da439d" },
|
|
||||||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
|
|
||||||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
||||||
"pulse.nvim": { "branch": "main", "commit": "4026460b12da9abcfe34322db0bdc80e4b0dce3d" },
|
"pulse.nvim": { "branch": "main", "commit": "4026460b12da9abcfe34322db0bdc80e4b0dce3d" },
|
||||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "77e5bad54227dcfe3878ffbda88ab1efdaacb475" },
|
"rainbow-delimiters.nvim": { "branch": "master", "commit": "55ad4fb76ab68460f700599b7449385f0c4e858e" },
|
||||||
"rainbow_csv.nvim": { "branch": "main", "commit": "7f3fddfe813641035fac2cdf94c2ff69bb0bf0b9" },
|
"rainbow_csv.nvim": { "branch": "main", "commit": "26de78d8324f7ac6a3e478319d1eb1f17123eb5b" },
|
||||||
"render-markdown.nvim": { "branch": "main", "commit": "0022a579ac7355966be5ade77699b88c76b6a549" },
|
"solarized-osaka.nvim": { "branch": "main", "commit": "f796014c14b1910e08d42cc2077fef34f08e0295" },
|
||||||
"solarized-osaka.nvim": { "branch": "main", "commit": "eebeb55b2bca73db287b5a6bf9b8c4b7d0317515" },
|
"sonokai": { "branch": "master", "commit": "f59c796780655c3b9da442d310ad2f2d735f2e56" },
|
||||||
"sonokai": { "branch": "master", "commit": "fd42b20963c34dfc1744ac31f6a6efe78f4edad2" },
|
"symbols-outline.nvim": { "branch": "master", "commit": "564ee65dfc9024bdde73a6621820866987cbb256" },
|
||||||
"spacecamp": { "branch": "master", "commit": "8945b4a2bfaaa16fbcee9f1d7c00cb9c1256b591" },
|
"telescope-cmdline.nvim": { "branch": "main", "commit": "7106ff7357d9d3cde3e71cd8fe8998d2f96a1bdd" },
|
||||||
"telescope-cmdline.nvim": { "branch": "main", "commit": "8b05928ac1b9f2b772cedde891faa6669b0ec59a" },
|
|
||||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
||||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
|
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
|
||||||
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "649b662a8f476fd2c0289570764459e95ebaa3f3" },
|
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "b80ec2c70ec4f32571478b501218c8979fab5201" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
|
"telescope.nvim": { "branch": "master", "commit": "d90956833d7c27e73c621a61f20b29fdb7122709" },
|
||||||
"thethethe.nvim": { "branch": "main", "commit": "357580127cd291c8a813564eeaff07c09303084e" },
|
"thethethe.nvim": { "branch": "main", "commit": "357580127cd291c8a813564eeaff07c09303084e" },
|
||||||
"tmux.nvim": { "branch": "main", "commit": "307bad95a1274f7288aaee09694c25c8cbcd6f1a" },
|
"tmux.nvim": { "branch": "main", "commit": "2c1c3be0ef287073cef963f2aefa31a15c8b9cd8" },
|
||||||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
|
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "022ff5594acccc8d90d2e46dc43994f7722ebdf7" },
|
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
||||||
"tokyonight.nvim": { "branch": "main", "commit": "45d22cf0e1b93476d3b6d362d720412b3d34465c" },
|
"tokyonight.nvim": { "branch": "main", "commit": "057ef5d260c1931f1dffd0f052c685dcd14100a3" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
|
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
|
||||||
"venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
|
"venn.nvim": { "branch": "main", "commit": "b09c2f36ddf70b498281845109bedcf08a7e0de0" },
|
||||||
"vim-arduino": { "branch": "master", "commit": "2ded67cdf09bb07c4805d9e93d478095ed3d8606" },
|
"vim-arduino": { "branch": "master", "commit": "2ded67cdf09bb07c4805d9e93d478095ed3d8606" },
|
||||||
"vim-arsync": { "branch": "master", "commit": "dd5fd93182aafb67ede2ef465f379610980b52d3" },
|
"vim-arsync": { "branch": "master", "commit": "dd5fd93182aafb67ede2ef465f379610980b52d3" },
|
||||||
"vim-dadbod": { "branch": "master", "commit": "f740950d0703099e0f172016f10e0e39f50fd0ba" },
|
"vim-wakatime": { "branch": "master", "commit": "f39c4a201ae350aaba713b59d4a4fdd88e0811aa" },
|
||||||
"vim-dadbod-completion": { "branch": "master", "commit": "9e354e86fcc67a5ec2c104f312e374ea2f89c799" },
|
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" },
|
||||||
"vim-dadbod-ui": { "branch": "master", "commit": "0fec59e3e1e619e302198cd491b7d27f8d398b7c" },
|
"wtf.nvim": { "branch": "main", "commit": "22dac666c8847c9cb03afe99229d459f1d0822c4" }
|
||||||
"vim-wakatime": { "branch": "master", "commit": "cf51327a9e08935569614d1cb24e779ee9f45519" },
|
|
||||||
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" },
|
|
||||||
"wtf.nvim": { "branch": "main", "commit": "16eec1f32c3608bd8519e9e520041fe34201abb0" }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -27,6 +27,10 @@ map('n', '<leader>q', '<Plug>vem_move_buffer_left', default_opts)
|
|||||||
-- Nvim-Tree
|
-- Nvim-Tree
|
||||||
map('n', '<leader>v', ':NvimTreeToggle<CR>', default_opts)
|
map('n', '<leader>v', ':NvimTreeToggle<CR>', default_opts)
|
||||||
|
|
||||||
|
-- Nvim Sidebar
|
||||||
|
map('n', '<leader>n', ':SidebarNvimToggle<CR>', default_opts)
|
||||||
|
map('n', '<leader>q', ':SidebarNvimUpdate<CR>', default_opts)
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
map('n', '<leader>ff', ':Telescope find_files<CR>', default_opts)
|
map('n', '<leader>ff', ':Telescope find_files<CR>', default_opts)
|
||||||
map('n', '<leader>fh', ':Telescope live_grep<CR>', default_opts)
|
map('n', '<leader>fh', ':Telescope live_grep<CR>', default_opts)
|
||||||
@ -41,7 +45,6 @@ map('n', '<leader>cb', ':Telescope current_buffer_fuzzy_find<CR>', default_opts)
|
|||||||
map('n', '<leader>b', ':! black %<CR>', default_opts)
|
map('n', '<leader>b', ':! black %<CR>', default_opts)
|
||||||
map('n', '<leader>m', ':! markdownlint -f %<CR>', default_opts)
|
map('n', '<leader>m', ':! markdownlint -f %<CR>', default_opts)
|
||||||
map('n', '<leader>pj', ':!python -m json.tool<CR>', default_opts)
|
map('n', '<leader>pj', ':!python -m json.tool<CR>', default_opts)
|
||||||
map('n', '<leader>cs', ':%s/\\s*\\([^|]\\{-}\\)\\s*|/"\1",/g', default_opts)
|
|
||||||
|
|
||||||
-- Fold all comments
|
-- Fold all comments
|
||||||
map('n', '<leader>fc', ':set foldmethod=expr foldexpr=getline(v:lnum)=~"^\\s*".&commentstring[0]<CR>', default_opts)
|
map('n', '<leader>fc', ':set foldmethod=expr foldexpr=getline(v:lnum)=~"^\\s*".&commentstring[0]<CR>', default_opts)
|
||||||
|
|||||||
@ -1,46 +0,0 @@
|
|||||||
return {
|
|
||||||
"yetone/avante.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
lazy = false,
|
|
||||||
version = false, -- set this if you want to always pull the latest change
|
|
||||||
opts = {
|
|
||||||
-- add any opts here
|
|
||||||
},
|
|
||||||
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
|
|
||||||
build = "make",
|
|
||||||
-- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
|
|
||||||
dependencies = {
|
|
||||||
"stevearc/dressing.nvim",
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
"MunifTanjim/nui.nvim",
|
|
||||||
--- The below dependencies are optional,
|
|
||||||
"hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
|
|
||||||
"nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
|
|
||||||
"zbirenbaum/copilot.lua", -- for providers='copilot'
|
|
||||||
{
|
|
||||||
-- support for image pasting
|
|
||||||
"HakonHarnes/img-clip.nvim",
|
|
||||||
event = "VeryLazy",
|
|
||||||
opts = {
|
|
||||||
-- recommended settings
|
|
||||||
default = {
|
|
||||||
embed_image_as_base64 = false,
|
|
||||||
prompt_for_file_name = false,
|
|
||||||
drag_and_drop = {
|
|
||||||
insert_mode = true,
|
|
||||||
},
|
|
||||||
-- required for Windows users
|
|
||||||
use_absolute_path = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
-- Make sure to set this up properly if you have lazy=true
|
|
||||||
'MeanderingProgrammer/render-markdown.nvim',
|
|
||||||
opts = {
|
|
||||||
file_types = { "markdown", "Avante" },
|
|
||||||
},
|
|
||||||
ft = { "markdown", "Avante" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -1,49 +0,0 @@
|
|||||||
return {
|
|
||||||
'saghen/blink.cmp',
|
|
||||||
lazy = false, -- lazy loading handled internally
|
|
||||||
-- optional: provides snippets for the snippet source
|
|
||||||
dependencies = {
|
|
||||||
'rafamadriz/friendly-snippets',
|
|
||||||
'L3MON4D3/LuaSnip',
|
|
||||||
},
|
|
||||||
version = 'v0.*',
|
|
||||||
opts = {
|
|
||||||
keymap = {
|
|
||||||
preset = "enter",
|
|
||||||
|
|
||||||
["<Tab>"] = {
|
|
||||||
"select_next",
|
|
||||||
"snippet_forward",
|
|
||||||
"fallback",
|
|
||||||
},
|
|
||||||
|
|
||||||
["<S-Tab>"] = {
|
|
||||||
"select_prev",
|
|
||||||
"snippet_backward",
|
|
||||||
"fallback",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
highlight = {
|
|
||||||
use_nvim_cmp_as_default = true,
|
|
||||||
nerd_font_variant = 'normal',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
trigger = {
|
|
||||||
completion = {
|
|
||||||
keyword_regex = '[%w_\\-]',
|
|
||||||
blocked_trigger_characters = { ' ', '\n', '\t' },
|
|
||||||
show_on_insert_on_trigger_character = true,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
sources = {
|
|
||||||
providers = {
|
|
||||||
{
|
|
||||||
{ 'blink.cmp.sources.lsp' },
|
|
||||||
{ 'blink.cmp.sources.path' },
|
|
||||||
{ 'blink.cmp.sources.snippets', score_offset = -1 },
|
|
||||||
},
|
|
||||||
{ { 'blink.cmp.sources.buffer' } },
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -2,49 +2,47 @@ return -- Signs for Git Status Information
|
|||||||
{
|
{
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
require('gitsigns').setup ()
|
require('gitsigns').setup {
|
||||||
|
signs = {
|
||||||
|
add = {hl = 'GitSignsAdd' , text = '│', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'},
|
||||||
|
change = {hl = 'GitSignsChange', text = '│', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
|
||||||
|
delete = {hl = 'GitSignsDelete', text = '_', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
|
||||||
|
topdelete = {hl = 'GitSignsDelete', text = '‾', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
|
||||||
|
changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
|
||||||
|
},
|
||||||
|
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
|
||||||
|
numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
|
||||||
|
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
|
||||||
|
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
|
||||||
|
watch_gitdir = {
|
||||||
|
interval = 1000,
|
||||||
|
follow_files = true
|
||||||
|
},
|
||||||
|
attach_to_untracked = true,
|
||||||
|
current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
|
||||||
|
current_line_blame_opts = {
|
||||||
|
virt_text = true,
|
||||||
|
virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
||||||
|
delay = 1000,
|
||||||
|
ignore_whitespace = false,
|
||||||
|
},
|
||||||
|
current_line_blame_formatter = '<author>, <author_time:%Y-%m-%d> - <summary>',
|
||||||
|
sign_priority = 1,
|
||||||
|
update_debounce = 100,
|
||||||
|
status_formatter = nil, -- Use default
|
||||||
|
max_file_length = 40000,
|
||||||
|
preview_config = {
|
||||||
|
-- Options passed to nvim_open_win
|
||||||
|
border = 'double',
|
||||||
|
style = 'normal',
|
||||||
|
relative = 'cursor',
|
||||||
|
row = 0,
|
||||||
|
col = 2
|
||||||
|
},
|
||||||
|
yadm = {
|
||||||
|
enable = false
|
||||||
|
},
|
||||||
|
}
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
-- signs = {
|
|
||||||
-- add = {hl = 'GitSignsAdd' , text = '│', numhl='GitSignsAddNr' , linehl='GitSignsAddLn'},
|
|
||||||
-- change = {hl = 'GitSignsChange', text = '│', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
|
|
||||||
-- delete = {hl = 'GitSignsDelete', text = '_', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
|
|
||||||
-- topdelete = {hl = 'GitSignsDelete', text = '‾', numhl='GitSignsDeleteNr', linehl='GitSignsDeleteLn'},
|
|
||||||
-- changedelete = {hl = 'GitSignsChange', text = '~', numhl='GitSignsChangeNr', linehl='GitSignsChangeLn'},
|
|
||||||
-- },
|
|
||||||
-- signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
|
|
||||||
-- numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
|
|
||||||
-- linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
|
|
||||||
-- word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
|
|
||||||
-- watch_gitdir = {
|
|
||||||
-- interval = 1000,
|
|
||||||
-- follow_files = true
|
|
||||||
-- },
|
|
||||||
-- attach_to_untracked = true,
|
|
||||||
-- current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
|
|
||||||
-- current_line_blame_opts = {
|
|
||||||
-- virt_text = true,
|
|
||||||
-- virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
|
|
||||||
-- delay = 1000,
|
|
||||||
-- ignore_whitespace = false,
|
|
||||||
-- },
|
|
||||||
-- current_line_blame_formatter = '<author>, <author_time:%Y-%m-%d> - <summary>',
|
|
||||||
-- sign_priority = 1,
|
|
||||||
-- update_debounce = 100,
|
|
||||||
-- status_formatter = nil, -- Use default
|
|
||||||
-- max_file_length = 40000,
|
|
||||||
-- preview_config = {
|
|
||||||
-- -- Options passed to nvim_open_win
|
|
||||||
-- border = 'double',
|
|
||||||
-- style = 'normal',
|
|
||||||
-- relative = 'cursor',
|
|
||||||
-- row = 0,
|
|
||||||
-- col = 2
|
|
||||||
-- },
|
|
||||||
-- -- yadm = {
|
|
||||||
-- -- enable = false
|
|
||||||
-- -- },
|
|
||||||
-- }
|
|
||||||
-- end
|
|
||||||
-- }
|
|
||||||
|
|
||||||
|
|||||||
51
nvim/.config/nvim/lua/plugins/headlines.lua
Normal file
51
nvim/.config/nvim/lua/plugins/headlines.lua
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
return {
|
||||||
|
'lukas-reineke/headlines.nvim',
|
||||||
|
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||||
|
config = function()
|
||||||
|
require("headlines").setup {
|
||||||
|
markdown = {
|
||||||
|
query = vim.treesitter.query.parse(
|
||||||
|
"markdown",
|
||||||
|
[[
|
||||||
|
(atx_heading [
|
||||||
|
(atx_h1_marker)
|
||||||
|
(atx_h2_marker)
|
||||||
|
(atx_h3_marker)
|
||||||
|
(atx_h4_marker)
|
||||||
|
(atx_h5_marker)
|
||||||
|
(atx_h6_marker)
|
||||||
|
] @headline)
|
||||||
|
|
||||||
|
(thematic_break) @dash
|
||||||
|
|
||||||
|
(fenced_code_block) @codeblock
|
||||||
|
|
||||||
|
(block_quote_marker) @quote
|
||||||
|
(block_quote (paragraph (inline (block_continuation) @quote)))
|
||||||
|
]]
|
||||||
|
),
|
||||||
|
headline_highlights = {
|
||||||
|
'Headline1',
|
||||||
|
'Headline2',
|
||||||
|
'Headline3',
|
||||||
|
'Headline4',
|
||||||
|
'Headline5',
|
||||||
|
'Headline6',
|
||||||
|
},
|
||||||
|
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
|
||||||
|
}
|
||||||
@ -1,51 +0,0 @@
|
|||||||
-- return {
|
|
||||||
-- 'lukas-reineke/headlines.nvim',
|
|
||||||
-- dependencies = "nvim-treesitter/nvim-treesitter",
|
|
||||||
-- config = function()
|
|
||||||
-- require("headlines").setup {
|
|
||||||
-- markdown = {
|
|
||||||
-- query = vim.treesitter.query.parse(
|
|
||||||
-- "markdown",
|
|
||||||
-- [[
|
|
||||||
-- (atx_heading [
|
|
||||||
-- (atx_h1_marker)
|
|
||||||
-- (atx_h2_marker)
|
|
||||||
-- (atx_h3_marker)
|
|
||||||
-- (atx_h4_marker)
|
|
||||||
-- (atx_h5_marker)
|
|
||||||
-- (atx_h6_marker)
|
|
||||||
-- ] @headline)
|
|
||||||
--
|
|
||||||
-- (thematic_break) @dash
|
|
||||||
--
|
|
||||||
-- (fenced_code_block) @codeblock
|
|
||||||
--
|
|
||||||
-- (block_quote_marker) @quote
|
|
||||||
-- (block_quote (paragraph (inline (block_continuation) @quote)))
|
|
||||||
-- ]]
|
|
||||||
-- ),
|
|
||||||
-- headline_highlights = {
|
|
||||||
-- 'Headline1',
|
|
||||||
-- 'Headline2',
|
|
||||||
-- 'Headline3',
|
|
||||||
-- 'Headline4',
|
|
||||||
-- 'Headline5',
|
|
||||||
-- 'Headline6',
|
|
||||||
-- },
|
|
||||||
-- 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
|
|
||||||
-- }
|
|
||||||
@ -47,30 +47,23 @@ return {
|
|||||||
|
|
||||||
-- {"ellisonleao/glow.nvim", config = function() require("glow").setup() end },
|
-- {"ellisonleao/glow.nvim", config = function() require("glow").setup() end },
|
||||||
|
|
||||||
-- 'saadparwaiz1/cmp_luasnip',
|
'saadparwaiz1/cmp_luasnip',
|
||||||
-- 'hrsh7th/cmp-nvim-lsp-signature-help',
|
'hrsh7th/cmp-nvim-lsp-signature-help',
|
||||||
-- 'lukas-reineke/cmp-under-comparator',
|
'lukas-reineke/cmp-under-comparator',
|
||||||
|
|
||||||
-- {
|
{
|
||||||
-- 'asiryk/auto-hlsearch.nvim',
|
'asiryk/auto-hlsearch.nvim',
|
||||||
-- version = "1.1.0",
|
version = "1.1.0",
|
||||||
-- config = function() require("auto-hlsearch").setup{} end,
|
config = function() require("auto-hlsearch").setup{} end,
|
||||||
-- },
|
},
|
||||||
|
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
-- General Functionality
|
-- General Functionality
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
{
|
|
||||||
'stevearc/oil.nvim',
|
|
||||||
opts = {},
|
|
||||||
dependencies = { { "echasnovski/mini.icons", opts = {} } },
|
|
||||||
-- dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if prefer nvim-web-devicons
|
|
||||||
},
|
|
||||||
{ 'kenn7/vim-arsync',
|
{ 'kenn7/vim-arsync',
|
||||||
dependencies={'prabirshrestha/async.vim'},
|
dependencies={'prabirshrestha/async.vim'},
|
||||||
},
|
},
|
||||||
{'kevinhwang91/nvim-ufo', requires = 'kevinhwang91/promise-async'},
|
|
||||||
|
|
||||||
{ 'MaximilianLloyd/adjacent.nvim' },
|
{ 'MaximilianLloyd/adjacent.nvim' },
|
||||||
'BlackLight/nvim-http',
|
'BlackLight/nvim-http',
|
||||||
@ -104,32 +97,32 @@ return {
|
|||||||
},
|
},
|
||||||
|
|
||||||
-- Nvim Tree File Manager on the Left
|
-- Nvim Tree File Manager on the Left
|
||||||
-- {
|
{
|
||||||
-- "nvim-tree/nvim-tree.lua",
|
"nvim-tree/nvim-tree.lua",
|
||||||
-- version = "*",
|
version = "*",
|
||||||
-- lazy = false,
|
lazy = false,
|
||||||
-- dependencies = {
|
dependencies = {
|
||||||
-- "nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
-- },
|
},
|
||||||
-- config = function()
|
config = function()
|
||||||
-- require("nvim-tree").setup({
|
require("nvim-tree").setup({
|
||||||
-- sort_by = "case_sensitive",
|
sort_by = "case_sensitive",
|
||||||
-- view = {
|
view = {
|
||||||
-- width = 30,
|
width = 30,
|
||||||
-- },
|
},
|
||||||
-- renderer = {
|
renderer = {
|
||||||
-- group_empty = true,
|
group_empty = true,
|
||||||
-- },
|
},
|
||||||
-- filters = {
|
filters = {
|
||||||
-- dotfiles = true,
|
dotfiles = true,
|
||||||
-- },
|
},
|
||||||
-- diagnostics = {
|
diagnostics = {
|
||||||
-- enable = true,
|
enable = true,
|
||||||
-- },
|
},
|
||||||
-- })
|
})
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
--
|
|
||||||
-- Tmux Navigation
|
-- Tmux Navigation
|
||||||
{
|
{
|
||||||
"aserowy/tmux.nvim",
|
"aserowy/tmux.nvim",
|
||||||
@ -173,18 +166,19 @@ return {
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
-- "hrsh7th/nvim-cmp", -- optional, for completion
|
"hrsh7th/nvim-cmp", -- optional, for completion
|
||||||
|
"ggandor/lightspeed.nvim",
|
||||||
|
|
||||||
-- Top Right Notify Pop Up
|
-- Top Right Notify Pop Up
|
||||||
{
|
-- {
|
||||||
"rcarriga/nvim-notify",
|
-- "rcarriga/nvim-notify",
|
||||||
config = function ()
|
-- config = function ()
|
||||||
require("notify").setup {
|
-- require("notify").setup {
|
||||||
}
|
-- }
|
||||||
-- vim.api.nvim_notify = require('notify')
|
-- -- vim.api.nvim_notify = require('notify')
|
||||||
vim.notify = require('notify')
|
-- vim.notify = require('notify')
|
||||||
end
|
-- end
|
||||||
},
|
-- },
|
||||||
|
|
||||||
{'akinsho/toggleterm.nvim', version = "*", opts = {
|
{'akinsho/toggleterm.nvim', version = "*", opts = {
|
||||||
direction = 'float',
|
direction = 'float',
|
||||||
@ -194,12 +188,6 @@ return {
|
|||||||
-- echasnovski's Minis get a section of their own...
|
-- echasnovski's Minis get a section of their own...
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
{ 'echasnovski/mini.pick', version = '*',
|
|
||||||
config = function()
|
|
||||||
require('mini.pick').setup()
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'echasnovski/mini.comment', version = '*',
|
'echasnovski/mini.comment', version = '*',
|
||||||
config = function()
|
config = function()
|
||||||
@ -275,23 +263,23 @@ return {
|
|||||||
-- Markdown Plugins
|
-- Markdown Plugins
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
-- {
|
{
|
||||||
-- "iamcco/markdown-preview.nvim",
|
"iamcco/markdown-preview.nvim",
|
||||||
-- build = "cd app && npm install",
|
build = "cd app && npm install",
|
||||||
-- ft = "markdown",
|
ft = "markdown",
|
||||||
-- lazy = true,
|
lazy = true,
|
||||||
-- keys = { { "gm", "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown Preview" } },
|
keys = { { "gm", "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown Preview" } },
|
||||||
-- init = function()
|
init = function()
|
||||||
-- vim.g.mkdp_filetypes = { "markdown" }
|
vim.g.mkdp_filetypes = { "markdown" }
|
||||||
-- vim.g.mkdp_auto_close = true
|
vim.g.mkdp_auto_close = true
|
||||||
-- vim.g.mkdp_open_to_the_world = false
|
vim.g.mkdp_open_to_the_world = false
|
||||||
-- vim.g.mkdp_open_ip = "127.0.0.1"
|
vim.g.mkdp_open_ip = "127.0.0.1"
|
||||||
-- vim.g.mkdp_port = "8888"
|
vim.g.mkdp_port = "8888"
|
||||||
-- vim.g.mkdp_browser = ""
|
vim.g.mkdp_browser = ""
|
||||||
-- vim.g.mkdp_echo_preview_url = true
|
vim.g.mkdp_echo_preview_url = true
|
||||||
-- vim.g.mkdp_page_title = "${name}"
|
vim.g.mkdp_page_title = "${name}"
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
{ "jbyuki/venn.nvim" },
|
{ "jbyuki/venn.nvim" },
|
||||||
--[[
|
--[[
|
||||||
{ 'toppair/peek.nvim',
|
{ 'toppair/peek.nvim',
|
||||||
@ -304,14 +292,14 @@ return {
|
|||||||
-- DAP (Debug adaptor Protocol)
|
-- DAP (Debug adaptor Protocol)
|
||||||
'mfussenegger/nvim-dap',
|
'mfussenegger/nvim-dap',
|
||||||
|
|
||||||
-- {
|
{
|
||||||
-- 'mfussenegger/nvim-dap-python',
|
'mfussenegger/nvim-dap-python',
|
||||||
-- config = function()
|
config = function()
|
||||||
-- require('dap-python').setup(
|
require('dap-python').setup(
|
||||||
-- '~/.virtualenvs/debugpy/bin/python'
|
'~/.virtualenvs/debugpy/bin/python'
|
||||||
-- )
|
)
|
||||||
-- end
|
end
|
||||||
-- },
|
},
|
||||||
{
|
{
|
||||||
'rcarriga/nvim-dap-ui', dependencies = {"mfussenegger/nvim-dap"}
|
'rcarriga/nvim-dap-ui', dependencies = {"mfussenegger/nvim-dap"}
|
||||||
},
|
},
|
||||||
@ -320,12 +308,12 @@ return {
|
|||||||
-- Text, Icons, Symbols
|
-- Text, Icons, Symbols
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
|
|
||||||
-- {
|
{
|
||||||
-- 'simrat39/symbols-outline.nvim',
|
'simrat39/symbols-outline.nvim',
|
||||||
-- config = function()
|
config = function()
|
||||||
-- require('symbols-outline').setup()
|
require('symbols-outline').setup()
|
||||||
-- end
|
end
|
||||||
-- },
|
},
|
||||||
{
|
{
|
||||||
"j-hui/fidget.nvim",
|
"j-hui/fidget.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
@ -387,7 +375,6 @@ return {
|
|||||||
-----------------------------------------------------------
|
-----------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
{'jaredgorski/spacecamp'},
|
|
||||||
{
|
{
|
||||||
"eldritch-theme/eldritch.nvim",
|
"eldritch-theme/eldritch.nvim",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
|
|||||||
@ -1,37 +0,0 @@
|
|||||||
-- return {
|
|
||||||
-- 'echasnovski/mini.deps', version='*',
|
|
||||||
-- config = function()
|
|
||||||
-- require('mini.deps').setup({
|
|
||||||
-- path = { package = path_package }
|
|
||||||
-- })
|
|
||||||
-- end
|
|
||||||
--
|
|
||||||
-- local add, later, now = MiniDeps.add, MiniDeps.later, MiniDeps.now
|
|
||||||
--
|
|
||||||
--
|
|
||||||
-- add({
|
|
||||||
-- source = 'yetone/avante.nvim',
|
|
||||||
-- monitor = 'main',
|
|
||||||
-- depends = {
|
|
||||||
-- 'stevearc/dressing.nvim',
|
|
||||||
-- 'nvim-lua/plenary.nvim',
|
|
||||||
-- 'MunifTanjim/nui.nvim',
|
|
||||||
-- 'echasnovski/mini.icons'
|
|
||||||
-- },
|
|
||||||
-- hooks = { post_checkout = function() vim.cmd('make') end }
|
|
||||||
-- })
|
|
||||||
-- --- optional
|
|
||||||
-- add({ source = 'hrsh7th/nvim-cmp' })
|
|
||||||
-- add({ source = 'zbirenbaum/copilot.lua' })
|
|
||||||
-- add({ source = 'HakonHarnes/img-clip.nvim' })
|
|
||||||
-- add({ source = 'MeanderingProgrammer/render-markdown.nvim' })
|
|
||||||
--
|
|
||||||
-- now(function() require('avante_lib').load() end)
|
|
||||||
-- later(function() require('render-markdown').setup({...}) end)
|
|
||||||
-- later(function()
|
|
||||||
-- require('img-clip').setup({...}) -- config img-clip
|
|
||||||
-- require("copilot").setup({...}) -- setup copilot to your liking
|
|
||||||
-- require("avante").setup({...}) -- config for avante.nvim
|
|
||||||
-- end)
|
|
||||||
--
|
|
||||||
-- }
|
|
||||||
@ -4,29 +4,19 @@ return {
|
|||||||
-- Setup language servers.
|
-- Setup language servers.
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
local configs = require('lspconfig.configs')
|
local configs = require('lspconfig.configs')
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
lspconfig.pylsp.setup{
|
||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
-- Server-specific settings. See `:help lspconfig-setup`
|
||||||
lspconfig.emmet_ls.setup{
|
|
||||||
on_attach = on_attach,
|
|
||||||
capabilities = capabilities,
|
|
||||||
filetypes = { "css", "eruby", "html", "javascript", "javascriptreact", "less", "sass", "scss", "svelte", "pug", "typescriptreact", "vue", "liquid" },
|
|
||||||
init_options = {
|
|
||||||
html = {
|
|
||||||
options = {
|
|
||||||
["bem.enabled"] = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
lspconfig.ruff.setup{
|
|
||||||
on_attach = on_attach,
|
|
||||||
init_options = {
|
|
||||||
settings = {
|
settings = {
|
||||||
args = {},
|
settings = {
|
||||||
|
pylsp = {
|
||||||
|
configurationSources = {"pylint"},
|
||||||
|
plugins = {
|
||||||
|
pylint = { enabled = true },
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Global mappings.
|
-- Global mappings.
|
||||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||||
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
||||||
@ -64,5 +54,39 @@ return {
|
|||||||
end, opts)
|
end, opts)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
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
|
||||||
|
}
|
||||||
|
|||||||
@ -1,107 +0,0 @@
|
|||||||
-- return {
|
|
||||||
-- 'neovim/nvim-lspconfig',
|
|
||||||
-- config = function()
|
|
||||||
-- -- Setup language servers.
|
|
||||||
-- local lspconfig = require('lspconfig')
|
|
||||||
-- local configs = require('lspconfig/configs')
|
|
||||||
-- local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
||||||
-- capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|
||||||
--
|
|
||||||
-- lspconfig.emmet_ls.setup{
|
|
||||||
-- -- on_attach = on_attach,
|
|
||||||
-- capabilities = capabilities,
|
|
||||||
-- filetypes = { "css", "eruby", "html", "javascript", "javascriptreact", "less", "sass", "scss", "svelte", "pug", "typescriptreact", "vue","liquid" },
|
|
||||||
-- init_options = {
|
|
||||||
-- html = {
|
|
||||||
-- options = {
|
|
||||||
-- ["bem.enabled"] = true,
|
|
||||||
-- },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
-- }
|
|
||||||
-- -- lspconfig.pylsp.setup{
|
|
||||||
-- -- -- Server-specific settings. See `:help lspconfig-setup`
|
|
||||||
-- -- settings = {
|
|
||||||
-- -- settings = {
|
|
||||||
-- -- pylsp = {
|
|
||||||
-- -- configurationSources = {"pylint"},
|
|
||||||
-- -- plugins = {
|
|
||||||
-- -- pylint = { enabled = true },
|
|
||||||
-- -- }
|
|
||||||
-- -- }
|
|
||||||
-- -- }
|
|
||||||
-- -- }
|
|
||||||
-- -- }
|
|
||||||
-- -- Global mappings.
|
|
||||||
-- -- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
|
||||||
-- vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
|
||||||
-- vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
|
|
||||||
-- vim.keymap.set('n', ']d', vim.diagnostic.goto_next)
|
|
||||||
-- vim.keymap.set('n', '<space>q', vim.diagnostic.setloclist)
|
|
||||||
--
|
|
||||||
-- -- Use LspAttach autocommand to only map the following keys
|
|
||||||
-- -- after the language server attaches to the current buffer
|
|
||||||
-- vim.api.nvim_create_autocmd('LspAttach', {
|
|
||||||
-- group = vim.api.nvim_create_augroup('UserLspConfig', {}),
|
|
||||||
-- callback = function(ev)
|
|
||||||
-- -- Enable completion triggered by <c-x><c-o>
|
|
||||||
-- vim.bo[ev.buf].omnifunc = 'v:lua.vim.lsp.omnifunc'
|
|
||||||
--
|
|
||||||
-- -- Buffer local mappings.
|
|
||||||
-- -- See `:help vim.lsp.*` for documentation on any of the below functions
|
|
||||||
-- local opts = { buffer = ev.buf }
|
|
||||||
-- vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, opts)
|
|
||||||
-- vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts)
|
|
||||||
-- vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)
|
|
||||||
-- vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, opts)
|
|
||||||
-- vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
|
|
||||||
-- vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder, opts)
|
|
||||||
-- vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder, opts)
|
|
||||||
-- vim.keymap.set('n', '<space>wl', function()
|
|
||||||
-- print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
|
|
||||||
-- end, opts)
|
|
||||||
-- vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts)
|
|
||||||
-- vim.keymap.set('n', '<space>rn', vim.lsp.buf.rename, opts)
|
|
||||||
-- vim.keymap.set({ 'n', 'v' }, '<space>ca', vim.lsp.buf.code_action, opts)
|
|
||||||
-- vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
|
|
||||||
-- vim.keymap.set('n', '<space>f', function()
|
|
||||||
-- vim.lsp.buf.format { async = true }
|
|
||||||
-- 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
|
|
||||||
--}
|
|
||||||
@ -1,17 +0,0 @@
|
|||||||
return {
|
|
||||||
'kristijanhusak/vim-dadbod-ui',
|
|
||||||
dependencies = {
|
|
||||||
{ 'tpope/vim-dadbod', lazy = true },
|
|
||||||
{ 'kristijanhusak/vim-dadbod-completion', ft = { 'sql', 'mysql', 'plsql' }, lazy = true }, -- Optional
|
|
||||||
},
|
|
||||||
cmd = {
|
|
||||||
'DBUI',
|
|
||||||
'DBUIToggle',
|
|
||||||
'DBUIAddConnection',
|
|
||||||
'DBUIFindBuffer',
|
|
||||||
},
|
|
||||||
init = function()
|
|
||||||
-- Your DBUI configuration
|
|
||||||
vim.g.db_ui_use_nerd_fonts = 1
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
@ -344,6 +344,3 @@ submodules
|
|||||||
Artera
|
Artera
|
||||||
Qualtrics
|
Qualtrics
|
||||||
Discoverability
|
Discoverability
|
||||||
programatically
|
|
||||||
#ASEURL/!
|
|
||||||
BASEURL/!
|
|
||||||
|
|||||||
Binary file not shown.
1
nvim/init.lua
Symbolic link
1
nvim/init.lua
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
.config/nvim/init.lua
|
||||||
1
nvim/lazy-lock.json
Symbolic link
1
nvim/lazy-lock.json
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
.config/nvim/lazy-lock.json
|
||||||
1
nvim/spell
Symbolic link
1
nvim/spell
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
.config/nvim/spell
|
||||||
228
tmux-powerline/config.sh.default
Normal file
228
tmux-powerline/config.sh.default
Normal file
@ -0,0 +1,228 @@
|
|||||||
|
# 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,5 +0,0 @@
|
|||||||
local wezterm = require 'wezterm'
|
|
||||||
local config = wezterm.config_builder()
|
|
||||||
config.window_background_opacity = 0.9
|
|
||||||
config.color_scheme = 'Rapture'
|
|
||||||
return config
|
|
||||||
79
zsh/.zshrc
79
zsh/.zshrc
@ -13,17 +13,17 @@ export LANG=en_US.UTF-8
|
|||||||
export DOT="~/.dotfiles"
|
export DOT="~/.dotfiles"
|
||||||
alias vim='vim -S ~/.vimrc'
|
alias vim='vim -S ~/.vimrc'
|
||||||
alias nvim='nvim'
|
alias nvim='nvim'
|
||||||
alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
|
#alias brew='env PATH="${PATH//$(pyenv root)\/shims:/}" brew'
|
||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
export LSCOLORS=ExGxBxDxCxEgEdxbxgxcxd
|
||||||
|
|
||||||
export EDITOR="$VISUAL"
|
export EDITOR="$VISUAL"
|
||||||
export VISUAL='nvim'
|
export VISUAL='nvim'
|
||||||
export PYTHONPATH="/opt/homebrew/bin/python3:$PYTHONPATH"
|
export PYTHONPATH="/opt/homebrew/bin/python3:$PYTHONPATH"
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
#export PYENV_ROOT="$HOME/.pyenv"
|
||||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
#command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init -)"
|
#eval "$(pyenv init -)"
|
||||||
eval "$(pyenv virtualenv-init -)"
|
#eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
# Function to Correctly Source $VIRTUAL_ENV for Neovim
|
# Function to Correctly Source $VIRTUAL_ENV for Neovim
|
||||||
function nvimvenv {
|
function nvimvenv {
|
||||||
@ -36,6 +36,23 @@ function nvimvenv {
|
|||||||
fi
|
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"
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
@ -47,13 +64,61 @@ source /opt/homebrew/share/powerlevel10k/powerlevel10k.zsh-theme
|
|||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
source ~/.dotfiles/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source ~/.dotfiles/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
export PATH="/usr/local/opt/openssl/bin:$PATH"
|
export PATH="/usr/local/opt/openssl/bin:$PATH"
|
||||||
echo 'eval "$(uv generate-shell-completion zsh)"' >> ~/.zshrc
|
echo 'eval "$(uv generate-shell-completion zsh)"' >> ~/.zshrc
|
||||||
|
source $HOME/.cargo/env
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads 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
|
[ -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)"
|
||||||
|
eval "$(uv generate-shell-completion zsh)"
|
||||||
|
|||||||
15
zsh_issues.md
Normal file
15
zsh_issues.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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