Compare commits

..

44 Commits

Author SHA1 Message Date
036a55effc goose 2025-06-17 21:38:27 +00:00
8345f91cc8 avante 2025-06-17 21:35:41 +00:00
b5e0e2ebf5 idk 2025-06-17 21:33:39 +00:00
1f30ce43c7 google 2025-06-17 21:33:39 +00:00
edf9ae6ada fix conform 2025-06-14 16:30:55 -05:00
28ac8a99b9 fix fzf 2025-05-25 22:37:48 -05:00
8b3bd23fa6 honesly who knows 2025-05-06 18:16:43 +00:00
e4efa6b209 avante 2025-04-11 09:39:33 -05:00
e588888143 bs blink/cmp 2025-04-01 19:08:23 +00:00
d261f8b3bd fix hg revision 2025-04-01 18:36:44 +00:00
5f814e7560 update 2025-03-25 16:04:57 -05:00
f9a40408aa flash 2025-03-21 19:08:30 -05:00
a6eee81db6 fix format 2025-03-17 15:51:27 -05:00
a9a196baf1 wow rookie mistake 2025-03-17 19:39:18 +00:00
2907bda8d3 more git 2025-03-17 19:31:37 +00:00
348b966c1a bigfile 2025-03-17 19:31:37 +00:00
736ba50a7a signify bug 2025-03-17 19:31:37 +00:00
758afadb6f signify cmds for git 2025-03-17 19:31:37 +00:00
4c5bd3505f stuff 2025-03-16 18:04:13 -05:00
76686a0e87 godot and telescope ripgrep 2025-03-16 16:41:20 -05:00
f595b1fcfa wayland clipboard support 2025-03-07 13:55:29 -06:00
8dc9131c46 uhhhh 2025-03-05 22:07:33 -06:00
27f00e77e6 clean stuff 2025-03-04 15:50:32 -06:00
d56eb258cd hg alias 2025-03-04 19:04:44 +00:00
a1880dcdad ugh 2025-03-04 19:03:57 +00:00
e242d6eb56 recursive config load 2025-03-01 08:55:10 -06:00
3554761a0c fix lsp 2025-03-01 08:21:09 -06:00
3b3f3c05bd gitconfig 2025-02-25 19:55:02 -06:00
8643bd99f3 signify 2025-02-23 14:49:29 -06:00
9d5f671e4f rm godot lsp 2025-02-20 15:10:42 +00:00
52dbbb30fd blip 2025-02-20 15:07:28 +00:00
ee8d429c66 fix lsp 2025-02-20 14:54:42 +00:00
a079ad36cc rm harpoon 2025-02-20 14:49:29 +00:00
e53d35ed17 stuff 2025-02-20 14:48:34 +00:00
55b8aab06a separator 2025-02-20 02:59:34 -06:00
2e945be118 stuff and things 2025-02-20 00:40:59 -06:00
4d94c9cad7 format RON files 2025-02-11 12:53:27 -06:00
53fdcbb4dc lock 2025-02-10 22:59:53 -06:00
6e33c078e5 format json command 2025-02-10 22:58:09 -06:00
c04a169229 conform 2025-02-05 19:01:25 +00:00
e0daf87594 stuff 2025-02-05 18:20:41 +00:00
270934d29c speedup hg with chg 2025-02-05 18:12:43 +00:00
053eeb07fd googlepaths 2025-02-05 18:01:16 +00:00
8b8046878f bufferline 2025-02-05 17:20:48 +00:00
49 changed files with 38016 additions and 1048 deletions

View File

@ -1,6 +1,6 @@
[font] [font]
size = 12 size = 14
normal = { family = "ComicCodeLigatures Nerd Font Light" } normal = { family = "CommitMono Nerd Font" }
[window] [window]
option_as_alt = "OnlyLeft" option_as_alt = "OnlyLeft"
@ -13,35 +13,37 @@ decorations = "None"
[colors] [colors]
draw_bold_text_with_bright_colors = true draw_bold_text_with_bright_colors = true
# Default colors
[colors.primary]
background = '#1e2024'
foreground = '#a1a3a8'
# Normal colors
[colors.normal]
black = '#27272a'
blue = '#5e7fdd'
cyan = '#97c3fa'
green = '#90b99f'
magenta = '#e29eca'
red = '#d45d9e'
white = '#c9c7cd'
yellow = '#f0ea2d'
# Bright colors
[colors.bright] [colors.bright]
black = "#949494" black = '#353539'
blue = "#74b2ff" blue = '#a7b3dd'
cyan = "#85dc85" cyan = '#6de6fc'
green = "#36c692" green = '#a8fc8d'
magenta = "#ae81ff" magenta = '#eb4cce'
red = "#ff5189" red = '#ca72de'
white = "#e4e4e4" white = '#c9c7cd'
yellow = "#c6c684" yellow = '#f7f48d'
[colors.cursor] [colors.cursor]
cursor = "#8e8e8e" cursor = "#8e8e8e"
text = "#080808" text = "#080808"
[colors.normal]
black = "#323437"
blue = "#80a0ff"
cyan = "#79dac8"
green = "#8cc85f"
magenta = "#cf87e8"
red = "#ff5454"
white = "#c6c6c6"
yellow = "#e3c78a"
[colors.primary]
background = "#080808"
bright_foreground = "#eeeeee"
foreground = "#bdbdbd"
[colors.selection] [colors.selection]
background = "#b2ceee" background = "#b2ceee"
text = "#080808" text = "#080808"

View File

@ -0,0 +1,9 @@
<KeyPair>
<Properties>
<Provider Type="1" />
<Container Name="98f3a7e3-0d6e-f432-8a18-e1144b53633f" />
</Properties>
<KeyValue>
<RSAKeyValue><Modulus>l97jvAiPd88/KZ5NjMGFg+EaAC9rk50nPVJPlX+cGX6irHt+haXvMJ+b/Lh8JFtSw01cf+TJJwNmO0Hzdv0tF35CmXuOkeJAXVa0JNoGLaXxtdqO2ZxD8Lt8OYj/ueAX/zKiWmet3DP4gT1qTXn/mON+hFB6sZ2f2MLwadm7joCTPPsxZxAluxjk+XGajBFKRp3/u8CYRu5C98K7QUU0RwSBiccFUrUytqBz4Dsn8a1YakwcApmCl+sJF7RW6obf</Modulus><Exponent>AQAB</Exponent><P>sJS6yQDEMEdlmtWW8mPx7ZEEu/Zn8ahkJoAas7AToNNUaunZv+PpDS9K0dQO6sPOG/Dvwgm9AtHYrswUIRI0ts84PNvvt4yJfDXVUOFgnCuv6v71yhbxlRkbWGdBeyB3</P><Q>3C0NJwOEZ1yE8piwHm1n3fEaB5tRBYFyEZ309OjBPmbUiaq1Cx/lV2LzEFrQ0RSNpWhijBk8nObwzoBDi1gkFmen9i5STX5nHQiwUnuCZfhShxOvL/yMD7R8qZ/fRo7Z</Q><DP>hciZX7KR8ZYWV+HdVFX+tKP7t0Dv7bpL7pN+J4eOx3l1au80B9tv9YpQIHuOtbWWEbtQm21vY5SDm6OI2KmHgL2s+QcVLrZub8oFjRrEbG35AY0bwXnynKkB+893YAbv</DP><DQ>ctw5yUmHcBiO7rQC5My0a88UgjVfbhzaciBSItWtwi0I4Yyhh90q2oyvOq/10a0EO+8ZwfaEbWH46/FzyyS/JsUKlV4S54RyrG3U9iKioymJfBgjw0fflW3VvvO9GeT5</DQ><InverseQ>U0UtjaLfCsBcJcSLlZWX9Ziovt9iFjF8JnpN+lk2C8Uz4I4y62xMZmazEf5G/liEsL1SKNFdSWfRyZdzS7e6/tcNhc72bfSCldXRB2mrwfl2YRw3bVdSMoKUBqdpWVs6</InverseQ><D>KttNLLzFr6ueSWJQxA3AXaziJ3c6RleswRM/PhLavB8OTNo0pAZlbzU7UZ/F+ISE4HQuTDEFyqqc6M/9onBjjyOkK6fAXc6ZFz3mbBfScoNHqGfas/HzAjYGIj5U2+EutHDAUhFmfGiiZ1DmwrFcyI5X9Q5foPwXw+uDOUXVU1TtnSzJanvZEaPB90Bvc179gEIXJr26Dbl7ZGGQTGtOUBsFEnMGMh5/tcby8d5PWcFJr1iYDKG1N93xEYrlo7Th</D></RSAKeyValue>
</KeyValue>
</KeyPair>

View File

@ -0,0 +1,4 @@
<LocationServerMappings>
<ServerMapping location="https://app.vssps.visualstudio.com/" guid="a5ca35eb-148e-4ccd-bbb3-d31576d75958" owner="951917ac-a960-4999-8464-e3f0aa25b381" />
<ServerMapping location="https://api.vstsusers.visualstudio.com/" guid="2dba3f49-86e9-f22a-b81f-b604f401cfbe" owner="00000038-0000-8888-8000-000000000000" />
</LocationServerMappings>

View File

@ -0,0 +1,11 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=540
GeometryY=351
GeometryWidth=720
GeometryHeight=540
SortColumn=name
SortOrder=ascending
StartupMode=recent

View File

@ -3,4 +3,4 @@ set nowrap
set tabstop=4 set tabstop=4
set softtabstop=4 set softtabstop=4
set shiftwidth=4 set shiftwidth=4
set noexpandtab set expandtab

View File

@ -1,3 +1,7 @@
set tabstop=2 set tabstop=2
set softtabstop=2
set shiftwidth=2 set shiftwidth=2
set softtabstop=2
set expandtab
set textwidth=80
set colorcolumn=80

View File

