47 Commits

Author SHA1 Message Date
3c344bc893 Figured out Pulse. Want to add to that by using nvim-notify. 2023-10-20 16:39:07 -04:00
2f6161a917 Removing semshi for the time being. Just commented out. 2023-10-18 17:20:03 -04:00
b1d3afc7d8 New Plugin for LSP-timeout to save resources 2023-10-17 18:19:15 -04:00
dc4a294bc7 Weekly backup 2023-10-13 16:38:47 -04:00
d4d1d5ef23 Spelling for certain words 2023-10-11 17:18:27 -04:00
00a84209f8 Trying a new plugin that counts words. 2023-10-06 16:39:41 -04:00
bfd35215c7 Updated some keymaps and plugins. 2023-10-05 17:35:11 -04:00
2dbad0ebdf Tmux config and Null-LS changes. 2023-10-04 17:14:51 -04:00
699304de12 Updated shiftwidth 2023-09-29 15:42:16 -04:00
54583572b8 Update ToggleTerm. Changed a few other plugins. 2023-09-28 16:42:56 -04:00
ebbf7b99ae Cleaned up some files and added config options for Semshi, thanks to the creator 2023-09-15 17:11:55 -04:00
458f46cef4 Small changes. Removed logs and test files from the zsh debacle. 2023-09-13 17:06:25 -04:00
e4ca0941d5 Big changes. Starship tanked my setup - too slow. Moved to Powerline10k. Everything is much most smooth now. 2023-09-12 17:00:07 -04:00
4069c13d0d Tons of changes! Finally figured out custom snippets and I can get them going. Other items were organized. 2023-09-08 16:55:00 -04:00
b3413957d3 Many more changes! Holy moly. Finally got LSP and CMP working as expected. 2023-09-06 17:15:51 -04:00
86f495c878 Changed some LSP stuff around, not sure how successful it is. It continues to confound me 2023-09-05 20:09:08 -04:00
9814c1a966 Cleaned up keymaps and a few files. 2023-09-01 17:11:17 -04:00
c08235014a Huge changes. Changed init.lua to have my settings.lua. Cleaned up a few plugins. What a mess 2023-08-31 17:48:30 -04:00
1ee43ea0ae removed neorg in favor of a more robust mkdnflow. Improved/updated nvim-tree 2023-08-30 17:10:04 -04:00
7d2555b42f Updated a TroubleTask to RISK 2023-08-28 16:34:00 -04:00
89abb2744f More Neorg Config. Working on getting this templates WIP plugin set up, but not working yet. 2023-08-25 16:42:08 -04:00
a86c559502 added some neorg configuration items. 2023-08-22 17:18:51 -04:00
5ccc55acc1 Added Neorg and began its exploration. 2023-08-10 16:26:53 -04:00
ff327001e4 Added adjacent.nvim 2023-08-01 15:16:41 -04:00
daf05a0684 Added buffer to nvim-cmp. A few small changes to completions and snippets. 2023-07-28 17:23:18 -04:00
5be1c4a058 Update some settings for markdown files. Removed a few plugins. 2023-07-27 21:56:08 -04:00
40ee634f58 Added to tmux.conf that when a new pane is created, its in the same working directory! So clutch. 2023-07-16 13:22:40 -04:00
69670a07ce Updated the Readme for others to take a look at 2023-07-14 16:03:18 -04:00
269882e420 Reconfigured Markdown Preview and some other plugins. Cleaned up nvim mapper. 2023-07-12 21:30:34 -04:00
1091d71798 moved some plugins around. trying to figure out why vim-arduino isn't working. 2023-07-05 13:38:43 -04:00
6ab45cfe73 Added vim arduino 2023-06-30 16:04:09 -04:00
c901bb0dc1 Updated some plugins, including python's f-string plugin. A few other changes. 2023-06-29 17:30:38 -04:00
cfc13d1567 Added some plugins and organization 2023-06-28 16:58:05 -04:00
e8b1d00fc8 Idk what happened, but my tmux folder got removed. Didn't want to lose my changes, so I added it back in and pulled the plugins again. Seems to be working as expected. 2023-06-27 14:53:04 -04:00
8b13ced135 Moved settings and keymaps around. Created a proper nvim-mapper file. Added dracula back in. Emptied the highest level init.lua 2023-06-26 21:09:20 -04:00
88c1e905aa Introduced Elijah's config switcher. Started cleaning some plugins. Added arduino plugin. 2023-06-10 09:33:52 -04:00
3f09dba214 Plugin Changes 2023-06-09 20:08:57 -04:00
8eb23777f4 Changed and removed some plugins 2023-05-24 16:55:53 -04:00
8c2a4f1a90 updated telescope 2023-05-12 16:46:26 -04:00
7254c723e8 Updated a few configs. 2023-04-25 18:19:42 -04:00
eb70be50e6 Colorscheme. Comments. Still searchning 2023-03-28 16:55:08 -04:00
f4c409ee0c plugin changes 2023-03-24 15:59:25 -04:00
95e243a133 Telescope Filebrowser keymap 2023-03-13 17:07:59 -04:00
5948052590 Unknown changes 2023-02-16 18:22:59 -05:00
defa706a8c Fixed autocompletion & snippets 2023-02-15 19:58:23 -05:00
dbe8da155a LspInstall isn't working... 2023-02-15 17:08:55 -05:00
53e45cb96e Added ZSH config 2023-02-15 14:06:28 -05:00
57 changed files with 1013 additions and 546 deletions

Binary file not shown.

22
README.md Normal file
View File

@ -0,0 +1,22 @@
```
_ _ _
| \ | | (_)
| \| | ___ _ __ _ __ ___ __ __ _ _ __ ___
| . ` | / _ \ | '__|| '_ ` _ \\ \ / /| || '_ ` _ \
| |\ || (_) || | | | | | | |\ 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.
![1](images/neovim1.png)
 
![2](images/neovim2.png)
 
![3](images/neovim3.png)
 
![4](images/neovim4.png)
 
![5](images/neovim5.png)

BIN
images/neovim1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

BIN
images/neovim2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 226 KiB

BIN
images/neovim3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

BIN
images/neovim4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

BIN
images/neovim5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

View File

