add code search thing from HN
This commit is contained in:
parent
acfb9ff9c0
commit
31a49da779
@ -37,6 +37,9 @@ vim.keymap.set('i', '<S-Tab>', function()
|
|||||||
return '<S-Tab>'
|
return '<S-Tab>'
|
||||||
end, { expr=true })
|
end, { expr=true })
|
||||||
|
|
||||||
|
-- Code search? https://news.ycombinator.com/item?id=41739452
|
||||||
|
vim.keymap.set('n', 'gv', '<c-w>v<cmd>lua vim.lsp.buf.definition()<CR>', opts)
|
||||||
|
|
||||||
-- Tab stuff
|
-- Tab stuff
|
||||||
vim.opt.shiftwidth = 2
|
vim.opt.shiftwidth = 2
|
||||||
vim.opt.softtabstop = 2
|
vim.opt.softtabstop = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user