Updating neovim configuration
This commit is contained in:
parent
8459e26e3f
commit
caa5c24146
@ -1,5 +1,5 @@
|
||||
return {
|
||||
'windwp/nvim-autopairs',
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
opts = {} -- this is equalent to setup({}) function
|
||||
opts = {}, -- this is equalent to setup({}) function
|
||||
}
|
||||
|
@ -1,8 +1,7 @@
|
||||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
config = function()
|
||||
require('lualine').setup()
|
||||
end
|
||||
require("lualine").setup()
|
||||
end,
|
||||
}
|
||||
|
||||
|
@ -7,8 +7,6 @@ return {
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
config = function()
|
||||
vim.keymap.set("n", '<leader>n',":Neotree toggle<CR>",{})
|
||||
end
|
||||
vim.keymap.set("n", "<leader>n", ":Neotree toggle<CR>", {})
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
return {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.5',
|
||||
dependencies = { 'nvim-lua/plenary.nvim' },
|
||||
config= function()
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.5",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
local builtin = require("telescope.builtin")
|
||||
vim.keymap.set("n", '<C-p>',builtin.find_files,{})
|
||||
vim.keymap.set("n", '<leader>fg',builtin.live_grep,{})
|
||||
end
|
||||
}
|
||||
vim.keymap.set("n", "<C-p>", builtin.find_files, {})
|
||||
vim.keymap.set("n", "<leader>fg", builtin.live_grep, {})
|
||||
end,
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
return {
|
||||
"lervag/vimtex",
|
||||
config = function()
|
||||
vim.g.vimtex_view_general_viewer = 'zathura'
|
||||
vim.g.vimtex_view_general_viewer = "zathura"
|
||||
vim.g.vimtex_view_automatic = 1
|
||||
vim.keymap.set('n','<leader>ll',':VimtexCompile<CR>')
|
||||
vim.keymap.set('n','<leader>lv',':VimtexView<CR>')
|
||||
end
|
||||
vim.keymap.set("n", "<leader>ll", ":VimtexCompile<CR>")
|
||||
vim.keymap.set("n", "<leader>lv", ":VimtexView<CR>")
|
||||
end,
|
||||
}
|
||||
|
@ -3,5 +3,3 @@ vim.cmd("set tabstop=2")
|
||||
vim.cmd("set softtabstop=2")
|
||||
vim.cmd("set shiftwidth=2")
|
||||
vim.g.mapleader = " "
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user