@ -3,20 +3,21 @@ if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--filteer=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
vim.g.mapleader = ','
vim.g.localmapleader = ','
--- vim.opt.textwidth = 85
vim.opt.colorcolumn = '+2'
require('lazy').setup('plugins')
require('keymaps')
-----------------------------------------------------------
-- General Neovim settings and configuration
-----------------------------------------------------------
@ -46,22 +47,20 @@ g.markdown_folding = 1
opt.spell=true
opt.spelllang = 'en_us'
cmd [[ autocmd BufWritePre * :%s/\s\+$//e ]]
vim.api.nvim_set_hl(0, "ColorColumn", {guibg=lightmagenta})
vim.api.nvim_set_hl(0, "ColorColumn", {guibg=DarkOrchid1})
-----------------------------------------------------------
-- Neovim UI
-----------------------------------------------------------
opt.number = true -- Show line number
opt.relativenumber = true -- Show Current Line with Relative numbers above and below cursor.
opt.showmatch = true -- Highlight matching parenthesis
opt.foldmethod = 'syntax' -- Enable folding (default 'foldmarker')
opt.colorcolumn = '120' -- Line length marker at 80 columns
opt.textwidth = 120
opt.foldmethod = "syntax" -- Enable folding (default 'foldmarker')
opt.splitright = true -- Vertical split to the right
opt.splitbelow = true -- Horizontal split to the bottom
opt.ignorecase = true -- Ignore case letters when search
opt.smartcase = true -- Ignore lowercase for the whole pattern
opt.linebreak = true -- Wrap on word boundary
opt.signcolumn = 'yes:2' -- Signs column always on, minimum 2.
opt.signcolumn = 'yes:1' -- Signs column always on, minimum 2.
opt.wrap = true
-----------------------------------------------------------
@ -78,10 +77,10 @@ opt.termguicolors = true -- Enable 24-bit RGB colors
-----------------------------------------------------------
-- Tabs, indent
-----------------------------------------------------------
opt.expandtab = true -- Use spaces instead of tabs
opt.shiftwidth = 1 -- Shift 4 spaces when tab
opt.tabstop = 1 -- 1 tab == 4 spaces
opt.smartindent = true -- Autoindent new lines
g.expandtab = true -- Use spaces instead of tabs
g.shiftwidth = 2 -- Shift 4 spaces when tab
g.tabstop = 1 -- 1 tab == 4 spaces
g.smartindent = true -- Autoindent new lines
-----------------------------------------------------------
-- Glow Settings
-----------------------------------------------------------
@ -90,15 +89,19 @@ g.glow_border = 'rounded'
g.glow_width = 120
g.glow_use_pager = true
g.glow_style = 'dark'
-----------------------------------------------------------
-- MKDX Settings, mkdx#settings.
-- AutoCmd and Additional Function Settings.
-----------------------------------------------------------
-- 2 spaces for selected filetypes
cmd [[
autocmd FileType md,liquid,xml,html,xhtml,css,scss,javascript,lua,yaml setlocal shiftwidth=2 tabstop=8 noexpandtab
vim.cmd [[
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=110 ]]
vim.cmd [[ autocmd FileType lua set textwidth=80 ]]
vim.cmd [[ autocmd FileType markdown,text set textwidth=125 shiftwidth=2 ]]
--[[
local disabled_built_ins = {
"netrw",
"netrwPlugin",
@ -123,10 +126,9 @@ 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.
]]--
-- Deletes all trailing whitespaces in a file if it's not binary nor a diff.
function _G.trim_trailing_whitespaces()
if not o.binary and o.filetype ~= 'diff' then
local current_view = fn.winsaveview()
@ -135,8 +137,15 @@ function _G.trim_trailing_whitespaces()
end
end
-- Correctly set $VIRTUAL_ENV for Python venvs.
if vim.fn.exists("$VIRTUAL_ENV") == 1 then
vim.g.python3_host_prog = vim.fn.substitute(vim.fn.system("pyenv which python3 | head -n2 | tail -n1"), "\n", "", "g")
else
vim.g.python3_host_prog = vim.fn.substitute(vim.fn.system("which python3"), "\n", "", "g")
end
-- see https://github.com/hrsh7th/nvim-cmp/wiki/Menu-Appearance#how-to-add-visual-studio-code-dark-theme-colors-to-the-menu
vim.cmd[[
--[[vim.cmd[[
highlight! link CmpItemMenu Comment
" gray
highlight! CmpItemAbbrDeprecated guibg=NONE gui=strikethrough guifg=#808080
@ -155,4 +164,7 @@ vim.cmd[[
highlight! CmpItemKindProperty guibg=NONE guifg=#D4D4D4
highlight! CmpItemKindUnit guibg=NONE guifg=#D4D4D4
]]
--]]
require('core/keymaps')
vim.cmd[[colorscheme tol]]

View File

@ -1,63 +1,78 @@
{
"LuaSnip": { "branch": "master", "commit": "563827f00bb4fe43269e3be653deabc0005f1302" },
"alpha-nvim": { "branch": "main", "commit": "d35b99e36e32040ba06c48a25b5bd3e75be2a566" },
"LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" },
"adjacent.nvim": { "branch": "main", "commit": "a555ab92d61aa6fbbfa1bfaef4633b663563f04e" },
"alpha-nvim": { "branch": "main", "commit": "234822140b265ec4ba3203e3e0be0e0bb826dff5" },
"auto-hlsearch.nvim": { "branch": "main", "commit": "8f28246d53e9478717ca3b51c8112083fbebd7e3" },
"barbar.nvim": { "branch": "master", "commit": "dd852401ee902745b67fc09a83d113b3fe82a96f" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "23c51b2a3c00f6abc4e922dbd7c3b9aca6992063" },
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
"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": "60584cb75e5e8bba5a0c9e4c3ab0791e0698bffa" },
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
"colorschemes": { "branch": "master", "commit": "e29f32990d6e2c7c3a4763326194fbd847b49dac" },
"dracula.nvim": { "branch": "main", "commit": "798274ba3c454a9aa3cd71f95a86ea55cbbbb142" },
"feline.nvim": { "branch": "master", "commit": "d48b6f92c6ccdd6654c956f437be49ea160b5b0c" },
"friendly-snippets": { "branch": "main", "commit": "1645e7cd98ed99e766c84ab3cf13a1612c77dcee" },
"gitsigns.nvim": { "branch": "main", "commit": "4bd5d7702c17643ff40c035b6b936757b99743c7" },
"glow.nvim": { "branch": "main", "commit": "2bb4afb6e9dbc93993a1d7d4168dac08c74590ac" },
"headlines.nvim": { "branch": "master", "commit": "1cd93a641c03419bb255f8b3fe734451517763b1" },
"indent-blankline.nvim": { "branch": "master", "commit": "8299fe7703dfff4b1752aeed271c3b95281a952d" },
"lazy.nvim": { "branch": "main", "commit": "c249ea376bcd3e5d121b79eac595837b7d0c73a4" },
"lazygit.nvim": { "branch": "main", "commit": "32bffdebe273e571588f25c8a708ca7297928617" },
"lsp-colors.nvim": { "branch": "main", "commit": "d0b245232aeb197bbd097111d8b69621b0671edb" },
"markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "93e58e100f37ef4fb0f897deeed20599dae9d128" },
"mason.nvim": { "branch": "main", "commit": "eb6010ac97e9b510ddce8d28b6925ff6b046eab2" },
"mini.fuzzy": { "branch": "stable", "commit": "e8faf897330eadb1b1b76da67eeff04be85cbd8b" },
"mini.move": { "branch": "main", "commit": "a0c5930e33e55467b0a9f3bca93d8f6fdbfac2e4" },
"mini.pairs": { "branch": "stable", "commit": "4ebc1ff8d77fe75e8f219432302800ca29e17614" },
"mini.surround": { "branch": "main", "commit": "6a4f31e2a380439315729f561d7e7898bde1fd52" },
"mini.trailspace": { "branch": "main", "commit": "8566ae0cf1524b263e489b6771d339025773189e" },
"mkdnflow.nvim": { "branch": "main", "commit": "51cf944514e49662cca8a075b1a8f485c2c39d0f" },
"monokai.nvim": { "branch": "master", "commit": "b8bd44d5796503173627d7a1fc51f77ec3a08a63" },
"neoscroll.nvim": { "branch": "master", "commit": "d7601c26c8a183fa8994ed339e70c2d841253e93" },
"neovim": { "branch": "main", "commit": "845a6ad5443e3559dde42910c4523a5835c9233b" },
"nord.nvim": { "branch": "main", "commit": "70df2b61de21b953fd577f292a973cd22e0ca686" },
"null-ls.nvim": { "branch": "main", "commit": "9d811bb6ed44cf766f4bda8a47fd65fdfbdcaa7d" },
"nvim": { "branch": "main", "commit": "a5f3ed5d3b1d9ea21183718a8a89a6653bd6ea48" },
"nvim-cmp": { "branch": "main", "commit": "c4128bcd131fb7152bda8f8dd2b5e41d2fefa88c" },
"nvim-dap": { "branch": "master", "commit": "401f5f22b2d7f9bdbb9294d0235136091458816a" },
"nvim-dap-python": { "branch": "master", "commit": "d4400d075c21ed8fb8e8ac6a5ff56f58f6e93531" },
"nvim-lspconfig": { "branch": "master", "commit": "9b8f5260f3e793e2dcb2899e0a5b944667a95cb2" },
"nvim-mapper": { "branch": "main", "commit": "7585479199ad7c3fdfed47ae79d26198f948cfc5" },
"nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" },
"nvim-tree.lua": { "branch": "master", "commit": "4222bb875d86a2a53069c75c4833e27f58e26d90" },
"nvim-treesitter": { "branch": "master", "commit": "6cdaf3f15ecf2495d890715723686abfb667cb7a" },
"nvim-web-devicons": { "branch": "master", "commit": "bb6d4fd1e010300510172b173ab5205d37af084f" },
"plenary.nvim": { "branch": "master", "commit": "9a0d3bf7b832818c042aaf30f692b081ddd58bd9" },
"cmp-spell": { "branch": "master", "commit": "32a0867efa59b43edbb2db67b0871cfad90c9b66" },
"cmp-under-comparator": { "branch": "master", "commit": "6857f10272c3cfe930cece2afa2406e1385bfef8" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"deadcolumn.nvim": { "branch": "master", "commit": "b9b5e237371ae5379e280e4df9ecf62e4bc8d7a5" },
"diffview.nvim": { "branch": "main", "commit": "d38c1b5266850f77f75e006bcc26213684e1e141" },
"distant.nvim": { "branch": "v0.2", "commit": "9dd21f8fa25795e56756e1ea27a1586ceee35582" },
"dracula.nvim": { "branch": "main", "commit": "9fe831e685a76e1a1898a694623b33247c4d036c" },
"f-string-toggle.nvim": { "branch": "main", "commit": "4e2ad79dfc5122dd65515ebbdd671e8ee01d157e" },
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" },
"friendly-snippets": { "branch": "main", "commit": "43727c2ff84240e55d4069ec3e6158d74cb534b6" },
"gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" },
"glow.nvim": { "branch": "main", "commit": "5b38fb7b6e806cac62707a4aba8c10c5f14d5bb5" },
"headlines.nvim": { "branch": "master", "commit": "74a083a3c32a08be24f7dfcc6f448ecf47857f46" },
"hover.nvim": { "branch": "main", "commit": "a173256a9dba938e876ceb4bb5d2742f8866e349" },
"indent-blankline.nvim": { "branch": "master", "commit": "8a7b48f5823cc924f815129192288ec2e2b9288f" },
"lazy.nvim": { "branch": "main", "commit": "9788a19ec0b4036028e78aec702634b4b89d3470" },
"lsp-timeout.nvim": { "branch": "main", "commit": "9a28c3fe10a5db856f5e5ac505afcfe79b49934e" },
"lualine.nvim": { "branch": "master", "commit": "2248ef254d0a1488a72041cfb45ca9caada6d994" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"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" },
"mkdnflow.nvim": { "branch": "main", "commit": "f7e513a521f5926df034cf40ddd54b43ba73a013" },
"moonfly": { "branch": "master", "commit": "5d7aff3545cd3f365215bf86a3f188b65ab9b90c" },
"neoscroll.nvim": { "branch": "master", "commit": "4bc0212e9f2a7bc7fe7a6bceb15b33e39f0f41fb" },
"neovim": { "branch": "main", "commit": "e29002cbee4854a9c8c4b148d8a52fae3176070f" },
"nightfox.nvim": { "branch": "main", "commit": "6a6076bd678f825ffbe16ec97807793c3167f1a7" },
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
"numb.nvim": { "branch": "master", "commit": "3f7d4a74bd456e747a1278ea1672b26116e0824d" },
"nvim": { "branch": "main", "commit": "dcef0a062de380885193fb0f919217d58b979753" },
"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-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" },
"nvim-prose": { "branch": "main", "commit": "38aac8c9c94a5725d152bdfea374d60e07fb93d6" },
"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" },
"prettier.nvim": { "branch": "main", "commit": "918b99f5ddd7a56395fd393767ab6a3c15a50789" },
"pulse.nvim": { "branch": "main", "commit": "4026460b12da9abcfe34322db0bdc80e4b0dce3d" },
"sidebar.nvim": { "branch": "main", "commit": "990ce5f562c9125283ccac5473235b1a56fea6dc" },
"starry.nvim": { "branch": "master", "commit": "ee585b622455deace2b59d2f846c713805f69100" },
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
"telescope-file-browser.nvim": { "branch": "master", "commit": "a18f78121d74c4fae9edd29e138a918a8ede2a70" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "580b6c48651cabb63455e97d7e131ed557b8c7e2" },
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "7de3baef1ec4fb77f7a8195fe87bebd513244b6a" },
"telescope.nvim": { "branch": "master", "commit": "b79cd6c88b3d96b0f49cb7d240807cd59b610cd8" },
"tmux.nvim": { "branch": "main", "commit": "feafcf8f48c49c720ee64e745648d69d42cb9c5a" },
"todo-comments.nvim": { "branch": "main", "commit": "74c7d28cb50b0713c881ef69bcb6cdd77d8907d1" },
"tokyonight.nvim": { "branch": "main", "commit": "a0abe53df53616d13da327636cb0bcac3ea7f5af" },
"trouble.nvim": { "branch": "main", "commit": "556ef3089709a6e253df1e500381fec5eb48e48a" },
"vem-tabline": { "branch": "master", "commit": "8399cf77603b6c2110a39ea3efe1053f64b057aa" },
"vim-wakatime": { "branch": "master", "commit": "ee4ab57adf62a309aeef383a2da23b6e48e5ae50" },
"vista.vim": { "branch": "master", "commit": "33774aff5d8b224f24c2e4c6015c613c1a17bf74" },
"which-key.nvim": { "branch": "main", "commit": "5224c261825263f46f6771f1b644cae33cd06995" }
"telescope-file-browser.nvim": { "branch": "master", "commit": "6e51d0cd6447cf2525412220ff0a2885eef9039c" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "851c0997d55601f2afd7290db0f90dc364e29f58" },
"telescope.nvim": { "branch": "master", "commit": "c1a2af0af69e80e14e6b226d3957a064cd080805" },
"tmux.nvim": { "branch": "main", "commit": "673782b74a6055d430d3f5148a033edd99e5519f" },
"todo-comments.nvim": { "branch": "main", "commit": "3094ead8edfa9040de2421deddec55d3762f64d1" },
"toggleterm.nvim": { "branch": "main", "commit": "faee9d60428afc7857e0927fdc18daa6c409fa64" },
"tokyonight.nvim": { "branch": "main", "commit": "531b04704fc9ff994d8b9c0720428fdc3c7d49d1" },
"tol.nvim": { "branch": "main", "commit": "5ce76f5173a8331c4ed0b89941f5465a1a3732b3" },
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
"vim-arduino": { "branch": "master", "commit": "111db616db21d4f925691f1517792953f7671647" },
"vim-wakatime": { "branch": "master", "commit": "945a441b83e48c7bafdd227ef8e2eb826f72ab90" },
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }
}

View File

@ -0,0 +1,85 @@
-----------------------------------------------------------
-- Keymaps of Neovim and installed plugins
-----------------------------------------------------------
local map = vim.api.nvim_set_keymap
local default_opts = { noremap = true, silent = true }
-- Fast saving with <leader> and s
-- map('n', '<leader>s', ':w<CR>', default_opts)
-- map('n', '<leader>a', ':w|:luafile %<CR>', default_opts)
-- map('n', '<leader>aa', ':w|:luafile %<CR> |:Lazy<CR>', default_opts)
-- map('i', '<leader>s', '<C-c>:w<CR>', default_opts)
-- 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)
-- Neovim Tab Navgation via Vem-Tabline
map('n', '<leader>t', ':tabnew<CR>', default_opts)
map('n', '<leader>e', ':bnext<CR>', default_opts)
map('n', '<leader>w', ':bprev<CR>', default_opts)
map('n', '<leader>d', ':bdelete<CR>', default_opts)
map('n', '<leader>r', '<Plug>vem_move_buffer_right', default_opts)
map('n', '<leader>q', '<Plug>vem_move_buffer_left', default_opts)
-- Nvim-Tree
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
map('n', '<leader>ff', ':Telescope find_files<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)
map('n', '<leader>fa', ':Telescope adjacent<CR>', default_opts)
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)
-- Terminal
map('n', '<C-t>', ':ToggleTerm direction=float<CR>', default_opts)
map('t', '<C-n>', '<C-\\><C-n><CR>', default_opts) -- Exit Insert Mode Faster
------------------------------------------------
-- Old Keymaps from Nvim-Mapper (Sunsetted)
------------------------------------------------
--[[
-- Macros for Todo Trouble
M('n', '<C-t>', "@t<CR>", default_opts,
"Add Todo", "todo_todo", "Add To-do/Task to the beginning of the line"
)
M('n', '<C-s>', "@s<CR>", default_opts,
"Add Solutions Engineering", "todo_seng", "Add Solutions Engineering to the beginning of the line"
)
M('n', '<C-f>', "@f<CR>", default_opts,
"Add Feature", "add_feat", "Add Feature Request tag to the beginning of the line. "
)
M( 'n', '<C-x>', "@c<CR>", default_opts,
"Replace with Complete", "add_complete", "Replace tag with Complete tag at beginning of the line."
)
M('n', '<C-r>', "@w<CR>", default_opts,
"Add Warning/Error", "add_error", "Add Warning/Error tag at the beginning of the line."
)
M('n', '<leader>ce', ":TodoTrouble keywords=TODO<CR>", default_opts,
"Show Todo Tags", "show_todos", "Show Todo Tags."
)
M('n', '<leader>cf', ":TodoTrouble keywords=FEAT<CR>", default_opts,
"Show Feature Tags", "show_features", "Show Feature Requests."
)
M('n', '<leader>cq', ":TodoTrouble keywords=ERROR, WARN<CR>", default_opts,
"Show Warning Tags", "show_warnings", "Show Errors Tags."
)
--]]

View File

@ -1,3 +1,4 @@
-----------------------------------------------------------
-- General Neovim settings and configuration
-----------------------------------------------------------
@ -27,22 +28,24 @@ g.markdown_folding = 1
opt.spell=true
opt.spelllang = 'en_us'
cmd [[ autocmd BufWritePre * :%s/\s\+$//e ]]
vim.api.nvim_set_hl(0, "ColorColumn", {guibg=lightmagenta})
--vim.api.nvim_set_hl(0, "ColorColumn", {guibg=lightmagenta})
-----------------------------------------------------------
-- Neovim UI
-----------------------------------------------------------
opt.number = true -- Show line number
opt.relativenumber = true -- Show Current Line with Relative numbers above and below cursor.
opt.showmatch = true -- Highlight matching parenthesis
opt.foldmethod = 'syntax' -- Enable folding (default 'foldmarker')
opt.colorcolumn = '120' -- Line length marker at 80 columns
opt.textwidth = 120
opt.foldmethod = "syntax" -- Enable folding (default 'foldmarker')
opt.colorcolumn = '99'
opt.textwidth = 100
-- opt.cc = '+1,+2,+3' -- Line length marker at 80 columns
-- opt.tw = 120
opt.splitright = true -- Vertical split to the right
opt.splitbelow = true -- Horizontal split to the bottom
opt.ignorecase = true -- Ignore case letters when search
opt.smartcase = true -- Ignore lowercase for the whole pattern
opt.linebreak = true -- Wrap on word boundary
opt.signcolumn = 'yes:2' -- Signs column always on, minimum 2.
opt.signcolumn = 'yes:1' -- Signs column always on, minimum 2.
opt.wrap = true
-----------------------------------------------------------
@ -56,12 +59,13 @@ opt.synmaxcol = 240 -- Max column for syntax highlight
-- Colorscheme
-----------------------------------------------------------
opt.termguicolors = true -- Enable 24-bit RGB colors
cmd[[colorscheme dracula]]
-----------------------------------------------------------
-- Tabs, indent
-----------------------------------------------------------
opt.expandtab = true -- Use spaces instead of tabs
opt.shiftwidth = 1 -- Shift 4 spaces when tab
opt.tabstop = 1 -- 1 tab == 4 spaces
opt.shiftwidth = 4 -- Shift 4 spaces when tab
opt.tabstop = 4 -- 1 tab == 4 spaces
opt.smartindent = true -- Autoindent new lines
-----------------------------------------------------------
-- Glow Settings
@ -115,3 +119,25 @@ function _G.trim_trailing_whitespaces()
fn.winrestview(current_view)
end
end
-- see https://github.com/hrsh7th/nvim-cmp/wiki/Menu-Appearance#how-to-add-visual-studio-code-dark-theme-colors-to-the-menu
vim.cmd[[
highlight! link CmpItemMenu Comment
" gray
highlight! CmpItemAbbrDeprecated guibg=NONE gui=strikethrough guifg=#808080
" blue
highlight! CmpItemAbbrMatch guibg=NONE guifg=#569CD6
highlight! CmpItemAbbrMatchFuzzy guibg=NONE guifg=#569CD6
" light blue
highlight! CmpItemKindVariable guibg=NONE guifg=#9CDCFE
highlight! CmpItemKindInterface guibg=NONE guifg=#9CDCFE
highlight! CmpItemKindText guibg=NONE guifg=#9CDCFE
" pink
highlight! CmpItemKindFunction guibg=NONE guifg=#C586C0
highlight! CmpItemKindMethod guibg=NONE guifg=#C586C0
" front
highlight! CmpItemKindKeyword guibg=NONE guifg=#D4D4D4
highlight! CmpItemKindProperty guibg=NONE guifg=#D4D4D4
highlight! CmpItemKindUnit guibg=NONE guifg=#D4D4D4
]]

View File

@ -0,0 +1,7 @@
{
"todays-date": {
"prefix": "today",
"body": ["${CURRENT_MONTH}-${CURRENT_DATE}-${CURRENT_YEAR}"],
"description": "Put the date in (Y-m-D) format"
}
}

View File

@ -0,0 +1,10 @@
{
"contributes": {
"snippets": [
{
"language": "markdown",
"path": "./markdown.json"
}
]
}
}

View File

@ -1,126 +0,0 @@
-----------------------------------------------------------
-- Keymaps of Neovim and installed plugins
-----------------------------------------------------------
local map = vim.api.nvim_set_keymap
local default_opts = { noremap = true, silent = true }
-- Fast saving with <leader> and s
map('n', '<leader>s', ':w<CR>', default_opts)
map('n', '<leader>a', ':w|:luafile %<CR>', default_opts)
map('n', '<leader>aa', ':w|:luafile %<CR> |:PackerSync<CR>', default_opts)
map('i', '<leader>s', '<C-c>:w<CR>', default_opts)
-- 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)
-- Neovim Tab Navgation via Vem-Tabline
map('n', '<leader>t', ':tabnew<CR>', default_opts)
map('n', '<leader>e', ':bnext<CR>', default_opts)
map('n', '<leader>w', ':bprev<CR>', default_opts)
map('n', '<leader>d', ':bdelete<CR>', default_opts)
map('n', '<leader>r', '<Plug>vem_move_buffer_right', default_opts)
map('n', '<leader>q', '<Plug>vem_move_buffer_left', default_opts)
-----------------------------------------------------------
-- Applications and Plugins shortcuts
-----------------------------------------------------------
-----------------------------------------------------------
-- Telescope Keymaps
-----------------------------------------------------------
-- For Neovim >= 0.7.0
Mapper = require("nvim-mapper")
local M = Mapper.map
local default_opts = {noremap=true, silent=true}
-- Sidebar
M('n', '<leader>n', ':SidebarNvimToggle<CR>', default_opts,
"Sidebar Toggle", "sidebar-toggle", "Open or Close Sidebar"
)
M('n', '<leader>q', ':SidebarNvimUpdate<CR>', default_opts,
"Sidebar Update", "sidebar-update", "Refresh the Sidebar"
)
--[[ Sidebar Resize
M('n', '<leader>=', ':SidebarNvimResize +1<CR>', default_opts,
"Sidebar +1", "sidebar-plus1", "Sidebar Bigger by one"
)
M('n', '<leader>-', ':SidebarNvimResize -1<CR>', default_opts,
"Sidebar -1", "sidebar-minus1", "Sidebar Smaller by one"
)
M('n', '<leader>==', ':SidebarNvimResize +10<CR>', default_opts,
"Sidebar +10", "sidebar-plus10", "Sidebar Bigger by 10"
)
M('n', '<leader>--', ':SidebarNvimResize -10<CR>', default_opts,
"Sidebar -10", "sidebar-minus10", "Sidebar Smaller by 10"
)--]]
-- Lazy Git
M('n', '<leader>lg', ":LazyGit<CR>", default_opts,
"Lazy Git", "lazy-git", "Show Lazy Git"
)
-- Markdown Preview Toggle
M('n', '<leader>P', ":MarkdownPreview<CR>", default_opts,
"Markdown Preview", "md_preview", "Display Markdown preview in browser"
)
-- Telescope Options
M('n', '<leader>ff', ':Telescope find_files<CR>', default_opts,
"Find Files", "find-files", "Find Files in Telescope pop-up"
)
M('n', '<leader>fg', ':Telescope live_grep<CR>', default_opts,
"Live Grep", "live-grep", "Grep Files in Telescope pop-up"
)
M('n', '<leader>fb', ':Telescope buffers<CR>', default_opts,
"Buffers", "buffers", "See Buffers in Telescope pop-up"
)
M('n', '<leader>fe', ":Telescope file_browser<CR>", default_opts,
"Telescope Files", "telescope-file-browser", "Find files and directories in telescope"
)
M('n', '<C-t>', "@t<CR>", default_opts,
"Add Todo", "todo_todo", "Add To-do/Task to the beginning of the line"
)
M('n', '<C-s>', "@s<CR>", default_opts,
"Add Solutions Engineering", "todo_seng", "Add Solutions Engineering to the beginning of the line"
)
M('n', '<C-f>', "@f<CR>", default_opts,
"Add Feature", "add_feat", "Add Feature Request tag to the beginning of the line. "
)
M( 'n', '<C-x>', "@c<CR>", default_opts,
"Replace with Complete", "add_complete", "Replace tag with Complete tag at beginning of the line."
)
M('n', '<C-r>', "@w<CR>", default_opts,
"Add Warning/Error", "add_error", "Add Warning/Error tag at the beginning of the line."
)
M('n', '<leader>ce', ":TodoTrouble keywords=TODO<CR> | :resize +10<CR>", default_opts,
"Show Todo Tags", "show_todos", "Show Todo Tags."
)
M('n', '<leader>cf', ":TodoTrouble keywords=FEAT<CR>", default_opts,
"Show Feature Tags", "show_features", "Show Feature Requests."
)
M('n', '<leader>cq', ":TodoTrouble keywords=ERROR, WARN<CR>", default_opts,
"Show Warning Tags", "show_warnings", "Show Errors Tags."
)
M('n', '<leader>b', ":! black %<CR>", default_opts,
"Black Formatting", "black_current_file", "Use Black Formatting on Current File."
)
M('n', '<leader>m', ":! markdownlint -f %<CR>", default_opts,
"Markdownlint", "md_lint_format", "Use mdlint Formatting on Current File."
)
M('n', '<leader>r30', ":resize 30<CR>", default_opts,
"Resize30", "resize_30", "Resize Window to #30"
)

View File

@ -4,7 +4,7 @@
return {
"goolord/alpha-nvim",
dependencies = {
'kyazdani42/nvim-web-devicons',
'nvim-tree/nvim-web-devicons',
},
config = function ()
local alpha = require'alpha'

View File

@ -0,0 +1,16 @@
return
{
'chipsenkbeil/distant.nvim',
branch = 'v0.2',
config = function()
require('distant').setup {
-- Applies Chip's personal settings to every machine you connect to
--
-- 1. Ensures that distant servers terminate with no connections
-- 2. Provides navigation bindings for remote directories
-- 3. Provides keybinding to jump into a remote file's parent directory
['*'] = require('distant.settings').chip_default()
}
end
}

View File

@ -0,0 +1,27 @@
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
}

View File

@ -1,48 +1,148 @@
return {
----------------------------------------------------------------
-- LSP and Autocomplete Plugins
-- They should be pulled first!
-----------------------------------------------------------------
-- Manage all your Keymaps!
{'williamboman/mason.nvim',
config = function() require("mason").setup({
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = ""
}
}
})
end,
},
{ 'williamboman/mason-lspconfig.nvim',
config = function() require("mason-lspconfig").setup{} end,
},
{ 'neovim/nvim-lspconfig' },
{
"gregorias/nvim-mapper",
config = function() require("nvim-mapper").setup{} end,
before = "telescope.nvim"
'hinell/lsp-timeout.nvim',
dependencies={ "neovim/nvim-lspconfig" }
},
{
'L3MON4D3/LuaSnip', version = "2.*",
build = "make install_jsregexp",
dependencies = { "friendly-snippets" },
config = function()
require("luasnip").setup({
history = true,
delete_check_events = "TextChanged",
})
require("luasnip.loaders.from_vscode").lazy_load()
require("luasnip.loaders.from_vscode").load({
paths = {
"~/.dotfiles/nvim/.config/nvim/lua/custom_snippets/" }
})
end,
},
-- Neovim Autocomplete with LSP
{"ellisonleao/glow.nvim", config = function() require("glow").setup() end },
'saadparwaiz1/cmp_luasnip',
'hrsh7th/cmp-nvim-lsp-signature-help',
'lukas-reineke/cmp-under-comparator',
{
'L3MON4D3/LuaSnip', tag = "v1.1.0",
wants = { "friendly-snippets", "vim-snippets" },
'asiryk/auto-hlsearch.nvim',
version = "1.1.0",
config = function() require("auto-hlsearch").setup{} end,
},
------------------------------------------------------------
-- General Functionality
------------------------------------------------------------
'kdheepak/lazygit.nvim',
{ 'MaximilianLloyd/adjacent.nvim' },
{ 'stevearc/vim-arduino'},
{ 'sindrets/diffview.nvim' },
{ 'skwee357/nvim-prose' },
{
'nacro90/numb.nvim',
config = function() require('numb').setup{
show_cursorline = false,
show_numbers = false, -- Enable 'number' for the window while peeking
hide_relativenumbers = false, -- Enable turning off 'relativenumber' for the window while peeking
number_only = true, -- Peek only when the command is only a number instead of when it starts with a number
centered_peeking = true,
}
end,
},
{
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function() require('lualine').setup({
options = {
theme = 'material',
always_divide_middle = false,
},
sections = {
lualine_x = { "encoding", { "fileformat", symbols = { unix = "" } }, "filetype" },
},
})
end,
},
-- Nvim Tree File Manager on the Left
{
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup({
sort_by = "case_sensitive",
view = {
width = 30,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
diagnostics = {
enable = true,
},
})
end,
},
-- Tmux Navigation
{
"aserowy/tmux.nvim",
config = function() require("tmux").setup() end
},
-- Find & Search LSP Tags
'liuchengxu/vista.vim',
{
"roobert/f-string-toggle.nvim",
config = function()
require("f-string-toggle").setup{
key_binding = "<leader>g"
}
end,
},
-- Snippets
'rafamadriz/friendly-snippets',
-- Rename and Work with Buffer & Tabs
'pacha/vem-tabline',
-- 'pacha/vem-tabline',
{'romgrk/barbar.nvim',
dependencies = 'nvim-tree/nvim-web-devicons',
version = '^1.0.0', -- optional: only update when a new 1.x version is released
},
-- Nvim Tree File Manager on the Left
'nvim-tree/nvim-tree.lua',
-- Trouble Shows Errors with Files.
{
"folke/trouble.nvim",
dependencies = { 'kyazdani42/nvim-web-devicons' },
dependencies = { 'nvim-tree/nvim-web-devicons' },
config = function()
require("trouble").setup {
}
@ -57,11 +157,24 @@ return {
}
end
},
"hrsh7th/nvim-cmp", -- optional, for completion
-- Top Right Notify Pop Up
'rcarriga/nvim-notify',
{'akinsho/toggleterm.nvim', version = "*", opts = {
direction = 'float',
}},
-- echasnovski Mini Modules (Selected)
------------------------------------------------------------
-- echasnovski's Minis get a section of their own...
------------------------------------------------------------
{
'echasnovski/mini.comment', version = '*',
config = function()
require('mini.comment').setup()
end
},
{
'echasnovski/mini.move',
config = function()
@ -110,29 +223,29 @@ return {
------------------------------------------------------------
{
'jakewvincent/mkdnflow.nvim',
"iamcco/markdown-preview.nvim",
build = "cd app && npm install",
ft = "markdown",
lazy = true,
keys = { { "gm", "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown Preview" } },
config = function()
require('mkdnflow').setup({
mappings = {
MkdnToggleToDo = {{'i', 'n'}, '<C-Space>'},
MkdnNewListItem = {{'i'}, '<CR>'},
MkdnEnter = {{'n'}, '<CR>'},
MkdnTableNextCell = false,
MkdnTab = {{'i',}, '<Tab>'},
MkdnSTab = {{'i'}, '<S-Tab>'},
MkdnFollowLink = {'n', '<leader>p'}
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,
},
wrap = true
})
--[[
{ 'toppair/peek.nvim',
build = 'deno task --quiet build:fast',
config = function()
require('peek').setup()
end
},
{ "iamcco/markdown-preview.nvim", build = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = {
"markdown" } end, ft = { "markdown" }, },
-- Prettier Plugin for Neovim specifically
'MunifTanjim/prettier.nvim',
]]--
-- DAP (Debug adaptor Protocol)
'mfussenegger/nvim-dap',
@ -149,28 +262,45 @@ return {
'sidebar-nvim/sidebar.nvim',
config = function()
require("sidebar-nvim").setup({
side = "right",
sections = {
"symbols",
"git",
"symbols",
"diagnostics",
"todos",
},
initial_width = 45,
hide_statusline = true,
todos = {
initially_closed = false, -- whether the groups should be initially closed on start. You can manually open/close groups later.
}
},
diagnostics = {
icon = "",
},
})
end
},
{
'rcarriga/nvim-dap-ui', dependencies = {"mfussenegger/nvim-dap"}
},
---------------------------------------------------------
-- Text, Icons, Symbols
----------------------------------------------------------
'lukas-reineke/indent-blankline.nvim',
{
'simrat39/symbols-outline.nvim',
-- 'nvim-tree/nvim-web-devicons',
'folke/lsp-colors.nvim',
config = function()
require('symbols-outline').setup()
end
},
{
"j-hui/fidget.nvim",
tag = "legacy",
event = "LspAttach",
opts = {
-- options
},
},
'lukas-reineke/indent-blankline.nvim',
'karb94/neoscroll.nvim',
-- Allow Popups for Telescope etc
@ -191,10 +321,11 @@ return {
-- 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" } },
NOTE = { icon = "", color = "hint", alt = { "INFO" } },
RISK = { icon = "", color = "hint", alt = { "RISK" } },
SENG = { icon = "", color = "test", alt = { "SOLUTIONS", "SE", "WORKAROUND" } },
},
highlight = {
@ -222,11 +353,11 @@ return {
-----------------------------------------------------------
-- Various Color Schemes, Dashboard, etc
-----------------------------------------------------------
'tanvirtin/monokai.nvim',
'gbprod/nord.nvim',
'Mofiqul/dracula.nvim',
'lunarvim/colorschemes',
'ray-x/starry.nvim',
'rose-pine/neovim',
'EdenEast/nightfox.nvim',
'catppuccin/nvim',
{
"folke/tokyonight.nvim",
@ -234,17 +365,49 @@ return {
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
-- load the colorscheme here
vim.cmd([[colorscheme tokyonight]])
-- vim.cmd([[colorscheme tokyonight]])
end,
},
{ "bluz71/vim-moonfly-colors", name = "moonfly", lazy = true, priority = 1000 },
'Bekaboo/deadcolumn.nvim',
{
'feline-nvim/feline.nvim',
dependencies = { 'kyazdani42/nvim-web-devicons' },
"dustypomerleau/tol.nvim",
lazy = false, -- load the colorscheme at startup
priority = 1000, -- load colorscheme first
config = true,
},
'ellisonleao/glow.nvim',
-- Plugin that causes your code to crumble >:)
-- 'eandrju/cellular-automaton.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'
'wakatime/vim-wakatime',
----------------------------------------------
--- Custom Plugins and Tests
----------------------------------------------
{
dir = '/Users/normrasmussen/Documents/Projects/tasksPlugin.nvim/',
dev = true,
name = "Mkdn Tasks (DEV)",
},
}

View File

@ -0,0 +1,30 @@
return {
"jay-babu/mason-null-ls.nvim",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"williamboman/mason.nvim",
"jose-elias-alvarez/null-ls.nvim",
},
config = function ()
require("mason-null-ls").setup({
ensure_installed = nil,
automatic_installation = true,
})
local null_ls = require'null-ls'
null_ls.setup({
debug = true,
sources = {
null_ls.builtins.diagnostics.markdownlint.with({
extra_args = { "--disable", "MD024", "MD013", "--" }}),
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
}

View File

@ -1,22 +0,0 @@
return {
-- Easy Way to install Language Servers
{ 'williamboman/mason.nvim',
},
'williamboman/mason-lspconfig.nvim',
'neovim/nvim-lspconfig',
config = function()
require("mason").setup()
local lsp_installer = require("mason-lspconfig").setup({
automatic_instalsation = true,
ui = {
icons = {
server_installed = "",
server_pending = "",
server_uninstalled = ""
}
}
})
end
}

View File

@ -0,0 +1,20 @@
return {
'jakewvincent/mkdnflow.nvim',
config = function()
require('mkdnflow').setup({
mappings = {
MkdnToggleToDo = {{'i', 'n'}, '<C-Space>'},
MkdnNewListItem = {{'i'}, '<CR>'},
MkdnEnter = {{'n'}, '<CR>'},
MkdnTableNextCell = false,
MkdnTab = {{'i',}, '<Tab>'},
MkdnSTab = {{'i'}, '<S-Tab>'},
MkdnFollowLink = {{'n'}, '<leader>p'}
},
links = {
name_is_source = true,
conceal = true,
},
})
end,
}

View File

@ -1,20 +0,0 @@
return {
'jose-elias-alvarez/null-ls.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
},
config = function ()
local null_ls = require'null-ls'
null_ls.setup({
debug = true,
sources = {
null_ls.builtins.completion.spell,
null_ls.builtins.diagnostics.codespell,
null_ls.builtins.diagnostics.markdownlint.with({ extra_args = { "--disable", "MD013", "MD024", "--" }
,}),
null_ls.builtins.diagnostics.pycodestyle.with({ extra_args = { "--max-line-length=150" }}),
null_ls.builtins.formatting.black.with({ extra_args = { "--fast" }}),
},
})
end
}

View File

@ -8,6 +8,7 @@ return {
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-cmdline',
'hrsh7th/nvim-cmp',
'hrsh7th/cmp-calc',
'saadparwaiz1/cmp_luasnip',
'hrsh7th/cmp-nvim-lsp-signature-help',
'f3fora/cmp-spell',
@ -22,18 +23,35 @@ return {
if not luasnip_status_ok then
return
end
--cmp.setup {
require("luasnip.loaders.from_vscode").lazy_load()
cmp.setup({
-- Load snippet support
--snippet = {
-- expand = function(args)
-- luasnip.lsp_expand(args.body)
-- },
snippet = {
expand = function(args)
require('luasnip').lsp_expand(args.body)
end
},
-- Completion settings
completion = {
--completeopt = 'menu,menuone,noselect'
keyword_length = 2
keyword_length = 1
},
window = {
completion = {
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,Search:None",
col_offset = -3,
side_padding = 0,
border = 'rounded',
scrollbar = '+',
},
documentation = {
border = 'rounded',
scrollbar = '|',
}
},
-- Key mapping
mapping = {
@ -68,16 +86,47 @@ return {
else
fallback()
end
end
}
-- Load sources, see: https://github.com/topics/nvim-cmp
end,
},
sources = {
{ name = 'nvim-lsp' },
{ name = 'luasnip' },
{ name = 'nvim_lsp', },
{ name = 'luasnip', },
{ name = 'path' },
{ name = 'calc' },
{ name = 'nvim_lsp_signature_help' },
{ name = 'buffer' },
{ name = 'zsh' },
},
formatting = {
fields = {'menu', 'abbr', 'kind'},
format = function(entry, item)
local menu_icon = {
nvim_lsp = 'λ',
luasnip = '',
buffer = 'Ω',
path = '',
calc = '󰃬',
nvim_lsp_signature_help = '󰷼',
}
item.menu = menu_icon[entry.source.name]
return item
end,
},
sorting = {
comparators = {
cmp.config.compare.offset,
cmp.config.compare.exact,
cmp.config.compare.score,
cmp.config.compare.recently_used,
require("cmp-under-comparator").under,
cmp.config.compare.kind,
},
},
})
-- Set up lspconfig.
local capabilities = require('cmp_nvim_lsp').default_capabilities()
-- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled.
require'lspconfig'.pyright.setup {
capabilities = capabilities
}
end
}

View File

@ -0,0 +1,73 @@
return {
'neovim/nvim-lspconfig',
config = function()
-- Setup language servers.
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 },
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)
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,
})
end
}

View File

@ -4,21 +4,23 @@
--end
return {
-- Treesitter interface
'nvim-treesitter/nvim-treesitter',
--build = ":TSUpdate"
build = ":TSUpdate",
config = function ()
require('nvim-treesitter.install').update({ with_sync = true })
local configs = require("nvim-treesitter.configs")
configs.setup({
-- 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',
}
sync_install = true
},
sync_install = true,
highlight = {
-- `false` will disable the whole extension
enable = true,
additional_vim_regex_highlighting = true,
}
},
indent = { enable = true },
})
end
}

View File

@ -0,0 +1,16 @@
return {
'linguini1/pulse.nvim',
version = "*",
config = function()
local pulse = require("pulse")
pulse.setup({level = vim.log.levels.DEBUG})
pulse.add("Send Krista Message", {
interval = 60,
message = "Tell Krista that you Love Her!",
enabled = True,
})
end
}

View File

@ -1,6 +1,6 @@
return {
{
'nvim-telescope/telescope.nvim', tag = '0.1.0',
'nvim-telescope/telescope.nvim', tag = '0.1.1',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-telescope/telescope-live-grep-args.nvim',
@ -114,13 +114,13 @@ return {
preview = {
treesitter = {
enable = {
'css', 'dockerfile', 'elixir', 'erlang', 'fish',
'css', 'dockerfile', 'elixir', 'erlang', 'zsh',
'html', 'http', 'javascript', 'json', 'lua', 'php',
'python', 'regex', 'ruby', 'rust', 'scss', 'svelte',
'typescript', 'vue', 'yaml', 'markdown', 'bash', 'c',
'python', 'regex', 'ruby', 'rust', 'scss',
'typescript', 'yaml', 'markdown', 'bash', 'c',
'cmake', 'comment', 'cpp', 'dart', 'go', 'jsdoc',
'json5', 'jsonc', 'llvm', 'make', 'ninja', 'prisma',
'proto', 'pug', 'swift', 'todotxt', 'toml', 'tsx',
'json5', 'jsonc', 'llvm', 'make', 'ninja',
'todotxt', 'toml', 'help'
}
}
},
@ -138,7 +138,8 @@ return {
["<C-y>"] = fb_actions.copy,
["<C-r>"] = fb_actions.rename,
["<C-w>"] = fb_actions.goto_cwd,
["<C-o>"] = fb_actions.open
["<C-o>"] = fb_actions.open,
["<C-d>"] = fb_actions.remove,
},
},
},
@ -151,9 +152,10 @@ return {
}
})
require("telescope").load_extension "file_browser"
require("telescope").load_extension "mapper"
require("telescope").load_extension "live_grep_args"
require("telescope").load_extension "fzf"
require("telescope").load_extension "adjacent"
require("telescope").load_extension "pulse"
end
}}

View File

@ -286,3 +286,56 @@ 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

View File

@ -1,74 +0,0 @@
# ~/.config/starship.toml
format = """
$character\
$directory\
$username\
$hostname\
$python\
$os\
$shell\
$fill\
$git_branch$git_commit$git_state$git_status
[>... ](fg:purple)
"""
#right_format = "$memory_usage$git_metrics"
scan_timeout = 10
add_newline = false
palette = 'dracula'
[character]
error_symbol = '[\(ಠ_ಠ\)](fg:red)'
success_symbol = '[¯\\_\(ツ\)_/¯](fg:green)'
[directory]
truncation_length = 8
[fill]
symbol = '-'
style = 'bold grey'
[python]
format = '$symbol ($virtualenv)($style)'
[git_branch]
symbol = '🌱 '
truncation_length = 4
truncation_symbol = ''
always_show_remote = true
format = '[$symbol$branch(:$remote_branch)]($style) '
[git_status]
style = 'bold white'
#conflicted = '🏳'
#ahead = '🏎💨'
#behind = '😰'
#diverged = '😵'
#up_to_date = grey'✓'
#untracked = '🤷'
#stashed = '📦'
#modified = '📝'
staged = '[++\($count\)](green)'
#renamed = '👅'
#deleted = '🗑'
[memory_usage]
disabled = false
format = ' $symbol [${ram_pct}](${style})'
threshold = -1
symbol = '🧙'
style = 'bold green'
[palettes.dracula]
black = '#282a36'
grey ='#44475a'
white = '#f8f8f2'
blue ='#6272a4'
cyan = '#8be9fd'
green = '#50fa7b'
orange = '#ffb86c'
pink = '#ff79c6'
purple = '#bd93f9'
red = '#ff5555'
yellow = '#f1fa8c'

