Update dotfiles

This commit is contained in:
hok7z 2023-08-27 13:01:33 +03:00
parent 0de0f6a5dd
commit 5a5e6e5af3
6 changed files with 31 additions and 11 deletions

View File

@ -5,6 +5,17 @@ if status --is-login
end end
if status is-interactive if status is-interactive
set -x XDG_CONFIG_HOME "$HOME/.config"
set -x XDG_STATE_HOME "$HOME/.local/state"
set -x XDG_CACHE_HOME "$HOME/.cache"
set -x DOCKER_CONFIG "$XDG_CONFIG_HOME/docker"
set -x CARGO_HOME "$XDG_DATA_HOME/cargo"
set -x RUSTUP_HOME "$XDG_DATA_HOME/rustup"
set -x WINEPREFIX "$XDG_DATA_HOME/wine"
set -x JUPYTER_CONFIG_DIR "$XDG_CONFIG_HOME/jupyter"
set -x ANDROID_HOME "$XDG_DATA_HOME/android"
alias ls="lsd" alias ls="lsd"
alias v="vim" alias v="vim"

View File

@ -19,11 +19,18 @@ require("lazy").setup({
}, },
-- Colorchemes -- Colorchemes
-- {
-- "gbprod/nord.nvim",
-- priority = 1000,
-- config = function()
-- vim.cmd.colorscheme "nord"
-- end
-- },
{ {
"gbprod/nord.nvim", "ray-x/aurora",
priority = 1000,
config = function() config = function()
vim.cmd.colorscheme "nord" vim.cmd.colorscheme "aurora"
end end
}, },
-- { -- {

View File

@ -7,15 +7,15 @@ end
cmp.setup({ cmp.setup({
mapping = cmp.mapping.preset.insert({ mapping = cmp.mapping.preset.insert({
["<Tab>"] = cmp.mapping.select_next_item(), ["<Tab>"] = cmp.mapping.select_next_item(),
["<C-N>"] = cmp.mapping.select_next_item(), ["<C-P>"] = cmp.mapping.select_next_item(),
["<C-P>"] = cmp.mapping.select_prev_item(), ["<C-N>"] = cmp.mapping.select_prev_item(),
["<S-Tab>"] = cmp.mapping.select_prev_item(), ["<S-Tab>"] = cmp.mapping.select_prev_item(),
["<C-Space>"] = cmp.mapping.complete(), ["<C-Space>"] = cmp.mapping.complete(),
["<CR>"] = cmp.mapping.confirm({select = false}), ["<CR>"] = cmp.mapping.confirm({select = false}),
}), }),
completion = { completion = {
-- autocomplete = true, autocomplete = false,
completeopt = "menu,menuone,noinsert", completeopt = "menu,menuone,noinsert",
winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,Search:None", winhighlight = "Normal:Pmenu,FloatBorder:Pmenu,Search:None",
}, },

View File

@ -21,10 +21,12 @@ nvim_treesitter_configs.setup {
lookahead = true, lookahead = true,
keymaps = { keymaps = {
-- You can use the capture groups defined in textobjects.scm -- You can use the capture groups defined in textobjects.scm
["af"] = "@function.outer", ['aa'] = '@parameter.outer',
["if"] = "@function.inner", ['ia'] = '@parameter.inner',
["ac"] = "@class.outer", ['af'] = '@function.outer',
["ic"] = "@class.inner" ['if'] = '@function.inner',
['ac'] = '@class.outer',
['ic'] = '@class.inner',
} }
}, },
move = { move = {

View File

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB