Merge branch 'main' of github.com:jim-fx/.dotfiles
This commit is contained in:
commit
c990dffd96
@ -19,6 +19,9 @@ cmp.setup {
|
||||
latex_symbols = "[Latex]",
|
||||
})}),
|
||||
},
|
||||
experimental = {
|
||||
ghost_text = true,
|
||||
},
|
||||
completion = {
|
||||
completeopt = "menu,menuone",
|
||||
},
|
||||
|
@ -38,6 +38,9 @@ map("n", "<A-j>", "<cmd>move +1<CR>", options)
|
||||
map("n", "<A-k>", "<cmd>move -2<CR>", options)
|
||||
map("i", "<A-j>", "<cmd>move +1<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
|
||||
map("n", "<Leader>gd", ":Gvdiffsplit!<CR>", options)
|
||||
|
@ -56,6 +56,7 @@ return require("packer").startup(function()
|
||||
|
||||
-- Syntax / Autocomplete
|
||||
use "neovim/nvim-lspconfig"
|
||||
use "github/copilot.vim"
|
||||
use "hrsh7th/nvim-cmp"
|
||||
use "hrsh7th/cmp-nvim-lsp"
|
||||
use "hrsh7th/cmp-path"
|
||||
|
Loading…
Reference in New Issue
Block a user