Small vi improvements

This commit is contained in:
Trevor Vallender 2023-04-12 10:35:38 +01:00
parent 226a240ef1
commit 6bf9989a63
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@
home.sessionVariables = {
EDITOR = "nvim";
MOZ_ENABLE_WAYLAND = 1;
};
home.packages = with pkgs; [
@ -71,6 +72,7 @@
wine
winetricks
wireplumber
wl-clipboard
wlr-randr
zoom-us
];

View File

@ -17,6 +17,12 @@ require("gruvbox").setup({
})
vim.cmd([[colorscheme gruvbox]])
-- Improve terminal setup
vim.api.nvim_command("autocmd TermOpen * startinsert")
vim.api.nvim_command("autocmd TermOpen * setlocal nonumber norelativenumber")
vim.api.nvim_command("autocmd TermEnter * setlocal signcolumn=no")
vim.keymap.set('t', '<esc>', "<C-\\><C-n>")
-- Git
vim.g.fugitive_gitlab_domains = {'https://git.foxsoft.co.uk'}