@ -1,5 +1,6 @@
vim.cmd("source " .. vim.env.HOME .. "/.vimrc") vim.cmd("source " .. vim.env.HOME .. "/.vimrc")
vim.g.maplocalleader = ","
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ vim.fn.system({
@ -12,25 +13,18 @@ if not vim.loop.fs_stat(lazypath) then
end end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
vim.opt.rtp:prepend(vim.env.HOME .. "/.vim") vim.opt.rtp:prepend(vim.env.HOME .. "/.vim")
vim.opt.rtp:prepend(vim.env.HOME .. "/.vim/lua") local luahome = vim.env.HOME .. "/.vim/lua"
vim.opt.rtp:prepend(luahome)
package.path = package.path .. ";" .. vim.env.HOME .. "/.vim/lua/?.lua" package.path = package.path .. ";" .. vim.env.HOME .. "/.vim/lua/?.lua"
require("config.clipboard") for _, file in ipairs(vim.fn.readdir(luahome .. "/config", [[v:val =~ '\.lua$']])) do
require("config.tmpl") require("config" .. "." .. file:gsub("%.lua$", ""))
require("config.zip") end
require("lazy").setup({ require("lazy").setup({
-- this entry tells lazy.nvim to load the list of of *.lua files from plugins/ -- this entry tells lazy.nvim to load the list of of *.lua files from plugins/
import = "plugins", import = "plugins",
-- Dev configuration
dev = {
-- Directory where you store your local plugin projects
path = "~/neovim-plugins/squk/",
-- @type string[] plugins that match these patterns will use your local versions instead of being fetched from GitHub
patterns = { "squk" },
fallback = false, -- Fallback to git when local plugin doesn't exist
},
}) })
vim.opt.undodir = vim.fn.expand("$HOME") .. "/.undo/" vim.opt.undodir = vim.fn.expand("$HOME") .. "/.undo/"

View File

@ -1,3 +1,3 @@
{ {
"lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" } "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }
} }

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,112 @@
<PcFileCache>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/mono-options.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/mono.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/expat.pc" lastWriteTime="2022-06-14T12:57:28-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/glade-sharp-2.0.pc" lastWriteTime="2022-06-14T14:25:49-05:00" name="glade-sharp-2.0" version="2.12.45" description="Glade# - Glade .NET Binding" requires="gtk-sharp-2.0" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="glade-sharp" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/glade-sharp.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/monodoc.pc" lastWriteTime="2022-06-14T14:13:23-05:00" name="monodoc" version="6.12.0" description="Monodoc - Mono Documentation Tools" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="monodoc" version="1.0.0.0" culture="neutral" publicKeyToken="0738eb9f132ed756" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/monodoc/monodoc.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/librsvg-2.0.pc" lastWriteTime="2022-06-14T12:58:20-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-ft.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/system.web.mvc3.pc" lastWriteTime="2022-06-14T14:13:23-05:00" name="system.web.mvc3" version="3.0.0.0" description="System.Web.Mvc - ASP.NET MVC v3" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="System.Web.Mvc" version="3.0.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/System.Web.Mvc/3.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/xsp-2.pc" lastWriteTime="2022-06-14T14:24:43-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gapi-2.0.pc" lastWriteTime="2022-06-14T14:25:45-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gio-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/system.web.mvc2.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gio-unix-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/wcf.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-quartz-image.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/pango.pc" lastWriteTime="2022-06-14T12:52:07-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gdk-quartz-2.0.pc" lastWriteTime="2022-06-14T12:56:30-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gobject-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/xbuild12.pc" lastWriteTime="2022-06-14T14:13:23-05:00" name="xbuild12" version="12.0" description="XBuild/MSBuild 12.0" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="Microsoft.Build.Engine" version="12.0.0.0" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Build.Engine.dll" />
<Assembly name="Microsoft.Build.Framework" version="12.0.0.0" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Build.Framework.dll" />
<Assembly name="Microsoft.Build.Tasks.v12.0" version="12.0.0.0" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Build.Tasks.v12.0.dll" />
<Assembly name="Microsoft.Build.Utilities.v12.0" version="12.0.0.0" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Build.Utilities.v12.0.dll" />
<Assembly name="Microsoft.Build" version="12.0.0.0" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/xbuild/12.0/bin/Microsoft.Build.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gtk+-quartz-2.0.pc" lastWriteTime="2022-06-14T12:56:30-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-pdf.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libcroco-0.6.pc" lastWriteTime="2022-06-14T12:57:56-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gdk-pixbuf-2.0.pc" lastWriteTime="2022-06-14T12:52:49-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gtk-dotnet-2.0.pc" lastWriteTime="2022-06-14T14:25:50-05:00" name="gtk-dotnet-2.0" version="2.12.45" description=".NET Extensions for Gtk" requires="gtk-sharp-2.0" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="gtk-dotnet" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/gtk-dotnet.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/mono-lineeditor.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/system.web.mvc.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/atk.pc" lastWriteTime="2022-06-14T12:52:21-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/glib-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/reactive.pc" lastWriteTime="2022-06-14T14:13:23-05:00" name="reactive" version="6.12.0" description="Reactive Extensions" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="System.Reactive.Interfaces" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Interfaces.dll" />
<Assembly name="System.Reactive.Core" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Core.dll" />
<Assembly name="System.Reactive.Linq" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Linq.dll" />
<Assembly name="System.Reactive.PlatformServices" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.PlatformServices.dll" />
<Assembly name="System.Reactive.Providers" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Providers.dll" />
<Assembly name="System.Reactive.Debugger" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Debugger.dll" />
<Assembly name="System.Reactive.Experimental" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Experimental.dll" />
<Assembly name="System.Reactive.Runtime.Remoting" version="2.2.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/System.Reactive.Runtime.Remoting.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-fc.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/freetype2.pc" lastWriteTime="2022-06-14T12:46:29-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/system.web.extensions_1.0.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/system.web.extensions.design_1.0.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gdk-2.0.pc" lastWriteTime="2022-06-14T12:56:30-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/monosgen-2.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gtk+-unix-print-2.0.pc" lastWriteTime="2022-06-14T12:56:30-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libffi.pc" lastWriteTime="2022-06-14T12:48:31-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/pangocairo.pc" lastWriteTime="2022-06-14T12:52:07-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/aspnetwebstack.pc" lastWriteTime="2022-06-14T14:13:23-05:00" name="aspnetwebstack" version="6.12.0" description="References Microsoft ASP.NET Web Stack" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="System.Web.Razor" version="2.0.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/System.Web.Razor/2.0.0.0__31bf3856ad364e35/System.Web.Razor.dll" />
<Assembly name="System.Web.Http" version="4.0.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/System.Web.Http/4.0.0.0__31bf3856ad364e35/System.Web.Http.dll" />
<Assembly name="System.Web.WebPages" version="2.0.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/System.Web.WebPages/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.dll" />
<Assembly name="System.Web.WebPages.Razor" version="2.0.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/System.Web.WebPages.Razor/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Razor.dll" />
<Assembly name="System.Web.WebPages.Deployment" version="2.0.0.0" culture="neutral" publicKeyToken="31bf3856ad364e35" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/System.Web.WebPages.Deployment/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Deployment.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/ige-mac-integration.pc" lastWriteTime="2022-06-14T12:57:43-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/mono-cairo.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gmodule-export-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/dotnet35.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-png.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libtiff-4.pc" lastWriteTime="2022-06-14T12:45:34-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/glib-sharp-2.0.pc" lastWriteTime="2022-06-14T14:25:46-05:00" name="glib-sharp-2.0" version="2.12.45" description="GLib# - .NET Binding for the glib library." targetFramework=".NETFramework,Version=v4.0">
<Assembly name="glib-sharp" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/glib-sharp.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gthread-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-svg.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gtk-sharp-2.0.pc" lastWriteTime="2022-06-14T14:25:48-05:00" name="gtk-sharp-2.0" version="2.12.45" description="Gtk# - GNOME .NET Binding" requires="glib-sharp-2.0" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="pango-sharp" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/pango-sharp.dll" />
<Assembly name="atk-sharp" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/atk-sharp.dll" />
<Assembly name="gdk-sharp" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/gdk-sharp.dll" />
<Assembly name="gtk-sharp" version="2.12.0.0" culture="neutral" publicKeyToken="35e10195dab3c99f" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gtk-sharp-2.0/gtk-sharp.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/pixman-1.pc" lastWriteTime="2022-06-14T12:47:09-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gail.pc" lastWriteTime="2022-06-14T12:56:30-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libpng14.pc" lastWriteTime="2022-06-14T12:45:02-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libgdiplus.pc" lastWriteTime="2022-06-14T14:24:25-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-quartz.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/sqlite3.pc" lastWriteTime="2022-06-14T12:57:17-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gmodule-no-export-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-quartz-font.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gtk-engines-2.pc" lastWriteTime="2022-06-14T12:58:49-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/fontconfig.pc" lastWriteTime="2022-06-14T12:46:46-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libxml-2.0.pc" lastWriteTime="2022-06-14T12:46:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/xsp-4.pc" lastWriteTime="2022-06-14T14:24:43-05:00" name="xsp-4" version="4.6" description="Mono.WebServer2.dll - ASP.NET hosting support classes for .NET 4.0" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="Mono.WebServer2" version="0.4.0.0" culture="neutral" publicKeyToken="0738eb9f132ed756" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/4.5/Mono.WebServer2.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/libglade-2.0.pc" lastWriteTime="2022-06-14T12:57:04-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/mono-2.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cecil.pc" lastWriteTime="2022-06-14T14:13:23-05:00" name="cecil" version="6.12.0" description="Mono Internal Libraries -- Do not use" targetFramework=".NETFramework,Version=v4.0">
<Assembly name="Mono.Cecil" version="0.9.5.0" culture="neutral" publicKeyToken="0738eb9f132ed756" file="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/gac/Mono.Cecil/0.9.5.0__0738eb9f132ed756/Mono.Cecil.dll" />
</File>
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-ps.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/cairo-script.pc" lastWriteTime="2022-06-14T12:48:13-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gmodule-2.0.pc" lastWriteTime="2022-06-14T12:51:10-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/dotnet.pc" lastWriteTime="2022-06-14T14:13:23-05:00" />
<File path="/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/pkgconfig/gtk+-2.0.pc" lastWriteTime="2022-06-14T12:56:30-05:00" />
</PcFileCache>

View File

@ -4,5 +4,6 @@ abbr "bq"="blaze query"
abbr "br"="blaze run" abbr "br"="blaze run"
abbr "bt"="blaze test" abbr "bt"="blaze test"
abbr "ds_clean"="find ./ -name \".DS_Store\" -depth -exec rm {} \;" abbr "ds_clean"="find ./ -name \".DS_Store\" -depth -exec rm {} \;"
abbr "gdvim"="nvim --listen /tmp/godot.pipe"
abbr "mux"="tmuxinator" abbr "mux"="tmuxinator"
abbr "replace_string"="replace_string --disable_p4 \"%\" \"%\"" abbr "replace_string"="replace_string --disable_p4 \"%\" \"%\""

9
config/.ripgreprc Normal file
View File

@ -0,0 +1,9 @@
# add gdscript type
--type-add
gd:*.{gd,gdscript}*
# Search hidden files / directories (e.g. dotfiles) by default
--hidden
# Because who cares about case!?
--smart-case

View File

@ -42,10 +42,61 @@
tool = "nvim" tool = "nvim"
[mergetool "nvim"] [mergetool "nvim"]
cmd = nvim -d -c \"wincmd l\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\" cmd = nvim -d -c \"wincmd l\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\"
[diff]
tool = icdiff
[filter "lfs"] [filter "lfs"]
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
process = git-lfs filter-process process = git-lfs filter-process
required = true required = true
# clearly makes git better
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[init]
defaultBranch = main
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
tool = icdiff
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
# why the hell not?
[help]
autocorrect = prompt
[commit]
verbose = true
[rerere]
enabled = true
autoupdate = true
[core]
excludesfile = ~/.gitignore
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
# a matter of taste (uncomment if you dare)
[core]
# fsmonitor = true
# untrackedCache = true
[merge]
# (just 'diff3' if git version < 2.3)
# conflictstyle = zdiff3
[pull]
# rebase = true

View File

@ -16,15 +16,15 @@ opts.vimdiff = -d
# opts.vimdiff = -c ':call ShowMercurialDiff(argv(0), argv(1))' # opts.vimdiff = -c ':call ShowMercurialDiff(argv(0), argv(1))'
[extensions] [extensions]
unsupported.tree = # unsupported.tree =
unsupported.alices = # unsupported.alices =
extdiff = extdiff =
color = # color =
beautifygraph = beautifygraph =
[alices] # [alices]
findings.extra_args = --proxy # findings.extra_args = --proxy
summarize.extra_args = --proxy # summarize.extra_args = --proxy
[merge-tools] [merge-tools]
vimdiff.executable = nvim vimdiff.executable = nvim
@ -51,6 +51,7 @@ dt = icdiff --pager=on
dtex = dt -r exported(.) dtex = dt -r exported(.)
dtp4 = dt -r p4base dtp4 = dt -r p4base
dtup = dt -r .^ dtup = dt -r .^
ra = revert --all
whatsout = status -n --change . --template=hgshort_status whatsout = status -n --change . --template=hgshort_status
what = status -n --change . --template=hgshort_status what = status -n --change . --template=hgshort_status

View File

@ -124,7 +124,7 @@ bind-key C-a set-option -g prefix C-a
# No delay for escape key press # No delay for escape key press
set -sg escape-time 0 set -sg escape-time 0
set -g status-right '#{prefix_highlight} | %a %Y-%m-%d %H:%M' run ~/.tmux/plugins/tmux/catppuccin.tmux
# text for the window when inactive # text for the window when inactive
set -g @catppuccin_window_default_fill "number" set -g @catppuccin_window_default_fill "number"
@ -133,30 +133,27 @@ set -g @catppuccin_window_default_text '#{?#{m/r:^(/google/src)?/cloud/,#{pane_c
set -g @catppuccin_window_current_fill "number" set -g @catppuccin_window_current_fill "number"
set -g @catppuccin_window_current_text '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}' set -g @catppuccin_window_current_text '#{?#{m/r:^(/google/src)?/cloud/,#{pane_current_path}},#{s|^(/google/src)?/cloud/[^/]+/([^/]+).+$|\2|:pane_current_path},#{b:pane_current_path}}'
set -g @catppuccin_pane_status_enabled "yes"
set -g @catppuccin_pane_border_status "top"
set -g @catppuccin_pane_left_separator ""
set -g @catppuccin_pane_right_separator ""
set -g @catppuccin_pane_middle_separator "█ "
set -g @catppuccin_pane_number_position "left"
set -g @catppuccin_pane_default_fill "number"
set -g @catppuccin_status_modules_right "host cpu weather date_time"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "yes"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "no"
set -g @catppuccin_window_status_icon_enable "yes"
set -g @catppuccin_icon_window_last "󰖰"
set -g @catppuccin_icon_window_current "󰖯"
set -g @catppuccin_icon_window_zoom "󰁌"
set -g @catppuccin_icon_window_mark "󰃀"
set -g @catppuccin_icon_window_silent "󰂛"
set -g @catppuccin_icon_window_activity "󰖲"
set -g @catppuccin_icon_window_bell "󰂞" set -g @catppuccin_icon_window_bell "󰂞"
# Make the status line pretty and add some modules
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -agF status-right "#{E:@catppuccin_status_cpu}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -agF status-right "#{E:@catppuccin_status_battery}"
# List of plugins # List of plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
@ -170,6 +167,7 @@ set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'catppuccin/tmux#v2.1.2'
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
set -g @resurrect-dir '$HOME/.tmux/resurrect' set -g @resurrect-dir '$HOME/.tmux/resurrect'

View File

@ -1,5 +1,19 @@
local map = require("utils").map local map = require("utils").map
if vim.fn.hostname() == "goblin" then
vim.g.clipboard = {
name = "wayland",
copy = {
["+"] = { "wl-copy" },
["*"] = { "wl-copy" },
},
paste = {
["+"] = { "wl-paste" },
["*"] = { "wl-paste" },
},
cache_enabled = false,
}
else
if vim.env.SSH_TTY or vim.env.SSH_CLIENT or vim.env.SSH_CONNECTION then if vim.env.SSH_TTY or vim.env.SSH_CLIENT or vim.env.SSH_CONNECTION then
vim.g.clipboard = { vim.g.clipboard = {
name = "lemonade", name = "lemonade",
@ -14,6 +28,7 @@ if vim.env.SSH_TTY or vim.env.SSH_CLIENT or vim.env.SSH_CONNECTION then
cache_enabled = false, cache_enabled = false,
} }
end end
end
map("v", "<leader>y", '"+y') map("v", "<leader>y", '"+y')
map("v", "<leader>Y", '"*y') map("v", "<leader>Y", '"*y')

View File

@ -0,0 +1,9 @@
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
pattern = "*.wgsl",
callback = function()
local lspconfig = require("lspconfig")
lspconfig.wgsl_analyzer.setup({})
vim.bo.filetype = "wgsl"
end,
})

