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

View file

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

View file

@ -46,6 +46,8 @@
lua-language-server lua-language-server
]; ];
withRuby = false; withRuby = false;
withPython3 = false;
withNodeJs = false;
}; };
xdg.configFile."nvim/init.lua".text = "require('init')"; xdg.configFile."nvim/init.lua".text = "require('init')";
xdg.configFile."nvim/lua".source = config.u.lib.lnn "user/config/nvim/lua"; 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.options')
require('u.plugins') require('u.plugins')
require('u.bindings') 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', '<leader>h', '<cmd>sp<cr>', {desc = "split [H]orizontal"})
map('n', 'q:', '<nop>') map('n', 'q:', '<nop>')
map('n', '<leader>cd', vim.diagnostic.open_float, {desc = "[C]ode [D]iagnostic"}) 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", ['H'] = "nop",
} }
}) })
require('colorizer').setup()
require('lazydev').setup() require('lazydev').setup()
require('neorg').setup({ require('neorg').setup({
lazy_loading = true,
load = { load = {
["core.defaults"] = {}, ["core.defaults"] = {},
["core.concealer"] = {}, ["core.concealer"] = {},