This commit is contained in:
caandt 2025-02-25 17:06:17 -06:00
parent c6ec27e9b3
commit aff050df73
6 changed files with 9 additions and 5 deletions

View file

@ -34,7 +34,6 @@ if _exists fzf; then
export FZF_DEFAULT_OPTS="--bind=ctrl-u:page-up,ctrl-d:page-down"
eval "$(fzf --bash)"
fi
_exists zoxide && eval "$(zoxide init bash)"
# use starship prompt, unless in linux terminal
if [[ "$TERM" != "linux" ]]; then
@ -67,6 +66,7 @@ else
export SHLVL=0
fi
fi
_exists zoxide && eval "$(zoxide init bash)"
# set vi mode

View file

@ -6,6 +6,6 @@ os:
edit: "nvim {{filename}}"
editAtLine: "nvim {{filename}} +{{line}}"
open: "nvim {{filename}}"
keybinding:
universal:
quit: <disabled>
git:
autoFetch: false
autoRefresh: false

View file

@ -46,6 +46,8 @@
lua-language-server
];
withRuby = false;
withPython3 = false;
withNodeJs = false;
};
xdg.configFile."nvim/init.lua".text = "require('init')";
xdg.configFile."nvim/lua".source = config.u.lib.lnn "user/config/nvim/lua";

View file

@ -1,3 +1,4 @@
vim.loader.enable()
require('u.options')
require('u.plugins')
require('u.bindings')

View file

@ -9,3 +9,4 @@ map('n', '<leader>v', '<cmd>vs<cr>', {desc = "split [V]ertical"})
map('n', '<leader>h', '<cmd>sp<cr>', {desc = "split [H]orizontal"})
map('n', 'q:', '<nop>')
map('n', '<leader>cd', vim.diagnostic.open_float, {desc = "[C]ode [D]iagnostic"})
map('n', 'x', '"_x')

View file

@ -49,10 +49,10 @@ require('undotree').setup({
['H'] = "nop",
}
})
require('colorizer').setup()
require('lazydev').setup()
require('neorg').setup({
lazy_loading = true,
load = {
["core.defaults"] = {},
["core.concealer"] = {},