Compare commits

...

3 commits

Author SHA1 Message Date
ac0e66cd33 whitespace 2022-08-26 11:33:17 -05:00
f21d6209b6 add format function for quarto markdown 2022-08-26 11:32:56 -05:00
803632a27c update vim plugins 2022-08-26 11:32:05 -05:00
5 changed files with 32 additions and 24 deletions

View file

@ -0,0 +1,20 @@
require("zk").setup({
-- can be "telescope", "fzf" or "select" (`vim.ui.select`)
-- it's recommended to use "telescope" or "fzf"
picker = "telescope",
lsp = {
-- `config` is passed to `vim.lsp.start_client(config)`
config = {
cmd = { "zk", "lsp" },
name = "zk",
-- on_attach = ...
-- etc, see `:h vim.lsp.start_client()`
},
-- automatically attach buffers in a zk notebook that match the given filetypes
auto_attach = {
enabled = true,
filetypes = { "markdown" },
},
},
})

View file

@ -7,33 +7,17 @@ lvim.plugins = {
'catppuccin/nvim', 'catppuccin/nvim',
as = 'catppuccin' as = 'catppuccin'
}, },
{ 'Djancyp/better-comments.nvim',
config = function()
require('better-comment').Setup()
end
},
{ 'NoahTheDuke/vim-just' }, { 'NoahTheDuke/vim-just' },
{ 'ggandor/lightspeed.nvim' }, { 'ggandor/lightspeed.nvim' },
{ 'elkowar/yuck.vim' }, { 'elkowar/yuck.vim' },
{ {
'mickael-menu/zk-nvim', 'mickael-menu/zk-nvim',
config = function() config = p "zk";
require("zk").setup({
-- can be "telescope", "fzf" or "select" (`vim.ui.select`)
-- it's recommended to use "telescope" or "fzf"
picker = "telescope",
lsp = {
-- `config` is passed to `vim.lsp.start_client(config)`
config = {
cmd = { "zk", "lsp" },
name = "zk",
-- on_attach = ...
-- etc, see `:h vim.lsp.start_client()`
},
-- automatically attach buffers in a zk notebook that match the given filetypes
auto_attach = {
enabled = true,
filetypes = { "markdown" },
},
},
})
end,
}, },
} }

View file

@ -45,11 +45,9 @@ alias fzf-bat="fzf --preview 'bat --style=numbers --color=always --line-range :5
alias vivaldi="vivaldi-stable" alias vivaldi="vivaldi-stable"
if is-executable zellij; then if is-executable zellij; then
alias zs="zellij -s" alias zs="zellij -s"
alias zl="zellij ls" alias zl="zellij ls"
alias za="zellij a" alias za="zellij a"
fi fi
alias zenith="zenith -d 0 -n 0" alias zenith="zenith -d 0 -n 0"

View file

@ -79,3 +79,8 @@ alias bathelp='bat --plain --language=help'
help() { help() {
"$@" --help 2>&1 | bathelp "$@" --help 2>&1 | bathelp
} }
format-qmd() {
jupytext --from qmd $1 --pipe black
}

View file

@ -12,6 +12,7 @@ is-executable getconf && PATH=$($(command -v getconf) PATH)
prepend-path "/bin" prepend-path "/bin"
prepend-path "/usr/bin" prepend-path "/usr/bin"
prepend-path "/usr/local/bin" prepend-path "/usr/local/bin"
PATH="$DOTFILES_DIR/bin:$PATH" PATH="$DOTFILES_DIR/bin:$PATH"
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.local/bin:$PATH"