Small vi improvements
This commit is contained in:
parent
226a240ef1
commit
6bf9989a63
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
MOZ_ENABLE_WAYLAND = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -71,6 +72,7 @@
|
||||||
wine
|
wine
|
||||||
winetricks
|
winetricks
|
||||||
wireplumber
|
wireplumber
|
||||||
|
wl-clipboard
|
||||||
wlr-randr
|
wlr-randr
|
||||||
zoom-us
|
zoom-us
|
||||||
];
|
];
|
||||||
|
|
|
@ -17,6 +17,12 @@ require("gruvbox").setup({
|
||||||
})
|
})
|
||||||
vim.cmd([[colorscheme gruvbox]])
|
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
|
-- Git
|
||||||
vim.g.fugitive_gitlab_domains = {'https://git.foxsoft.co.uk'}
|
vim.g.fugitive_gitlab_domains = {'https://git.foxsoft.co.uk'}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue