misc
This commit is contained in:
parent
c6ec27e9b3
commit
aff050df73
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -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')
|
||||||
|
|
|
||||||
|
|
@ -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"] = {},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue