Small vi improvements
This commit is contained in:
parent
226a240ef1
commit
6bf9989a63
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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'}
|
||||
|
||||
|
|
Loading…
Reference in New Issue