Compare commits

..

No commits in common. "3cc84477171a6884efac780eb4c5510fdb8afa82" and "b762ceac3e66992e22ddb43f45f21a26d68e6ee0" have entirely different histories.

3 changed files with 10 additions and 8 deletions

View File

@ -9,7 +9,16 @@ return require('packer').startup(function(use)
use 'junegunn/fzf.vim' use 'junegunn/fzf.vim'
use { "ellisonleao/gruvbox.nvim" } use {
'morhetz/gruvbox',
-- below adapted from old the old vimconfig commands:
-- set termguicolors
-- autocmd vimenter * ++nested colorscheme gruvbox
config = function()
vim.cmd('set termguicolors')
vim.cmd('autocmd vimenter * ++nested colorscheme gruvbox')
end
}
use ('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) use ('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })

View File

@ -56,8 +56,6 @@ vim.keymap.set("n", "<leader>r", function() vim.cmd('lua require("harpoon.ui").n
vim.keymap.set("n", "<leader>s", function() vim.cmd('lua require("harpoon.ui").nav_file(3)') end) vim.keymap.set("n", "<leader>s", function() vim.cmd('lua require("harpoon.ui").nav_file(3)') end)
vim.keymap.set("n", "<leader>t", function() vim.cmd('lua require("harpoon.ui").nav_file(4)') end) vim.keymap.set("n", "<leader>t", function() vim.cmd('lua require("harpoon.ui").nav_file(4)') end)
-- Ltex
local function ltex_append_dictionary(word) local function ltex_append_dictionary(word)
if not word or word == "\n" or word == "" then if not word or word == "\n" or word == "" then
print("Word empty:", word) print("Word empty:", word)
@ -104,6 +102,3 @@ end
vim.keymap.set("v", "<leader>zz", ltex_selection_add_word) vim.keymap.set("v", "<leader>zz", ltex_selection_add_word)
vim.keymap.set("n", "<leader>zz", ltex_add_word) vim.keymap.set("n", "<leader>zz", ltex_add_word)
vim.keymap.set("n", "<leader>zd", function() vim.cmd.edit(LTEX_DICT) end) vim.keymap.set("n", "<leader>zd", function() vim.cmd.edit(LTEX_DICT) end)
-- Lsp stuff
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float)

View File

@ -2,8 +2,6 @@ vim.opt.number = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.cmd.syntax("enable") vim.cmd.syntax("enable")
vim.o.background = "dark"
vim.cmd([[colorscheme gruvbox]])
vim.opt.smartindent = true vim.opt.smartindent = true
vim.opt.tabstop = 4 vim.opt.tabstop = 4