Skip to content

Commit 73f6ff4

Browse files
committed
fix(rust): shouldn't've staged that
1 parent 5262a56 commit 73f6ff4

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

lua/custom/plugins/rust.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
return {
22
{
3-
-- 'mrcjkb/rustaceanvim',
4-
5-
dir = '~/projects/rustaceanvim',
6-
name = 'rustaceanvim',
7-
3+
'mrcjkb/rustaceanvim',
84
ft = { 'rust' },
95
config = function()
106
vim.api.nvim_create_autocmd('LspAttach', {

lua/keymaps.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
33

44
vim.keymap.set('n', '<C-s>', '<cmd>:w<cr>', { desc = 'Quick-save' })
55
vim.keymap.set('n', '<leader>q', '<cmd>:confirm qa<cr>', { desc = 'Quit' })
6-
vim.keymap.set('n', '<leader>d', '"_d', { desc = 'Delete into _' })
6+
vim.keymap.set({ 'n', 'x' }, '<leader>d', '"_d', { desc = 'Delete into _' })
77

88
-- NOTE: This won't work in all terminal emulators/tmux/etc. Try your own mapping
99
-- or just use <C-\><C-n> to exit terminal mode

lua/kickstart/plugins/snacks.lua

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,17 @@ return {
5353
},
5454
},
5555
input = {},
56-
picker = {},
56+
picker = {
57+
sources = {
58+
explorer = {
59+
auto_close = true,
60+
jump = { close = true },
61+
layout = {
62+
preset = 'vscode',
63+
},
64+
},
65+
},
66+
},
5767
},
5868
-- See `:help snacks-pickers-sources`
5969
keys = {
@@ -154,13 +164,15 @@ return {
154164
function()
155165
Snacks.picker.explorer()
156166
end,
167+
desc = 'Open Explorer',
157168
},
158169

159170
{
160171
'<leader>g',
161172
function()
162173
Snacks.lazygit()
163174
end,
175+
desc = 'Lazygit',
164176
},
165177
},
166178
},

0 commit comments

Comments
 (0)