Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brightpuddle committed Jan 4, 2023
1 parent 67ff254 commit ed8db48
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .config/helix/languages.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# [[language]]
# name = "go"
# file-types = ["go"]
# language-server = { command = "efm-langserver" }
5 changes: 1 addition & 4 deletions .config/helix/themes/nord.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Author : RayGervais<[email protected]>

"ui.linenr.selected" = { fg = "nord4" }
"ui.text.focus" = { fg = "nord8", modifiers= ["bold"] }
"ui.menu" = { fg = "nord6", bg = "#232d38" }
"ui.menu.selected" = { fg = "nord8", bg = "nord2" }
Expand All @@ -16,7 +13,7 @@


# nord1 - status bars, panels, modals, autocompletion
"ui.statusline" = { fg = "nord4", bg = "#4c566a" }
"ui.statusline" = { fg = "nord3", bg = "nord1" }
"ui.popup" = { bg = "#232d38" }
"ui.window" = { bg = "#232d38" }
"ui.help" = { bg = "#232d38", fg = "nord4" }
Expand Down
1 change: 1 addition & 0 deletions .config/kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ mouse_hide_wait -1.0
remember_window_size no
term xterm-256color
visual_bell_duration 0.0
macos_secure_keyboard_entry no

# Interop
allow_remote_control yes
Expand Down
5 changes: 3 additions & 2 deletions .config/nvim/lua/config/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ return function()
lsp.tailwindcss.setup(config())
lsp.terraformls.setup(config())
lsp.tsserver.setup(config())
lsp.vls.setup(config({ format = true }))
lsp.sumneko_lua.setup({
on_attach = on_attach(),
capabilities = capabilities,
Expand Down Expand Up @@ -99,6 +100,8 @@ return function()
-- Code Actions

-- Formatting
formatting.trim_newlines,
formatting.trim_whitespace,
formatting.black,
formatting.fixjson,
formatting.golines,
Expand All @@ -118,8 +121,6 @@ return function()
formatting.shfmt,
formatting.stylua,
formatting.terraform_fmt,
formatting.trim_newlines,
formatting.trim_whitespace,
formatting.xmllint,
},
})
Expand Down
15 changes: 15 additions & 0 deletions .config/nvim/lua/config/zen.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
return function()
require("zen-mode").setup({
window = {
backdrop = 1,
options = { number = false },
width = 100,
height = 0.90,
},
plugins = {
twilight = { enabled = true },
-- tmux = { enabled = true },
-- kitty = { enabled = true, font = "+1" },
},
})
end
19 changes: 9 additions & 10 deletions .config/nvim/plugin/10-main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,6 @@ require("packer").startup({
-- cmd = { "TroubleToggle" },
})

-- zen mode
-- use({
-- "Pocco81/TrueZen.nvim",
-- cmd = "TZAtaraxis",
-- config = function()
-- require("true-zen").setup()
-- end,
-- })

-- colorize hex codes
use({
"norcalli/nvim-colorizer.lua",
Expand Down Expand Up @@ -225,7 +216,6 @@ require("packer").startup({
use({
"hrsh7th/nvim-cmp",
requires = {

{ "saadparwaiz1/cmp_luasnip", requires = "L3MON4D3/LuaSnip" },
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
Expand Down Expand Up @@ -280,6 +270,9 @@ require("packer").startup({
},
})

-- Zen
use({ "folke/zen-mode.nvim", cmd = { "ZenMode" }, config = require("config.zen") })

-- Go
use({
"fatih/vim-go",
Expand All @@ -306,6 +299,12 @@ require("packer").startup({
-- Terraform
use({ "hashivim/vim-terraform", ft = { "terraform" } })

-- V
use({ "ollykel/v-vim", ft = { "vlang" } })

-- Crystal
use({ "vim-crystal/vim-crystal", ft = { "crystal" } })

if PackerBootstrap then
require("packer").sync()
end
Expand Down
Binary file modified .local/share/yadm/archive
Binary file not shown.
1 change: 0 additions & 1 deletion .skhdrc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ alt - space : yabai -m window --toggle float;\
alt - w : yabai -m window --toggle float;\
yabai -m window --grid 1:9:1:0:7:1


alt - f : yabai -m space --layout float;\
yabai -m window --grid 1:1:1:1:1:1;

Expand Down
3 changes: 3 additions & 0 deletions .yabairc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ yabai -m config window_border off
# opacity
yabai -m config window_opacity off

# animation
# yabai -m config window_animation_duration 0.35

# global settings
yabai -m config window_shadow on
yabai -m config window_placement second_child
Expand Down

0 comments on commit ed8db48

Please sign in to comment.