Skip to content

Commit a8ebd50

Browse files
committed
feat
1 parent 2d734dc commit a8ebd50

File tree

8 files changed

+29
-6
lines changed

8 files changed

+29
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ setup-nix:
6969

7070
NIX_ARGS=--extra-experimental-features nix-command --extra-experimental-features flakes
7171
nix-pkgs: setup-nix
72-
. ./nix/load-"$(OS)".sh && cd nix && nix flake update "$(NIX_ARGS)" && nix profile install$(NIX_ARGS)
72+
. ./nix/load-"$(OS)".sh && cd nix && nix flake update $(NIX_ARGS) && (nix profile upgrade $(NIX_ARGS) nix || nix profile install $(NIX_ARGS) .)
7373

7474
.PHONY: setup-brew brew-pkgs
7575

nix/flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
entr
3333
findutils
3434
# fish
35+
fd
36+
csvlens
3537
flyctl
3638
gh
3739
git

nvim/lazy-lock.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
2424
"leap.nvim": { "branch": "main", "commit": "f19d43590c4b6d31188ee1ea2954d2b7558a9e11" },
2525
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
26+
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
2627
"mini.icons": { "branch": "main", "commit": "ff2e4f1d29f659cc2bad0f9256f2f6195c6b2428" },
2728
"mini.nvim": { "branch": "main", "commit": "b7231b65d15611a99168bc5a94a84cb8e4c85c21" },
2829
"nvim-autopairs": { "branch": "master", "commit": "c2a0dd0d931d0fb07665e1fedb1ea688da3b80b4" },
@@ -43,6 +44,7 @@
4344
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
4445
"telescope-git-file-history.nvim": { "branch": "master", "commit": "e7d495319f2a04df96402057a6992ea970f8914d" },
4546
"telescope-makefile": { "branch": "master", "commit": "f35425d7d53d92a04215c3714a5819811d2842c3" },
47+
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
4648
"telescope.nvim": { "branch": "master", "commit": "3d757e586ff0bfc85bdb7b46c9d3d932147a0cde" },
4749
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
4850
"undotree": { "branch": "master", "commit": "0f1c9816975b5d7f87d5003a19c53c6fd2ff6f7f" },

nvim/lua/config/command.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ vim.cmd([[
2525

2626
-- Search in personal notes
2727
local function searchPersonalNotes()
28-
require("telescope.builtin").find_files({
28+
require("telescope.builtin").find_files(require("telescope.themes").get_ivy({
2929
prompt_title = "<Personal Notes>",
3030
search_dirs = { "~/personal", "~/programming-resources" },
3131
path_display = { "absolute" },
32-
})
32+
}))
3333
end
3434
_G.searchPersonalNotes = searchPersonalNotes
3535
-- :S

nvim/lua/plugins/cmp.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ return {
198198
},
199199
per_filetype = {
200200
markdown = {
201+
"obsidian",
201202
"copilot",
202203
"snippets",
203204
"path",
@@ -282,6 +283,10 @@ return {
282283
name = "Emoji",
283284
score_offset = 1,
284285
},
286+
obsidian = {
287+
name = "obsidian",
288+
module = "blink.compat.source",
289+
},
285290
},
286291
},
287292
},

nvim/lua/plugins/telescope.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ return {
1414
"isak102/telescope-git-file-history.nvim",
1515
dependencies = { "tpope/vim-fugitive" },
1616
},
17+
"nvim-telescope/telescope-ui-select.nvim",
1718
},
1819
config = function()
1920
local status_ok, telescope = pcall(require, "telescope")
@@ -107,6 +108,8 @@ return {
107108
extensions = {
108109
fzf = {
109110
fuzzy = true, -- false will only do exact matching
111+
override_generic_sorter = true,
112+
override_file_sorter = true,
110113
case_mode = "smart_case", -- or "ignore_case" or "respect_case"
111114
},
112115
["ui-select"] = {

nvim/lua/plugins/text-editing.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ return {
8585
{ "dhruvasagar/vim-table-mode" },
8686
{ "dkarter/bullets.vim" },
8787
{ "mzlogin/vim-markdown-toc" },
88+
-- install with yarn or npm
89+
{
90+
"iamcco/markdown-preview.nvim",
91+
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
92+
build = "cd app && yarn install",
93+
init = function()
94+
vim.g.mkdp_filetypes = { "markdown" }
95+
end,
96+
ft = { "markdown" },
97+
},
98+
8899
--- Text editing - HTML
89100
{ "alvan/vim-closetag" },
90101
{ "Glench/Vim-Jinja2-Syntax" },

0 commit comments

Comments
 (0)