Update dotfiles
This commit is contained in:
parent
0de0f6a5dd
commit
5a5e6e5af3
|
@ -5,6 +5,17 @@ if status --is-login
|
|||
end
|
||||
|
||||
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 v="vim"
|
||||
|
|
|
@ -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
|
||||
},
|
||||
-- {
|
||||
|
|
|
@ -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",
|
||||
},
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Binary file not shown.
Before Width: | Height: | Size: 146 KiB |
Loading…
Reference in New Issue