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,7 +5,18 @@ if status --is-login
end
if status is-interactive
alias ls="lsd"
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 v="vim"
alias nv="nvim"

View File

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

View File

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

View File

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