Compare commits
2 Commits
b8d7024b93
...
fc8bb4c1d3
Author | SHA1 | Date |
---|---|---|
pegasust | fc8bb4c1d3 | |
pegasust | 2e3a540789 |
|
@ -280,7 +280,8 @@ end, { desc = '[F]ind [D]iagnostics' })
|
||||||
|
|
||||||
-- ZK remap stuffs
|
-- ZK remap stuffs
|
||||||
remap('n', '<leader>zf', function()
|
remap('n', '<leader>zf', function()
|
||||||
vim.cmd([[:ZkNotes]])
|
-- vim.cmd([[:ZkNotes]])
|
||||||
|
require('zk').edit({}, {multi_select = false})
|
||||||
end, { desc = '[Z]ettelkasten [F]iles' })
|
end, { desc = '[Z]ettelkasten [F]iles' })
|
||||||
|
|
||||||
remap('n', '<leader>zg', function()
|
remap('n', '<leader>zg', function()
|
||||||
|
@ -388,7 +389,7 @@ harpoon_nav('8', 8)
|
||||||
harpoon_nav('9', 9)
|
harpoon_nav('9', 9)
|
||||||
harpoon_nav('0', 10)
|
harpoon_nav('0', 10)
|
||||||
|
|
||||||
-- neogit: easy-to-see git status
|
-- neogit: easy-to-see git status. Provides only productivity on staging/unstage
|
||||||
require('neogit').setup {}
|
require('neogit').setup {}
|
||||||
remap('n', '<leader>gs', function() require('neogit').open({}) end);
|
remap('n', '<leader>gs', function() require('neogit').open({}) end);
|
||||||
|
|
||||||
|
@ -890,7 +891,7 @@ require('zk.commands').add("ZkGrep", function(match_ctor)
|
||||||
elseif type(match_ctor) == 'string' then
|
elseif type(match_ctor) == 'string' then
|
||||||
match = { match = grep_str }
|
match = { match = grep_str }
|
||||||
end
|
end
|
||||||
require('zk').edit(match, { title = "Grep: '" .. grep_str .. "'" })
|
require('zk').edit(match, { title = "Grep: '" .. grep_str .. "'", mutli_select = false})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,7 @@ in
|
||||||
pkgs.htop
|
pkgs.htop
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
pkgs.unzip
|
pkgs.unzip
|
||||||
# pkgs.nodejs-18_x
|
pkgs.zip
|
||||||
|
|
||||||
|
|
||||||
# cool utilities
|
# cool utilities
|
||||||
pkgs.yq # Yaml adaptor for jq (only pretty print, little query)
|
pkgs.yq # Yaml adaptor for jq (only pretty print, little query)
|
||||||
|
|
Loading…
Reference in New Issue