Submodule tmux/.config/tmux/plugins/tmux updated: a966029b99...79068c40b3

Submodule tmux/.config/tmux/plugins/tmux-autoreload deleted from e98aa3b74c

Submodule tmux/.config/tmux/plugins/tmux-colortag deleted from 72ef7174f6

Submodule tmux/.config/tmux/plugins/tmux-continuum updated: fc2f31d795...3e4bc35da4

Submodule tmux/.config/tmux/plugins/tmux-fuzzback deleted from 6031244ae0

Submodule tmux/.config/tmux/plugins/tmux-net-speed deleted from 58abb61597

Submodule tmux/.config/tmux/plugins/tmux-network-bandwidth deleted from 63c6b3283d

Submodule tmux/.config/tmux/plugins/tmux-nova deleted from 7bd3bceb99

Submodule tmux/.config/tmux/plugins/tmux-open-nvim deleted from 2f4818d0d2

Submodule tmux/.config/tmux/plugins/tmux-peacock deleted from b9bce7e817

Submodule tmux/.config/tmux/plugins/tmux-resurrect updated: 027960ad25...cff343cf9e

Submodule tmux/.config/tmux/plugins/tmux-sensible updated: 5d089e418e...25cb91f42d

Submodule tmux/.config/tmux/plugins/tmux-sidebar deleted from aacbdb45bc

