Merge branch 'main' of github.com:jim-fx/.dotfiles

This commit is contained in:
max_richter 2021-11-27 18:39:57 +01:00
commit c990dffd96
3 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,9 @@ cmp.setup {
latex_symbols = "[Latex]", latex_symbols = "[Latex]",
})}), })}),
}, },
experimental = {
ghost_text = true,
},
completion = { completion = {
completeopt = "menu,menuone", completeopt = "menu,menuone",
}, },

View File

@ -38,6 +38,9 @@ map("n", "<A-j>", "<cmd>move +1<CR>", options)
map("n", "<A-k>", "<cmd>move -2<CR>", options) map("n", "<A-k>", "<cmd>move -2<CR>", options)
map("i", "<A-j>", "<cmd>move +1<CR>", options) map("i", "<A-j>", "<cmd>move +1<CR>", options)
map("i", "<A-k>", "<cmd>move -2<CR>", options) map("i", "<A-k>", "<cmd>move -2<CR>", options)
map("v", "<A-j>", ":m '>+1<CR>gv=gv", options)
map("v", "<A-k>", ":m '<-2<CR>gv=gv", options)
-- Faster git merge -- Faster git merge
map("n", "<Leader>gd", ":Gvdiffsplit!<CR>", options) map("n", "<Leader>gd", ":Gvdiffsplit!<CR>", options)

View File

@ -56,6 +56,7 @@ return require("packer").startup(function()
-- Syntax / Autocomplete -- Syntax / Autocomplete
use "neovim/nvim-lspconfig" use "neovim/nvim-lspconfig"
use "github/copilot.vim"
use "hrsh7th/nvim-cmp" use "hrsh7th/nvim-cmp"
use "hrsh7th/cmp-nvim-lsp" use "hrsh7th/cmp-nvim-lsp"
use "hrsh7th/cmp-path" use "hrsh7th/cmp-path"