fix: c-p to search file
This commit is contained in:
@@ -200,7 +200,7 @@ keymap.set('n', '<Leader>e', ':NvimTreeToggle<CR>', { noremap = true, silent = t
|
||||
|
||||
-- telescope
|
||||
-- keymap.set('n', '<C-p>', ":lua require'telescope.builtin'.find_files()<CR>", {noremap = true, silent = true})
|
||||
keymap.set('n', '<C-p>', ":FzfLua files<CR>", { noremap = true, silent = true })
|
||||
keymap.set('n', '<C-p>', ":Telescope find_files<CR>", { noremap = true, silent = true })
|
||||
|
||||
-- dashboard
|
||||
keymap.set('n', '<Leader>;', ':Dashboard<CR>', { noremap = true, silent = true })
|
||||
|
||||
@@ -11,8 +11,9 @@ require("lazy").setup({
|
||||
-- add LazyVim and import its plugins
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||
-- import any extras modules here
|
||||
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
-- { import = "lazyvim.plugins.extras.lang.json" },
|
||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
{ import = "lazyvim.plugins.extras.lang.json" },
|
||||
{ import = "lazyvim.plugins.extras.lang.go" },
|
||||
-- { import = "lazyvim.plugins.extras.ui.mini-animate" },
|
||||
-- import/override with your plugins
|
||||
{ import = "plugins" },
|
||||
|
||||
@@ -54,3 +54,9 @@ vim.g.gitblame_enabled = 0
|
||||
vim.cmd([[
|
||||
autocmd BufReadPost * if line("'\"") >= 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
|
||||
]])
|
||||
|
||||
-- vim.cmd('let g:nvcode_termcolors=256')
|
||||
-- --local cc = 'gruvbox'
|
||||
-- local cc = 'lunar'
|
||||
-- vim.o.background="dark"
|
||||
-- vim.cmd('colorscheme ' .. cc)
|
||||
Reference in New Issue
Block a user