Submodule tmux/.config/tmux/plugins/tmux-ssh-status deleted from 5d786c676f

Submodule tmux/.config/tmux/plugins/tmux-themepack deleted from 7c59902f64

Submodule tmux/.config/tmux/plugins/tmux-weather deleted from 28a5fbe75b

Submodule tmux/.config/tmux/plugins/tokyo-night-tmux deleted from 26617ca796

Submodule tmux/.config/tmux/plugins/tpm updated: b699a7e01c...99469c4a9b

Submodule tmux/.config/tmux/plugins/vim-tmux-navigator updated: 9ca5bfe5bd...cdd66d6a37

View File

@ -1,3 +1,9 @@
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"
# Standard Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@ -6,16 +12,8 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# synchronize panes toggle - literally typing at the same time in both panes!
# unbind C-s
# bind C-y set-window-option synchronize-panes
# Search your Scrollback using fzf
set -g @plugin 'roosta/tmux-fuzzback'
# Open files in Neovim from another pane
# Might not work on ZSH. Commenting out for now.
# set -g @plugin 'trevarj/tmux-open-nvim'
# set -g @plugin 'roosta/tmux-fuzzback'
# Allow Focus Events
set -g focus-events on
@ -23,62 +21,37 @@ 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'
# Navigating Vim & Tmux Panes
# Smart pane switching with awareness of Vim splits.
#is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
#bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
#bind-key -n 'C-j' if-shell "$is_vim" 'send-keys C-j' 'select-pane -D'
#bind-key -n 'C-k' if-shell "$is_vim" 'send-keys C-k' 'select-pane -U'
#bind-key -n 'C-l' if-shell "$is_vim" 'send-keys C-l' 'select-pane -R'
#tmux_version='$(tmux -V | sed -En "s/^tmux ([0-9]+(.[0-9]+)?).*/\1/p")'
#if-shell -b '[ "$(echo "$tmux_version < 3.0" | bc)" = 1 ]' \
# "bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\' 'select-pane -l'"
#if-shell -b '[ "$(echo "$tmux_version >= 3.0" | bc)" = 1 ]' \
"bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\\\' 'select-pane -l'"
#bind-key -T copy-mode-vi 'C-h' select-pane -L
#bind-key -T copy-mode-vi 'C-j' select-pane -D
#bind-key -T copy-mode-vi 'C-k' select-pane -U
#bind-key -T copy-mode-vi 'C-l' select-pane -R
#bind-key -T copy-mode-vi 'C-\' select-pane -l
# Themes
# set -g @plugin 'o0th/tmux-nova'
#set -g @plugin "janoamaral/tokyo-night-tmux"
# Dracula
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "git weather network-ping cpu-usage time"
set -g @dracula-plugins "git network-ping cpu-usage time"
set -g @dracula-show-location false
set -g @dracula-fixed-location "Parsippany, NJ"
set -g @dracula-show-powerline true
set -g @dracula-show-flags true
set -g @dracula-show-left-icon window
set -g @dracula-border-contrast true
set -g @dracula-ping-server "overras.duckdns.org"
set -g @dracula-ping-server "google.com"
set -g @dracula-ping-rate 5
set -g @dracula-cpu-usage-label " "
set -g @dracula-cpu-usage-colors "pink dark_gray"
set -g @dracula-git-show-current-symbol ✓
set -g @dracula-git-show-diff-symbol !
set -g @dracula-git-no-repo-message ⊚
set -g @dracula-show-timezone false
set -g @dracula-military-time true
run-shell ~/clone/path/continuum.tmux
# Autoreload tmux.conf
set-option -g @plugin 'b0o/tmux-autoreload'
# Initiazlie TMUX plugin manager - kept at bottom of file
run '~/.config/tmux/plugins/tpm/tpm'
run '~/.dotfiles/tmux/.config/tmux/plugins/tpm/tpm'

