update stuffs

chezmoi
sgoudham 2 years ago
parent 8c9fe06bb2
commit bf42cc4a10
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -6,6 +6,7 @@ vim.opt.pumheight = 20
vim.opt.clipboard = "" vim.opt.clipboard = ""
vim.opt.cmdheight = 1 vim.opt.cmdheight = 1
vim.opt.lazyredraw = true vim.opt.lazyredraw = true
vim.opt.showtabline = 0
vim.opt.completeopt = [[menuone,noinsert,noselect]] vim.opt.completeopt = [[menuone,noinsert,noselect]]
lvim.log.level = "warn" lvim.log.level = "warn"
@ -37,8 +38,6 @@ lvim.keys.normal_mode["<M-j>"] = "<C-w>j"
lvim.keys.normal_mode["<M-k>"] = "<C-w>k" lvim.keys.normal_mode["<M-k>"] = "<C-w>k"
lvim.keys.normal_mode["<M-l>"] = "<C-w>l" lvim.keys.normal_mode["<M-l>"] = "<C-w>l"
lvim.keys.normal_mode["<M-h>"] = "<C-w>h" lvim.keys.normal_mode["<M-h>"] = "<C-w>h"
lvim.keys.normal_mode["<S-l>"] = ":BufferLineCycleNext<CR>"
lvim.keys.normal_mode["<S-h>"] = ":BufferLineCyclePrev<CR>"
-- telescope -- telescope
local buffer_mappings = { local buffer_mappings = {
@ -66,6 +65,7 @@ lvim.keys.normal_mode["<leader>ra"] = ":lua require('user.haskell').run_haskell(
lvim.builtin.which_key.mappings["s"] = nil lvim.builtin.which_key.mappings["s"] = nil
lvim.builtin.which_key.mappings["f"] = { lvim.builtin.which_key.mappings["f"] = {
name = "Find", name = "Find",
b = { "<cmd>Telescope buffers<cr>", "Open Buffers" },
f = { "<cmd>Telescope find_files<cr>", "Find File" }, f = { "<cmd>Telescope find_files<cr>", "Find File" },
h = { "<cmd>Telescope help_tags<cr>", "Find Help" }, h = { "<cmd>Telescope help_tags<cr>", "Find Help" },
H = { "<cmd>Telescope highlights<cr>", "Find Highlights" }, H = { "<cmd>Telescope highlights<cr>", "Find Highlights" },
@ -200,6 +200,7 @@ lvim.builtin.project.active = true
lvim.builtin.alpha.active = true lvim.builtin.alpha.active = true
lvim.builtin.alpha.mode = "dashboard" lvim.builtin.alpha.mode = "dashboard"
lvim.builtin.notify.active = false lvim.builtin.notify.active = false
lvim.builtin.bufferline.active = false
lvim.builtin.breadcrumbs.active = false lvim.builtin.breadcrumbs.active = false
lvim.builtin.terminal.active = false lvim.builtin.terminal.active = false
lvim.builtin.indentlines.active = false lvim.builtin.indentlines.active = false
@ -209,60 +210,60 @@ lvim.builtin.treesitter.highlight.enable = true
lvim.builtin.nvimtree.setup.view.side = "left" lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.setup.renderer.icons.show.git = true lvim.builtin.nvimtree.setup.renderer.icons.show.git = true
lvim.builtin.bufferline.highlights = { -- lvim.builtin.bufferline.highlights = {
background = { -- background = {
italic = false, -- italic = false,
}, -- },
buffer_selected = { -- buffer_selected = {
italic = false, -- italic = false,
bold = true, -- bold = true,
}, -- },
diagnostic_selected = { -- diagnostic_selected = {
italic = false -- italic = false
}, -- },
hint_selected = { -- hint_selected = {
italic = false -- italic = false
}, -- },
hint_diagnostic_selected = { -- hint_diagnostic_selected = {
italic = false -- italic = false
}, -- },
info_selected = { -- info_selected = {
italic = false -- italic = false
}, -- },
info_diagnostic_selected = { -- info_diagnostic_selected = {
italic = false -- italic = false
}, -- },
warning_selected = { -- warning_selected = {
italic = false -- italic = false
}, -- },
warning_diagnostic_selected = { -- warning_diagnostic_selected = {
italic = false -- italic = false
}, -- },
error_selected = { -- error_selected = {
italic = false -- italic = false
}, -- },
error_diagnostic_selected = { -- error_diagnostic_selected = {
italic = false -- italic = false
}, -- },
duplicate_selected = { -- duplicate_selected = {
italic = false -- italic = false
}, -- },
duplicate_visible = { -- duplicate_visible = {
italic = false -- italic = false
}, -- },
duplicate = { -- duplicate = {
italic = false -- italic = false
}, -- },
pick_selected = { -- pick_selected = {
italic = false -- italic = false
}, -- },
pick_visible = { -- pick_visible = {
italic = false -- italic = false
}, -- },
pick = { -- pick = {
italic = false -- italic = false
}, -- },
} -- }
-- if you don't want all the parsers change this to a table of the ones you want -- if you don't want all the parsers change this to a table of the ones you want
lvim.builtin.treesitter.ensure_installed = { lvim.builtin.treesitter.ensure_installed = {
@ -403,6 +404,7 @@ lvim.plugins = {
}, },
integrations = { integrations = {
ts_rainbow = true, ts_rainbow = true,
bufferline = true,
native_lsp = { native_lsp = {
virtual_text = { virtual_text = {
errors = {}, errors = {},
@ -446,6 +448,8 @@ lvim.plugins = {
TSStringEscape = { style = {} }, TSStringEscape = { style = {} },
["@namespace"] = { style = {} }, ["@namespace"] = { style = {} },
["@parameter"] = { style = {} }, ["@parameter"] = { style = {} },
["@text.uri"] = { style = {} },
["@text.literal"] = { style = {} },
FloatBorder = { fg = "#cdd6f4", bg = "#181825" } FloatBorder = { fg = "#cdd6f4", bg = "#181825" }
}, },

@ -72,10 +72,7 @@ alias l='ls -CF'
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
eval "$(oh-my-posh --init --shell zsh --config ~/.config/M365Princess.omp.json)"
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
. "$HOME/.config/wezterm/wezterm.sh"
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
@ -86,9 +83,8 @@ if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
export PATH="$PATH:$HOME/.local/bin" export PATH="$PATH:$HOME/.local/bin"
export PATH="$PATH:$HOME/.local/share/scripts"
export PATH="$PATH:/usr/bin/go/bin" export PATH="$PATH:/usr/bin/go/bin"
export PATH="$PATH:/usr/local/go/bin" export PATH="$PATH:/usr/local/go/bin"
export M2_HOME="$HOME/.local/bin/apache-maven-3.8.6/bin" export M2_HOME="$HOME/.local/bin/apache-maven-3.8.6/bin"
@ -99,7 +95,14 @@ export EDITOR="lvim"
[ -f "/home/sgoudham/.ghcup/env" ] && source "/home/sgoudham/.ghcup/env" # ghcup-env [ -f "/home/sgoudham/.ghcup/env" ] && source "/home/sgoudham/.ghcup/env" # ghcup-env
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
eval "$(oh-my-posh --init --shell zsh --config ~/.config/M365Princess.omp.json)"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
. "$HOME/.config/wezterm/wezterm.sh"

Loading…
Cancel
Save