Compare commits

..

2 Commits

Author SHA1 Message Date
pegasust fc8bb4c1d3 zk: multi-select sucks tbh 2022-12-13 05:26:42 +00:00
pegasust 2e3a540789 add zip 2022-12-11 23:30:18 +00:00
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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)