View File

@ -1,24 +0,0 @@
# /Users/normrasmussen/.config/tmuxinator/NvimTemplates.yml
name: Northpass
root: ~/
windows:
- notes:
root: ~/Documents/Work/CustomerNotes
panes:
- nvim
- templates:
root: ~/Documents/Work/Custom_Templates/customer_templates/
panes:
- nvim
- scripts:
root: ~/Documents/Work/Scripts
layout: main-horizontal
panes:
- nvim
- pyenv activate np_scripts
- dots:
root: ~/.config/nvim/
panes:
- nvim
- tut-tut: tut

55
tmuxp/Work.yaml Normal file
View File

@ -0,0 +1,55 @@
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

65
zsh/.zshrc Normal file
View File

@ -0,0 +1,65 @@
# 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 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"
# source /Users/normrasmussen/.docker/init-zsh.sh || true # Added by Docker Desktop
export PATH="$PATH:$HOME/.rvm/bin"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH="/opt/homebrew/sbin:$PATH"
export PATH="/opt/homebrew/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 ~/.dotfiles/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.dotfiles/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

8
zsh/.zshrc.minimal Normal file
View File

@ -0,0 +1,8 @@
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 added at c3d4e576c9

Submodule zsh/zsh-syntax-highlighting added at 143b25eb98

15
zsh_issues.md Normal file
View 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`