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