Compare commits
2 Commits
b762ceac3e
...
3cc8447717
Author | SHA1 | Date | |
---|---|---|---|
3cc8447717 | |||
a66d3f9c73 |
@ -9,16 +9,7 @@ return require('packer').startup(function(use)
|
|||||||
|
|
||||||
use 'junegunn/fzf.vim'
|
use 'junegunn/fzf.vim'
|
||||||
|
|
||||||
use {
|
use { "ellisonleao/gruvbox.nvim" }
|
||||||
'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' })
|
||||||
|
|
||||||
|
@ -56,6 +56,8 @@ 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)
|
||||||
@ -102,3 +104,6 @@ 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)
|
||||||
|
@ -2,6 +2,8 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user