View File

@ -0,0 +1,35 @@
local use_google = require("utils").use_google
return {
{
"yetone/avante.nvim",
build = "make",
enable = true,
branch = "working",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
-- Add vintharas/avante-goose.nvim as a dependecy to avante.nvim
-- That'll ensure that you'll load avante-goose when you load avante.
{
"vintharas/avante-goose.nvim",
url = "sso://user/vintharas/avante-goose.nvim",
cond = use_google(),
opts = {
model = "gemini-for-google-2.5-pro", -- Select model from go/goose-models.
},
},
},
opts = {
provider = "goose", -- Select goose as provider
vendors = {}, -- Makes sure there's a vendors table
},
config = function(_, opts)
-- Load provider from the plugin
opts.vendors["goose"] = require("avante-goose").getProvider()
require("avante").setup(opts)
end,
},
}

View File

@ -1,18 +1,11 @@
local use_google = require("utils").use_google local use_google = require("utils").use_google
return { return {
"sindrets/diffview.nvim",
--{ "mizlan/iswap.nvim", event = "VeryLazy" },
{ "folke/todo-comments.nvim", dependencies = { "nvim-lua/plenary.nvim" } },
{ {
"folke/flash.nvim", "folke/flash.nvim",
event = "VeryLazy", event = "VeryLazy",
---@type Flash.Config ---@type Flash.Config
opts = { opts = {},
jump = {
nohlsearch = true,
},
},
-- stylua: ignore -- stylua: ignore
keys = { keys = {
{ "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" }, { "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
@ -22,10 +15,12 @@ return {
{ "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
}, },
}, },
"tikhomirov/vim-glsl",
"sindrets/diffview.nvim",
{ "folke/todo-comments.nvim", dependencies = { "nvim-lua/plenary.nvim" } },
{ {
"MagicDuck/grug-far.nvim", "MagicDuck/grug-far.nvim",
config = function() config = function()
vim.g.maplocalleader = ","
require("grug-far").setup({ require("grug-far").setup({
-- search and replace engines configuration -- search and replace engines configuration
engines = { engines = {
@ -39,7 +34,6 @@ return {
}) })
end, end,
}, },
{ {
"shellRaining/hlchunk.nvim", "shellRaining/hlchunk.nvim",
event = { "BufReadPre", "BufNewFile" }, event = { "BufReadPre", "BufNewFile" },
@ -106,10 +100,6 @@ return {
cmd = { cmd = {
"Subs", "Subs",
}, },
-- stylua: ignore
keys = {
{ "<leader>tc", "<cmd>TextCaseOpenTelescope<CR>", mode = { "n", "v" }, desc = "Telescope" },
},
}, },
{ {
"NvChad/nvim-colorizer.lua", "NvChad/nvim-colorizer.lua",

View File

@ -2,16 +2,29 @@ return {
"LunarVim/bigfile.nvim", "LunarVim/bigfile.nvim",
opts = { opts = {
filesize = 2, -- size of the file in MiB, the plugin round file sizes to the closest MiB filesize = 2, -- size of the file in MiB, the plugin round file sizes to the closest MiB
pattern = { "*" }, -- autocmd pattern or function see <### Overriding the detection of big files> pattern = function(bufnr, filesize_mib)
-- you can't use `nvim_buf_line_count` because this runs on BufReadPre
local file_contents = vim.fn.readfile(vim.api.nvim_buf_get_name(bufnr))
local file_lines = #file_contents
local filetype = vim.filetype.match({ buf = bufnr })
if filetype == "c" or filetype == "cpp" then
if file_lines > 1000 then
vim.b.codefmt_formatt = "" -- disable codefmt
vim.cmd(":FormatDisable") -- disable conform
return true
end
end
return filesize_mib > 1
end,
features = { -- features to disable features = { -- features to disable
"indent_blankline", "indent_blankline",
"illuminate", "illuminate",
"lsp", "lsp",
"treesitter", "treesitter",
"syntax", -- "syntax",
"matchparen", "matchparen",
"vimopts", -- "vimopts",
"filetype", -- "filetype",
}, },
} }
} }

View File

@ -1,5 +1,18 @@
local use_google = require("utils").use_google local use_google = require("utils").use_google
local flags = require("utils").flags local flags = require("utils").flags
local kind_icons = {
-- LLM Provider icons
claude = "󰋦",
openai = "󱢆",
codestral = "󱎥",
gemini = "",
nvim_ciderlsp = "󱜚",
Groq = "",
Openrouter = "󱂇",
Ollama = "󰳆",
["Llama.cpp"] = "󰳆",
Deepseek = "",
}
return { return {
{ {
@ -20,7 +33,6 @@ return {
lazy = false, -- lazy loading handled internally lazy = false, -- lazy loading handled internally
cond = flags.blink, cond = flags.blink,
dependencies = { dependencies = {
"Exafunction/codeium.nvim",
"chrisgrieser/cmp-nerdfont", "chrisgrieser/cmp-nerdfont",
"hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-nvim-lsp",
"mikavilpas/blink-ripgrep.nvim", "mikavilpas/blink-ripgrep.nvim",
@ -49,6 +61,11 @@ return {
["<S-Up>"] = { "scroll_documentation_up", "fallback" }, ["<S-Up>"] = { "scroll_documentation_up", "fallback" },
["<S-Down>"] = { "scroll_documentation_down", "fallback" }, ["<S-Down>"] = { "scroll_documentation_down", "fallback" },
},
appearance = {
use_nvim_cmp_as_default = true,
nerd_font_variant = "normal",
kind_icons = kind_icons,
}, },
sources = { sources = {
default = function(ctx) default = function(ctx)
@ -60,16 +77,18 @@ return {
"emoji", "emoji",
"nerdfont", "nerdfont",
"buffer", "buffer",
"avante",
} }
if use_google() then if use_google() then
table.insert(providerToEnable, "nvim_ciderlsp") table.insert(providerToEnable, "nvim_ciderlsp")
table.insert(providerToEnable, "buganizer") table.insert(providerToEnable, "buganizer")
-- table.insert(providerToEnable, "avante")
else else
table.insert(providerToEnable, "codeium") -- table.insert(providerToEnable, "avante")
table.insert(providerToEnable, "minuet")
end end
return providerToEnable return providerToEnable
end, end,
-- default = { "lsp" },
providers = { providers = {
lsp = { name = "LSP", module = "blink.cmp.sources.lsp", score_offset = 90 }, lsp = { name = "LSP", module = "blink.cmp.sources.lsp", score_offset = 90 },
-- dont show LuaLS require statements when lazydev has items -- dont show LuaLS require statements when lazydev has items
@ -86,12 +105,13 @@ return {
max_filesize = "1M", max_filesize = "1M",
additional_rg_options = {}, additional_rg_options = {},
}, },
score_offset = 20, -- the higher the number, the higher the priority
}, },
-- https://github.com/moyiz/blink-emoji.nvim -- https://github.com/moyiz/blink-emoji.nvim
emoji = { emoji = {
module = "blink-emoji", module = "blink-emoji",
name = "Emoji", name = "Emoji",
score_offset = 15, -- the higher the number, the higher the priority score_offset = 1, -- the higher the number, the higher the priority
opts = { insert = true }, -- Insert emoji (default) or complete its name opts = { insert = true }, -- Insert emoji (default) or complete its name
}, },
buffer = { buffer = {
@ -106,12 +126,20 @@ return {
nerdfont = { nerdfont = {
name = "nerdfont", name = "nerdfont",
module = "blink.compat.source", module = "blink.compat.source",
score_offset = 1, -- the higher the number, the higher the priority
}, },
codeium = { minuet = {
name = "codeium", name = "minuet",
module = "blink.compat.source", module = "minuet.blink",
score_offset = 100, score_offset = 100, -- Gives minuet higher priority among suggestions
}, },
-- avante = {
-- module = "blink-cmp-avante",
-- name = "Avante",
-- opts = {
-- -- options for blink-cmp-avante
-- },
-- },
nvim_ciderlsp = { nvim_ciderlsp = {
name = "nvim_ciderlsp", name = "nvim_ciderlsp",
module = "blink.compat.source", module = "blink.compat.source",
@ -126,6 +154,8 @@ return {
-- experimental signature help support -- experimental signature help support
signature = { enabled = true }, signature = { enabled = true },
completion = { completion = {
-- Recommended to avoid unnecessary request
trigger = { prefetch_on_insert = false },
list = { list = {
-- stylua: ignore -- stylua: ignore
selection = { selection = {

View File

@ -2,70 +2,28 @@ return {
{ {
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
version = "*", version = "*",
cond = false,
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons" },
opts = { opts = {
options = { options = {
hover = { separator_style = "slope",
enabled = true, -- offsets = { {
delay = 200, -- filetype = "neo-tree",
reveal = { "close" }, -- text = "NeoTree",
}, -- highlight = "Directory",
indicator = { -- separator = true, -- use a "true" to enable the default, or set your own character
-- icon = "▎", -- this should be omitted if indicator style is not 'icon' -- }, },
style = "icon", -- | 'underline' | 'none', mode = "tabs",
},
offsets = {
{
filetype = "NvimTree",
text = "File Explorer",
highlight = "Directory",
separator = true, -- use a "true" to enable the default, or set your own character
},
},
-- mode = "tabs",
diagnostics = "nvim_lsp", diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level, diagnostics_dict, context) -- diagnostics_indicator = function(count, level, diagnostics_dict, context)
local symbols = { error = "", warning = "", info = "", hint = "󱠂 " } -- local symbols = { error = " ", warning = " ", info = " ", hint = "󱠂 " }
local icon = symbols[level] or level -- local icon = symbols[level] or level
return "" .. icon .. count -- return "" .. icon .. count
end, -- end,
max_name_length = 30, max_name_length = 30,
tab_size = 27,
truncate_name = false, truncate_name = false,
show_close_icon = false, show_close_icon = false,
show_buffer_close_icons = false, show_buffer_close_icons = false,
groups = {
options = {
toggle_hidden_on_enter = true, -- when you re-enter a hidden group this options re-opens that group so the buffer is visible
},
items = {
{
name = "Tests", -- Mandatory
highlight = { sp = "lightblue" }, -- Optional
priority = 2, -- determines where it will appear relative to other groups (Optional)
icon = "", -- Optional
matcher = function(buf) -- Mandatory
return buf.path:match("%_test.cc$") or buf.path:match("%Test.java$")
end,
},
{
name = "Docs",
highlight = { sp = "lightgreen" },
auto_close = false, -- whether or not close this group if it doesn't contain the current buffer
matcher = function(buf)
return buf.path:match("%.md$") or buf.path:match("%.txt$")
end,
},
{
name = "Lua",
highlight = { sp = "lightblue" },
auto_close = false, -- whether or not close this group if it doesn't contain the current buffer
matcher = function(buf)
return buf.path:match("%.lua$")
end,
},
},
},
}, },
}, },
}, },

View File

@ -7,7 +7,6 @@ return {
event = { "InsertEnter", "CmdlineEnter" }, event = { "InsertEnter", "CmdlineEnter" },
cond = not flags.blink, cond = not flags.blink,
dependencies = { dependencies = {
"Exafunction/codeium.nvim",
"FelipeLema/cmp-async-path", "FelipeLema/cmp-async-path",
"amarakon/nvim-cmp-buffer-lines", "amarakon/nvim-cmp-buffer-lines",
"chrisgrieser/cmp-nerdfont", "chrisgrieser/cmp-nerdfont",
@ -39,8 +38,6 @@ return {
if use_google() then if use_google() then
table.insert(conditionalSources, { name = "nvim_ciderlsp", priority = 8 }) table.insert(conditionalSources, { name = "nvim_ciderlsp", priority = 8 })
table.insert(conditionalSources, { name = "buganizer", option = { notifications_enabled = true } }) table.insert(conditionalSources, { name = "buganizer", option = { notifications_enabled = true } })
else
table.insert(conditionalSources, { name = "codeium", priority = 8 })
end end
local lspkind = require("lspkind") local lspkind = require("lspkind")
@ -117,7 +114,6 @@ return {
async_path = " path", async_path = " path",
buffer = " Buf", buffer = " Buf",
cmdline = " cmd", cmdline = " cmd",
codeium = "󰚩 Codeium",
crates = " rust", crates = " rust",
luasnip = " snip", luasnip = " snip",
buganizer = " Buganizer", buganizer = " Buganizer",

View File

@ -1,17 +0,0 @@
local use_google = require("utils").use_google
return {
{
"Exafunction/codeium.nvim",
-- commit = "b1ff0d6c993e3d87a4362d2ccd6c660f7444599f",
event = "VeryLazy",
-- event = "InsertEnter",
cond = not use_google(),
dependencies = {
"nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp",
},
config = function()
require("codeium").setup({})
end,
},
}

View File

@ -1,5 +1,16 @@
local use_google = require("utils").use_google local use_google = require("utils").use_google
return {
{
"stevearc/conform.nvim",
event = { "BufWritePre" },
cmd = { "ConformInfo", "FormatDisable", "FormatEnable" },
keys = {
-- stylua: ignore
{ "<leader>fmt", function() require("conform").format({ async = true, lsp_fallback = true }) end, mode = "", desc = "Format buffer", },
{ "<leader>fj", ":%!python -m json.tool" },
},
config = function()
vim.g.disable_autoformat = false vim.g.disable_autoformat = false
vim.api.nvim_create_user_command("FormatDisable", function(args) vim.api.nvim_create_user_command("FormatDisable", function(args)
if args.bang then if args.bang then
@ -12,7 +23,6 @@ end, {
desc = "Disable autoformat-on-save", desc = "Disable autoformat-on-save",
bang = true, bang = true,
}) })
vim.api.nvim_create_user_command("FormatEnable", function() vim.api.nvim_create_user_command("FormatEnable", function()
vim.b.disable_autoformat = false vim.b.disable_autoformat = false
vim.g.disable_autoformat = false vim.g.disable_autoformat = false
@ -30,33 +40,33 @@ vim.api.nvim_create_autocmd("BufWritePre", {
end, end,
}) })
return { vim.api.nvim_create_user_command("Format", function(args)
local range = nil
if args.count ~= -1 then
local end_line = vim.api.nvim_buf_get_lines(0, args.line2 - 1, args.line2, true)[1]
range = {
start = { args.line1, 0 },
["end"] = { args.line2, end_line:len() },
}
end
require("conform").format({ async = true })
end, { range = true })
require("conform").setup(
{ {
"stevearc/conform.nvim",
event = { "BufWritePre" },
cmd = { "ConformInfo", "FormatDisable", "FormatEnable" },
keys = {
-- stylua: ignore
{ "<leader>fmt", function() require("conform").format({ async = true, lsp_fallback = true }) end, mode = "", desc = "Format buffer", },
},
-- This will provide type hinting with LuaLS
---@module "conform"
---@type conform.setupOpts
opts = {
log_level = vim.log.levels.DEBUG, log_level = vim.log.levels.DEBUG,
formatters_by_ft = { formatters_by_ft = {
rust = { "rustfmt" },
rust = { "rustfmt", lsp_format = "fallback" },
-- Conform will run multiple formatters sequentially -- Conform will run multiple formatters sequentially
-- go = { "goimports", "gofmt" }, -- go = { "goimports", "gofmt" },
-- Use a sub-list to run only the first available formatter -- Use a sub-list to run only the first available formatter
-- javascript = { { "prettierd", "prettier" } },
lua = { "stylua" }, lua = { "stylua" },
-- Conform will run multiple formatters sequentially -- Conform will run multiple formatters sequentially
python = { "isort", "black" }, python = { "isort" },
-- Use a sub-list to run only the first available formatter -- Use a sub-list to run only the first available formatter
javascript = { { "prettierd", "prettier" } }, javascript = { "prettier" },
gdscript = { "gdformat" }, gdscript = { "gdformat" },
ron = { "ronfmt" },
dashboard = {}, dashboard = {},
-- Use the "*" filetype to run formatters on all filetypes. -- Use the "*" filetype to run formatters on all filetypes.
-- ["*"] = { "codespell" }, -- ["*"] = { "codespell" },
@ -64,14 +74,16 @@ return {
-- have other formatters configured. -- have other formatters configured.
["_"] = { "trim_whitespace" }, ["_"] = { "trim_whitespace" },
}, },
format_on_save = function(bufnr)
-- Disable with a global or buffer-local variable
end,
formatters = { formatters = {
-- ronfmt = {
-- command = "ronfmt",
-- args = { "-d", "$FILENAME" },
-- },
gdformat = { gdformat = {
prepend_args = { "-l", "100" }, prepend_args = { "-l", "100" },
}, },
}, },
}, })
end,
}, },
} }

View File

@ -1,4 +1,5 @@
-- disable underline -- disable underline
local use_google = require("utils").use_google
vim.diagnostic.handlers.underline.show = function() end vim.diagnostic.handlers.underline.show = function() end
local signs = { local signs = {
@ -35,34 +36,36 @@ return {
{ "]g", ":lua vim.diagnostic.goto_next()<CR>" }, { "]g", ":lua vim.diagnostic.goto_next()<CR>" },
}, },
}, },
-- { {
-- "rachartier/tiny-inline-diagnostic.nvim", "rachartier/tiny-inline-diagnostic.nvim",
-- event = "LspAttach", event = "LspAttach",
-- priority = 1000, -- needs to be loaded in first priority = 1000, -- needs to be loaded in first
-- config = function() cond = not use_google(),
-- vim.diagnostic.config({ virtual_text = false }) config = function()
-- vim.diagnostic.config({ virtual_text = false })
-- require("tiny-inline-diagnostic").setup({
-- preset = "classic", -- Can be: "modern", "classic", "minimal", "powerline", ghost", "simple", "nonerdfont", "amongus" require("tiny-inline-diagnostic").setup({
-- preset = "classic", -- Can be: "modern", "classic", "minimal", "powerline", ghost", "simple", "nonerdfont", "amongus"
-- -- Show the source of the diagnostic.
-- show_source = false, -- Show the source of the diagnostic.
-- show_source = false,
-- -- Use your defined signs in the diagnostic config table.
-- use_icons_from_diagnostic = true, -- Use your defined signs in the diagnostic config table.
-- use_icons_from_diagnostic = true,
-- -- Enable diagnostic message on all lines.
-- multilines = true, -- Enable diagnostic message on all lines.
-- multilines = true,
-- -- Show all diagnostics on the cursor line.
-- show_all_diags_on_cursorline = false, -- Show all diagnostics on the cursor line.
-- }) show_all_diags_on_cursorline = false,
-- end, })
-- }, end,
},
{ {
"ErichDonGubler/lsp_lines.nvim", "ErichDonGubler/lsp_lines.nvim",
event = { "LspAttach" }, event = { "LspAttach" },
name = "lsp_lines.nvim", name = "lsp_lines.nvim",
cond = use_google(),
config = function() config = function()
require("lsp_lines").setup() require("lsp_lines").setup()

View File

@ -11,10 +11,6 @@ local glugOpts = require("glug").glugOpts
local superlazy = require("nvgoog.util.superlazy") local superlazy = require("nvgoog.util.superlazy")
return { return {
-- { url = "sso://user/fentanes/nvgoog" },
-- Prevent long sessions from losing cwd
-- Load google paths like //google/* with `gf`
-- { import = "nvgoog.google.misc" },
{ import = "nvgoog.google.format" }, { import = "nvgoog.google.format" },
-- maktaba is required by all google plugins -- maktaba is required by all google plugins
glug("maktaba", { glug("maktaba", {
@ -42,7 +38,7 @@ return {
glug("googlepaths"), glug("googlepaths"),
-- Set up syntax, indent, and core settings for various filetypes -- Set up syntax, indent, and core settings for various filetypes
superlazy(glug("ft-cpp", { event = "BufRead,BufNewFile *.[ch],*.cc,*.cpp" })), superlazy(glug("ft-cpp", { event = "BufRead,BufNewFile *.[ch],*.cc,*.cpp" })),
-- superlazy(glug("ft-go", { event = "BufRead,BufNewFile *.go" })), superlazy(glug("ft-go", { event = "BufRead,BufNewFile *.go" })),
superlazy(glug("ft-java", { event = "BufRead,BufNewFile *.java" })), superlazy(glug("ft-java", { event = "BufRead,BufNewFile *.java" })),
superlazy(glug("ft-javascript", { event = "BufRead,BufNewFile *.js,*.jsx" })), superlazy(glug("ft-javascript", { event = "BufRead,BufNewFile *.js,*.jsx" })),
superlazy(glug("ft-kotlin", { event = "BufRead,BufNewFile *.kt,*.kts" })), superlazy(glug("ft-kotlin", { event = "BufRead,BufNewFile *.kt,*.kts" })),
@ -226,12 +222,12 @@ return {
}, },
cmd = { "ImpSuggest", "ImpFirst" }, cmd = { "ImpSuggest", "ImpFirst" },
keys = { keys = {
{ "<leader>i", ":ImpSuggest <C-r><C-w><cr>" }, { "<leader>I", ":ImpSuggest <C-r><C-w><cr>" },
}, },
}), }),
{ {
url = "sso://user/fentanes/googlepaths.nvim", url = "sso://user/fentanes/googlepaths.nvim",
event = { "VeryLazy", "BufReadCmd //*" }, event = { "VeryLazy", "BufReadCmd //*", "BufReadCmd google3/*" },
opts = {}, opts = {},
}, },
{ {
@ -248,10 +244,20 @@ return {
url = "sso://googler@user/kdark/ciderlsp-nvim", url = "sso://googler@user/kdark/ciderlsp-nvim",
event = "VimEnter", event = "VimEnter",
}, },
-- { {
-- name = "nvim_figtree", url = "sso://user/jackcogdill/nvim-figtree",
-- url = "sso://googler@user/jackcogdill/nvim-figtree", keys = {
-- }, {
"<Leader>ft",
function()
require("figtree").toggle()
end,
},
},
opts = {
-- see |figtree-configuration| for all possible options
},
},
{ {
name = "telescope_codesearch", name = "telescope_codesearch",
url = "sso://googler@user/vintharas/telescope-codesearch.nvim", url = "sso://googler@user/vintharas/telescope-codesearch.nvim",
@ -280,8 +286,6 @@ return {
}, },
-- here are some mappings you might want: -- here are some mappings you might want:
keys = { keys = {
{ "]c", ":CritiqueGotoNextComment<CR>" },
{ "[c", ":CritiqueGotoPrevComment<CR>" },
{ "<Leader>lc", ":CritiqueToggleLineComment<CR>" }, { "<Leader>lc", ":CritiqueToggleLineComment<CR>" },
{ "<Leader>ac", ":CritiqueToggleAllComments<CR>" }, { "<Leader>ac", ":CritiqueToggleAllComments<CR>" },
{ "<Leader>uc", ":CritiqueToggleUnresolvedComments<CR>" }, { "<Leader>uc", ":CritiqueToggleUnresolvedComments<CR>" },

View File

@ -1,81 +0,0 @@
return {
"theprimeagen/harpoon",
branch = "harpoon2",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
},
config = function()
local harpoon = require("harpoon")
-- REQUIRED
harpoon:setup()
-- REQUIRED
vim.keymap.set("n", "<leader>m", function()
harpoon:list():add()
end)
vim.keymap.set("n", "<leader>M", function()
harpoon.ui:toggle_quick_menu(harpoon:list())
end)
vim.keymap.set("n", "<leader>1", function()
harpoon:list():select(1)
end)
vim.keymap.set("n", "<leader>2", function()
harpoon:list():select(2)
end)
vim.keymap.set("n", "<leader>3", function()
harpoon:list():select(3)
end)
vim.keymap.set("n", "<leader>4", function()
harpoon:list():select(4)
end)
-- Toggle previous & next buffers stored within Harpoon list
vim.keymap.set("n", "<C-S-P>", function()
harpoon:list():prev()
end)
vim.keymap.set("n", "<C-S-N>", function()
harpoon:list():next()
end)
-- basic telescope configuration
local conf = require("telescope.config").values
local function toggle_telescope(harpoon_files)
local file_paths = {}
for _, item in ipairs(harpoon_files.items) do
table.insert(file_paths, item.value)
end
require("telescope.pickers")
.new({}, {
prompt_title = "Harpoon",
finder = require("telescope.finders").new_table({
results = file_paths,
}),
previewer = conf.file_previewer({}),
sorter = conf.generic_sorter({}),
})
:find()
end
vim.keymap.set("n", "<leader>h", function()
toggle_telescope(harpoon:list())
end, { desc = "Open harpoon window" })
end,
-- stylua: ignore
-- keys = {
-- -- Mark current file
-- { "<leader>m", ":lua require('harpoon').mark_file()<CR>" },
--
-- -- Go to marks tracker (editable, use `gf` to go to file under cursor)
-- { "<leader>M", "lua require('lasso').open_marks_tracker()<CR>" },
--
-- -- Jump to n-th marked file (n-th line of marks tracker)
-- { "<leader>1", "lua require('lasso').open_marked_file(1)<CR>" },
-- { "<leader>2", "lua require('lasso').open_marked_file(2)<CR>" },
-- { "<leader>3", "lua require('lasso').open_marked_file(3)<CR>" },
-- { "<leader>4", "lua require('lasso').open_marked_file(4)<CR>" },
-- },
}

View File

@ -1,6 +0,0 @@
return {
"ggandor/leap.nvim",
config = function()
require("leap").add_default_mappings()
end,
}

View File

@ -1,18 +1,17 @@
local use_google = require("utils").use_google local use_google = require("utils").use_google
local flags = require("utils").flags local flags = require("utils").flags
local function add_import()
vim.lsp.buf.code_action({
apply = true,
context = {
only = { "quickfix.addImports" },
},
})
end
return { return {
-- {
-- "ray-x/lsp_signature.nvim",
-- event = "VeryLazy",
-- opts = {
-- floating_window = true,
-- hint_prefix = "󰡱 ",
-- },
-- config = function(_, opts)
-- require("lsp_signature").setup(opts)
-- end,
-- },
{ {
"kosayoda/nvim-lightbulb", "kosayoda/nvim-lightbulb",
commit = "1cae7b7153ae98dcf1b11173a443ac1b6d8e3d49", commit = "1cae7b7153ae98dcf1b11173a443ac1b6d8e3d49",
@ -35,22 +34,6 @@ return {
end, end,
dependencies = { "rafamadriz/friendly-snippets" }, dependencies = { "rafamadriz/friendly-snippets" },
}, },
{
"hinell/lsp-timeout.nvim",
event = { "LspAttach" },
dependencies = { "neovim/nvim-lspconfig" },
-- cond = not use_google(),
config = function()
vim.g.lspTimeoutConfig = {
filetypes = {
ignore = { -- filetypes to ignore; empty by default
"gdscript",
"rust",
}, -- for these filetypes
},
}
end,
},
{ {
"ray-x/go.nvim", "ray-x/go.nvim",
dependencies = { -- optional packages dependencies = { -- optional packages
@ -96,6 +79,7 @@ return {
}, },
keys = { keys = {
{ "<leader>F", ":lua vim.lsp.buf.format()<CR>" }, { "<leader>F", ":lua vim.lsp.buf.format()<CR>" },
{ "<leader>i", add_import },
{ "<leader>rn", ":lua vim.lsp.buf.rename()<CR>" }, { "<leader>rn", ":lua vim.lsp.buf.rename()<CR>" },
{ "L", ":lua vim.lsp.buf.hover()<CR>" }, { "L", ":lua vim.lsp.buf.hover()<CR>" },
{ "gr", ":Telescope lsp_references<CR>" }, { "gr", ":Telescope lsp_references<CR>" },
@ -110,40 +94,47 @@ return {
{ "<C-g>", ":lua vim.lsp.buf.signature_help()<CR>", mode = "i" }, { "<C-g>", ":lua vim.lsp.buf.signature_help()<CR>", mode = "i" },
}, },
config = function() config = function()
local lsp_status = require("lsp-status")
lsp_status.register_progress()
local capabilities = flags.blink
and require("blink.cmp").get_lsp_capabilities(vim.lsp.protocol.make_client_capabilities())
or require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities())
capabilities = vim.tbl_extend("keep", capabilities or {}, lsp_status.capabilities)
capabilities.offsetEncoding = { "utf-16" }
local lspconfig = require("lspconfig") local lspconfig = require("lspconfig")
local configs = require("lspconfig.configs")
local nvim_lspconfig = require("lspconfig")
local lsp_configs = require("lspconfig.configs") local lsp_configs = require("lspconfig.configs")
lsp_configs.ciderlsp = { lsp_configs.ciderlsp = {
default_config = { default_config = {
cmd = { '/google/bin/releases/cider/ciderlsp/ciderlsp', '--tooltag=nvim-lsp', '--noforward_sync_responses' }, cmd = {
filetypes = { "c", "cpp", "java", "kotlin", "objc", "proto", "textproto", "go", "python", "bzl", "typescript" }, "/google/bin/releases/cider/ciderlsp/ciderlsp",
offset_encoding = 'utf-8', "--tooltag=nvim-lsp",
root_dir = nvim_lspconfig.util.root_pattern('.citc'), "--noforward_sync_responses",
},
filetypes = {
"c",
"cpp",
"java",
"kotlin",
"objc",
"proto",
"textproto",
"go",
"python",
"bzl",
"typescript",
},
offset_encoding = "utf-8",
root_dir = lspconfig.util.root_pattern(".citc"),
settings = {}, settings = {},
} },
} }
nvim_lspconfig.ciderlsp.setup {} if use_google() then
-- Godot lspconfig.ciderlsp.setup({})
lspconfig.gdscript.setup({ end
-- flags = {
-- debounce_text_changes = 2000, -- Wait 5 seconds before sending didChange lspconfig.gdscript.setup({})
-- }, -- require('lspconfig').gdscript.setup { cmd = { "ncat", "localhost", "6005" }, root_dir = function()
}) -- return vim.fs.dirname(vim.fs.find('project.godot', { upward = true })[1])
-- end
-- }
vim.cmd([[autocmd FileType gdscript setlocal commentstring=#\ %s]]) vim.cmd([[autocmd FileType gdscript setlocal commentstring=#\ %s]])
vim.cmd([[autocmd FileType gdscript setlocal autoindent noexpandtab tabstop=4 shiftwidth=4]]) vim.cmd([[autocmd FileType gdscript setlocal autoindent noexpandtab tabstop=4 shiftwidth=4 wrap]])
end, end,
}, },
} }

View File

@ -0,0 +1,44 @@
return {
'milanglacier/minuet-ai.nvim',
config = function()
require('minuet').setup {
provider = 'gemini',
provider_options = {
gemini = {
optional = {
generationConfig = {
maxOutputTokens = 256,
},
safetySettings = {
{
-- HARM_CATEGORY_HATE_SPEECH,
-- HARM_CATEGORY_HARASSMENT
-- HARM_CATEGORY_SEXUALLY_EXPLICIT
category = 'HARM_CATEGORY_DANGEROUS_CONTENT',
-- BLOCK_NONE
threshold = 'BLOCK_ONLY_HIGH',
},
},
},
},
},
virtualtext = {
auto_trigger_ft = {},
keymap = {
-- accept whole completion
accept = '<A-A>',
-- accept one line
accept_line = '<A-a>',
-- accept n lines (prompts for number)
-- e.g. "A-z 2 CR" will accept 2 lines
accept_n_lines = '<A-z>',
-- Cycle to prev completion item, or manually invoke completion
prev = '<A-[>',
-- Cycle to next completion item, or manually invoke completion
next = '<A-]>',
dismiss = '<A-e>',
},
}
}
end,
}

View File

@ -7,22 +7,27 @@ return {
-- }, -- },
{ {
"nvim-neo-tree/neo-tree.nvim", "nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
lazy = false, -- neo-tree will lazily load itself
dependencies = { dependencies = {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
-- "~/cmdtree", -- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
}, },
cmd = { -----@module "neo-tree"
"Neotree", -----@type neotree.Config
}, opts = {
config = function()
require("neo-tree").setup({
hijack_netrw_behavior = "open_default",
filesystem = { filesystem = {
hijack_netrw_behavior = "open_default",
filtered_items = { filtered_items = {
hide_dotfiles = false, hide_dotfiles = false,
}, },
bind_to_cwd = false, -- follow_current_file = {
-- enabled = true,
-- leave_dirs_open = false,
-- },
group_empty_dirs = true,
}, },
sources = { sources = {
"filesystem", "filesystem",
@ -36,19 +41,17 @@ return {
["O"] = "expand_all_nodes", ["O"] = "expand_all_nodes",
}, },
}, },
}) },
end,
-- stylua: ignore -- stylua: ignore
keys = { keys = {
(function() (function()
if use_google() then -- if use_google() then
return { "<C-n>m", ":Neotree float cmdtree<CR>", desc = "Open NeoTree CWD float" } -- return { "<C-n>m", ":Neotree float cmdtree<CR>", desc = "Open NeoTree CWD float" }
end -- end
-- return { "<C-n>.", ":Neotree toggle reveal_force_cwd<CR>", desc = "Open NeoTree CWD float" }
return { "<C-n>m", ":Neotree float git_status<CR>", desc = "Open NeoTree CWD float" } return { "<C-n>m", ":Neotree float git_status<CR>", desc = "Open NeoTree CWD float" }
end)(), end)(),
{ "<C-n>", ":Neotree toggle left dir=%:p:h<cr>" }, { "<C-n>", ":Neotree reveal left<cr>" },
{ "<leader>e", ":Neotree float dir=%:p:h<cr>/" }, { "<C-n>.", ":Neotree reveal left dir=%:p:h<cr>" },
}, },
}, },
} }

View File

@ -5,9 +5,6 @@ return {
{ "nvim-lua/plenary.nvim" }, { "nvim-lua/plenary.nvim" },
{ "nvim-treesitter/nvim-treesitter" }, { "nvim-treesitter/nvim-treesitter" },
}, },
config = function()
require("config.refactoring")
end,
-- stylua: ignore -- stylua: ignore
keys = { keys = {
-- remap to open the Telescope refactoring menu in visual mode -- remap to open the Telescope refactoring menu in visual mode

View File

@ -1,10 +1,58 @@
return { return {
{ "ron-rs/ron.vim" },
{ {
"mrcjkb/rustaceanvim", "mrcjkb/rustaceanvim",
version = "^5", -- Recommended version = vim.fn.has("nvim-0.10.0") == 0 and "^4" or false,
lazy = false, -- This plugin is already lazy ft = { "rust" },
keys = { config = function(_, opts)
-- { "" }, vim.g.rustaceanvim = vim.tbl_deep_extend("keep", vim.g.rustaceanvim or {}, opts or {})
for _, method in ipairs({ "textDocument/diagnostic", "workspace/diagnostic" }) do
local default_diagnostic_handler = vim.lsp.handlers[method]
vim.lsp.handlers[method] = function(err, result, context, config)
if err ~= nil and err.code == -32802 then
return
end
return default_diagnostic_handler(err, result, context, config)
end
end
end,
opts = {
server = {
default_settings = {
-- rust-analyzer language server configuration
["rust-analyzer"] = {
cargo = {
allFeatures = true,
loadOutDirsFromCheck = true,
buildScripts = {
enable = true,
},
},
procMacro = {
enable = true,
ignored = {
["async-trait"] = { "async_trait" },
["napi-derive"] = { "napi" },
["async-recursion"] = { "async_recursion" },
},
},
files = {
excludeDirs = {
".direnv",
".git",
".github",
".gitlab",
"bin",
"node_modules",
"target",
"venv",
".venv",
},
},
},
},
},
}, },
}, },
{ {

View File

@ -1,52 +1,55 @@
local use_google = require("utils").use_google local use_google = require("utils").use_google
local function setup_mercurial(hg_revision) local function change_diffbase(hg_revision, git_revision)
local git_cmd = "git diff --no-color --no-ext-diff -U0 -- %f" vim.g.signify_vcs_cmds = {
local rcs_cmd = "rcsdiff -U0 %f 2>%n" git = "git diff --no-color --diff-algorithm=histogram --no-ext-diff -U0 " .. git_revision .. " -- %f",
local svn_cmd = "svn diff --diff-cmd %d -x -U0 -- %f" yadm = 'yadm diff --no-color --no-ext-diff -U0 -- %f',
local hg_diff = hg_revision .. " --color=never config aliases.diff= --nodates -U0 -- %f" hg = 'chg --config alias.diff=diff diff '.. hg_revision .. ' --color=never --nodates -U0 -- %f',
local hg_cat = hg_revision .. " -- %f" svn = 'svn diff --diff-cmd %d -x -U0 -- %f',
bzr = 'bzr diff --using %d --diff-options=-U0 -- %f',
vim.cmd(string.format( darcs = 'darcs diff --no-pause-for-gui --no-unified --diff-opts=-U0 -- %f',
[[ fossil = 'fossil diff --unified -c 0 -- %f',
let g:signify_vcs_cmds = { cvs = 'cvs diff -U0 -- %f',
\ 'git': '%s', rcs = 'rcsdiff -U0 %f 2>%n',
\ 'rcs': '%s', accurev = 'accurev diff %f -- -U0',
\ 'svn': '%s', tfs = 'tf diff -version=W -noprompt -format=Unified %f'
\ 'hg': 'hg diff %s', }
\ } vim.g.signify_vcs_cmds_diffmode = {
let g:signify_vcs_cmds_diffmode = { git = "git show " .. git_revision .. ":./%f",
\ 'hg': 'hg cat %s', hg = "chg cat " .. hg_revision .. " -- %f",
\ } yadm = 'yadm show HEAD:./%f',
]], svn = 'svn cat %f',
git_cmd, bzr = 'bzr cat %f',
rcs_cmd, darcs = 'darcs show contents -- %f',
svn_cmd, fossil = 'fossil cat %f',
hg_diff, cvs = 'cvs up -p -- %f 2>%n',
hg_cat rcs = 'co -q -p %f',
)) accurev = 'accurev cat %f',
perforce = 'p4 print %f',
tfs = 'tf view -version:W -noprompt %f',
}
end end
_G.signify_dtup = function() _G.signify_dtup = function()
setup_mercurial('-r ".^"') change_diffbase('-r ".^"', 'HEAD^')
vim.cmd([[:SignifyEnable]]) vim.cmd([[:SignifyEnable]])
vim.cmd([[:SignifyRefresh]]) vim.cmd([[:SignifyRefresh]])
end end
_G.signify_normal = function() _G.signify_normal = function()
setup_mercurial("-r .") change_diffbase("-r .", "")
vim.cmd([[:SignifyEnable]]) vim.cmd([[:SignifyEnable]])
vim.cmd([[:SignifyRefresh]]) vim.cmd([[:SignifyRefresh]])
end end
_G.signify_dtp4 = function() _G.signify_dtp4 = function()
setup_mercurial("-r p4head") change_diffbase("-r p4head", "main")
vim.cmd([[:SignifyEnable]]) vim.cmd([[:SignifyEnable]])
vim.cmd([[:SignifyRefresh]]) vim.cmd([[:SignifyRefresh]])
end end
_G.signify_dtex = function() _G.signify_dtex = function()
setup_mercurial("-r exported(.)") change_diffbase("-r exported(.)", "origin/main")
vim.cmd([[:SignifyEnable]]) vim.cmd([[:SignifyEnable]])
vim.cmd([[:SignifyRefresh]]) vim.cmd([[:SignifyRefresh]])
end end
@ -62,11 +65,13 @@ return {
{ "<leader>sup", ":lua signify_dtup()<CR>" }, { "<leader>sup", ":lua signify_dtup()<CR>" },
{ "<leader>sex", ":lua signify_dtex()<CR>" }, { "<leader>sex", ":lua signify_dtex()<CR>" },
{ "<leader>sp4", ":lua signify_dtp4()<CR>" }, { "<leader>sp4", ":lua signify_dtp4()<CR>" },
{ "<leader>sb", ":lua signify_dtp4()<CR>" },
}, },
config = function() config = function()
vim.g.signify_vcs_list = { "hg", "git" } vim.g.signify_vcs_list = { "hg", "git" }
vim.g.signify_disable_by_default = 0 vim.g.signify_disable_by_default = 0
-- vim.g.signify_number_highlight = 1 -- vim.g.signify_number_highlight = 1
vim.g.signify_sign_show_count = 0
local s = "" local s = ""
vim.g.signify_sign_add = s vim.g.signify_sign_add = s
vim.g.signify_sign_delete = s vim.g.signify_sign_delete = s
@ -74,9 +79,10 @@ return {
vim.api.nvim_set_hl(0, "SignifySignAdd", { fg = "#9cd9b8" }) vim.api.nvim_set_hl(0, "SignifySignAdd", { fg = "#9cd9b8" })
vim.api.nvim_set_hl(0, "SignifySignChange", { fg = "#849ee3" }) vim.api.nvim_set_hl(0, "SignifySignChange", { fg = "#849ee3" })
local red = "#f896a0" local myred = "#f296a0"
vim.api.nvim_set_hl(0, "SignifySignChangeDelete", { fg = red }) vim.api.nvim_set_hl(0, "SignifySignChangeDelete", { fg = myred })
vim.api.nvim_set_hl(0, "SignifySignDelete", { fg = red }) vim.api.nvim_set_hl(0, "SignifySignDelete", { fg = myred })
vim.api.nvim_set_hl(0, "SignifySignDeleteDeleteFirstLine", { fg = red }) vim.api.nvim_set_hl(0, "SignifyLineDelete", { fg = myred })
vim.api.nvim_set_hl(0, "SignifySignDeleteDeleteFirstLine", { fg = myred })
end, end,
} }

View File

@ -14,34 +14,24 @@ _G.search_cwd = function()
builtin.find_files({ cwd = utils.buffer_dir() }) builtin.find_files({ cwd = utils.buffer_dir() })
end end
_G.live_grep = function(search_dirs)
require("telescope.builtin").live_grep({
search_dirs = search_dirs,
})
end
_G.live_grep_cword = function(search_dirs)
require("telescope.builtin").live_grep({ search_dirs = search_dirs })
end
local function exe(cmd) local function exe(cmd)
return vim.split(vim.fn.system(cmd), "\n") return vim.split(vim.fn.system(cmd), "\n")
end end
function fig_modified() local function fig_modified()
return exe("hg pstatus -ma -n --no-status --template= | sort") return exe("chg pstatus -ma -n --no-status --template= | sort")
end end
function fig_all_modified() local function fig_all_modified()
return exe("hg status -ma -n --rev p4base --no-status --template= | sort") return exe("chg status -ma -n --rev p4base --no-status --template= | sort")
end end
-- stylua: ignore -- stylua: ignore
local keys = { local keys = {
-- { "<leader>e", ":lua search_cwd()<CR>", desc = "Find Files in Buffer Directory" }, { "<leader>e", ":lua search_cwd()<CR>", desc = "Find Files in Buffer Directory" },
{ "<leader>ts", require('telescope.builtin').live_grep },
{ "<leader>tb", ":Telescope buffers<CR>" }, { "<leader>tb", ":Telescope buffers<CR>" },
{ "<leader>TS", function() require('telescope.builtin').live_grep { default_text = vim.fn.expand("<cword>") } end, }, -- { "<leader>ts", require('telescope.builtin').live_grep },
-- { "<leader>TS", function() require('telescope.builtin').live_grep { default_text = vim.fn.expand("<cword>") } end, },
{ {
"<leader>t.", "<leader>t.",
function() function()
@ -51,9 +41,8 @@ local keys = {
, ,
desc = "Find Dotfiles" desc = "Find Dotfiles"
}, },
{ "<leader>tc", ":Telescope textcase<CR>", desc = "Text case" }, { "<leader>tC", ":Telescope textcase<CR>", desc = "Text case" },
{ "<leader>tC", ":CritiqueUnresolvedCommentsTelescope<CR>", desc = "Critique unresolved comments" }, { "<leader>tc", ":CritiqueCommentsTelescope<CR>", desc = "Critique all comments" },
{ "<leader>tca", ":CritiqueCommentsTelescope<CR>", desc = "Critique all comments" },
{ "<leader>tg", ":Telescope git_files<CR>", desc = "Git Files" }, { "<leader>tg", ":Telescope git_files<CR>", desc = "Git Files" },
{ "<leader>tk", ":Telescope keymaps<CR>", desc = "Keymaps" }, { "<leader>tk", ":Telescope keymaps<CR>", desc = "Keymaps" },
{ "<leader>tn", ":Telescope notify<CR>", desc = "Notifications" }, { "<leader>tn", ":Telescope notify<CR>", desc = "Notifications" },
@ -124,9 +113,32 @@ return {
end end
end, end,
}, },
{
"nvim-telescope/telescope-live-grep-args.nvim",
keys = {
{
"<leader>ts",
function()
require("telescope").extensions.live_grep_args.live_grep_args()
end,
},
{
"<leader>TS",
function()
require("telescope").extensions.live_grep_args.live_grep_args({
default_text = vim.fn.expand("<cword>"),
})
end,
},
},
config = function()
require("telescope").load_extension("live_grep_args")
end,
},
{ {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
dependencies = { dependencies = {
"nvim-telescope/telescope-live-grep-args.nvim",
"mfussenegger/nvim-dap", "mfussenegger/nvim-dap",
"smartpde/telescope-recent-files", "smartpde/telescope-recent-files",
"rcarriga/nvim-dap-ui", "rcarriga/nvim-dap-ui",
@ -183,6 +195,18 @@ return {
extensions = { extensions = {
codesearch = { codesearch = {
experimental = true, -- enable results from google3/experimental experimental = true, -- enable results from google3/experimental
},
live_grep_args = {
auto_quoting = true, -- enable/disable auto-quoting
-- define mappings, e.g.
mappings = { -- extend mappings
i = {
["<C-k>"] = require("telescope-live-grep-args.actions").quote_prompt(),
["<C-i>"] = require("telescope-live-grep-args.actions").quote_prompt({ postfix = " --iglob " }),
-- freeze the current list and start a fuzzy search in the frozen list
["<C-.>"] = require("telescope-live-grep-args.actions").to_fuzzy_refine,
},
},
}, },
recent_files = { recent_files = {
-- This function rewrites all file paths to the current workspace. -- This function rewrites all file paths to the current workspace.

View File

@ -1,6 +1,19 @@
local use_google = require("utils").use_google local use_google = require("utils").use_google
return { return {
{
"squk/ableton.nvim",
lazy = false,
cond = not use_google(),
priority = 1000,
-- dir = "~/neovim-plugins/squk/ableton.nvim",
opts = {
variant = "cooler",
},
config = function()
vim.cmd("colorscheme ableton")
end,
},
{ {
"dgox16/oldworld.nvim", "dgox16/oldworld.nvim",
lazy = false, lazy = false,
@ -10,7 +23,7 @@ return {
variant = "cooler", variant = "cooler",
}, },
config = function() config = function()
vim.cmd("colorscheme oldworld") -- vim.cmd("colorscheme oldworld")
end, end,
}, },
{ {

View File

@ -32,14 +32,10 @@ return {
gitsigns = true, gitsigns = true,
-- hop = false, -- hop = false,
illuminate = true, illuminate = true,
-- leap = false, leap = false,
-- lightspeed = false, -- lightspeed = false,
-- lsp_saga = false, -- lsp_saga = false,
lsp_trouble = true, lsp_trouble = true,
illuminate = {
enabled = true,
-- lsp = false
},
mason = true, mason = true,
markdown = true, markdown = true,
-- neogit = false, -- neogit = false,

View File

@ -25,7 +25,7 @@ end
function M.use_google() function M.use_google()
if M.use_google_cache == nil then if M.use_google_cache == nil then
M.use_google_cache = M.file_exists(os.getenv("HOME") .. "/use_google") M.use_google_cache = M.file_exists(vim.env.HOME .. "/use_google")
end end
return M.use_google_cache return M.use_google_cache
end end
@ -40,48 +40,6 @@ function M.file_exists(name)
end end
end end
function M.dump(o)
if type(o) == "table" then
local s = "{ "
for k, v in pairs(o) do
if type(k) ~= "number" then
k = '"' .. k .. '"'
end
s = s .. "[" .. k .. "] = " .. M.dump(v) .. ","
end
return s .. "} "
else
return tostring(o)
end
end
function M.tprint(tbl, indent)
if not indent then
indent = 0
end
local toprint = string.rep(" ", indent) .. "{\r\n"
indent = indent + 2
for k, v in pairs(tbl) do
toprint = toprint .. string.rep(" ", indent)
if type(k) == "number" then
toprint = toprint .. "[" .. k .. "] = "
elseif type(k) == "string" then
toprint = toprint .. k .. "= "
end
if type(v) == "number" then
toprint = toprint .. v .. ",\r\n"
elseif type(v) == "string" then
toprint = toprint .. '"' .. v .. '",\r\n'
elseif type(v) == "table" then
toprint = toprint .. M.tprint(v, indent + 2) .. ",\r\n"
else
toprint = toprint .. '"' .. tostring(v) .. '",\r\n'
end
end
toprint = toprint .. string.rep(" ", indent - 2) .. "}"
return toprint
end
function M.log(message) function M.log(message)
local log_file_path = vim.fn.expand("$HOME/nvim.log") local log_file_path = vim.fn.expand("$HOME/nvim.log")
local log_file = io.open(log_file_path, "a") local log_file = io.open(log_file_path, "a")
@ -97,4 +55,6 @@ function M.TableConcat(t1, t2)
return t1 return t1
end end
M.flags.blink = not M.use_google()
return M return M

View File

@ -37,12 +37,6 @@ set hlsearch " highlight matches
set splitright " Puts new vsplit windows to the right of the current set splitright " Puts new vsplit windows to the right of the current
set splitbelow " Puts new split windows to the bottom of the current set splitbelow " Puts new split windows to the bottom of the current
" When set to a negative number from -1 to -100 this is used as the
" percentage of the window height. Thus -50 scrolls half the window
" height.
set scrolljump=5 " Line to scroll when cursor leaves screen
" set scrolloff=3 " Minimum lines to keep above and below cursor
set shortmess=A " disable swapg set shortmess=A " disable swapg
set shortmess+=O set shortmess+=O
set modifiable set modifiable

BIN
zsh/..zshrc.un~ Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
export ABBR_QUIET=1 export ABBR_QUIET=1
alias grep='grep --colour' alias grep='grep --colour'
# abbr cat='bat' # abbr cat='bat'
alias ls='exa' # alias ls='exa'
alias tmux='tmux -2' alias tmux='tmux -2'
alias ..="cd .." alias ..="cd .."

View File

@ -26,3 +26,5 @@ fi
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
ulimit -n 10240

View File

@ -5,8 +5,11 @@ export ABBR_QUIET=1
# --------------- # ---------------
export PATH=$PATH:/google/src/head/depot/google3/experimental/users/cnieves/util export PATH=$PATH:/google/src/head/depot/google3/experimental/users/cnieves/util
export PATH="${HOME}/.config/lsp/lua-language-server/bin:${PATH}" export PATH="${HOME}/.config/lsp/lua-language-server/bin:${PATH}"
export GOROOT=/usr/lib/google-golang export PATH=$PATH:/${HOME}/nvim-linux-x86_64/bin/
export PATH=$GOROOT/bin:$PATH export PATH=$GOROOT/bin:$PATH
export DUMMY_API_KEY="DUMMY_API_KEY"
export GOROOT=/usr/lib/google-golang
export JAVA_HOME=$(readlink -ne /usr/local/buildtools/java/jdk) export JAVA_HOME=$(readlink -ne /usr/local/buildtools/java/jdk)
export CARGO_NET_GIT_FETCH_WITH_CLI=true export CARGO_NET_GIT_FETCH_WITH_CLI=true
source ~/g3path.zsh source ~/g3path.zsh
@ -147,6 +150,7 @@ alias bisect=/google/data/ro/teams/tetralight/bin/bisect
alias copybara='/google/bin/releases/copybara/public/copybara/copybara' alias copybara='/google/bin/releases/copybara/public/copybara/copybara'
alias allow_ptrace='/google/bin/releases/cider/dbg/allow_ptrace' alias allow_ptrace='/google/bin/releases/cider/dbg/allow_ptrace'
alias bluze=/google/bin/releases/blueprint-bluze/public/bluze alias bluze=/google/bin/releases/blueprint-bluze/public/bluze
alias cclean=/google/src/head/depot/google3/devtools/maintenance/cclean/cclean
source /google/bin/releases/gmscore-tools/cli/prod/setup_prod_gms.sh source /google/bin/releases/gmscore-tools/cli/prod/setup_prod_gms.sh
abbr bq="blaze query" abbr bq="blaze query"

View File

@ -30,7 +30,6 @@
zmodload zsh/langinfo zmodload zsh/langinfo
if [[ ${langinfo[CODESET]:-} != (utf|UTF)(-|)8 ]]; then if [[ ${langinfo[CODESET]:-} != (utf|UTF)(-|)8 ]]; then
local LC_ALL=${${(@M)$(locale -a):#*.(utf|UTF)(-|)8}[1]:-en_US.UTF-8}
fi fi
# The list of segments shown on the left. Fill it with the most important segments. # The list of segments shown on the left. Fill it with the most important segments.

View File

@ -37,6 +37,7 @@ zplug "zsh-users/zsh-syntax-highlighting", defer:2
zplug "mafredri/zsh-async", from:"github", use:"async.zsh" zplug "mafredri/zsh-async", from:"github", use:"async.zsh"
zplug "zsh-users/zsh-autosuggestions" zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-history-substring-search" zplug "zsh-users/zsh-history-substring-search"
zplug 'joshskidmore/zsh-fzf-history-search'
zplug "modules/command-not-found", from:prezto zplug "modules/command-not-found", from:prezto
zplug "romkatv/powerlevel10k", as:theme, depth:1 zplug "romkatv/powerlevel10k", as:theme, depth:1
@ -77,7 +78,7 @@ fi
zle -N fancy-ctrl-z zle -N fancy-ctrl-z
bindkey '^Z' fancy-ctrl-z bindkey '^Z' fancy-ctrl-z
bindkey '^R' fzf-history-widget # bindkey '^R' fzf-history-widget
bindkey "^A" beginning-of-line bindkey "^A" beginning-of-line
bindkey "^E" end-of-line bindkey "^E" end-of-line
bindkey '\eK' kill-line bindkey '\eK' kill-line
@ -158,12 +159,13 @@ autoload -Uz add-zsh-hook
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export EDITOR='nvim' export EDITOR='nvim'
export PATH="$PATH:/opt/nvim/"
export TERM=xterm-256color export TERM=xterm-256color
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8" export CARGO_NET_GIT_FETCH_WITH_CLI=true
export LC_CTYPE="en_US.UTF-8"
export LANG_ALL="en_US.UTF-8"
source ~/.bash_profile source ~/.bash_profile
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"