Fix up nvim config
This commit is contained in:
parent
1e48eabbc5
commit
ed21a82214
@ -50,9 +50,14 @@
|
|||||||
sxiv
|
sxiv
|
||||||
#texlive.combined.scheme-full
|
#texlive.combined.scheme-full
|
||||||
xclip
|
xclip
|
||||||
|
zathura
|
||||||
zoom-us
|
zoom-us
|
||||||
];
|
];
|
||||||
|
|
||||||
|
sessionVariables = {
|
||||||
|
QT_ENABLE_HIGHDPI_SCALING = 1;
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
# This value determines the Home Manager release that your
|
||||||
# configuration is compatible with. This helps avoid breakage
|
# configuration is compatible with. This helps avoid breakage
|
||||||
# when a new Home Manager release introduces backwards
|
# when a new Home Manager release introduces backwards
|
||||||
@ -64,6 +69,19 @@
|
|||||||
stateVersion = "22.05";
|
stateVersion = "22.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
associations.added = {
|
||||||
|
"application/pdf" = ["zathura.desktop"];
|
||||||
|
};
|
||||||
|
defaultApplications = {
|
||||||
|
"application/pdf" = ["zathura.desktop"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
accounts.email.accounts = {
|
accounts.email.accounts = {
|
||||||
gmail = {
|
gmail = {
|
||||||
address = "jacob.hinkle@gmail.com";
|
address = "jacob.hinkle@gmail.com";
|
||||||
@ -127,16 +145,30 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
font = {
|
font = {
|
||||||
name = "Hack";
|
name = "Hack";
|
||||||
size = 16;
|
size = 24;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
mbsync.enable = true;
|
mbsync.enable = true;
|
||||||
neovim = {
|
neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
set tabstop=4
|
||||||
|
set softtabstop=4 " enables backspacing, etc
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
set tw=80
|
||||||
|
|
||||||
|
set bs=2 " allow backspacing over everything in insert mode
|
||||||
|
set ai " always set autoindenting on
|
||||||
|
'';
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
|
ctrlp
|
||||||
|
gundo
|
||||||
|
python-mode
|
||||||
vim-nix
|
vim-nix
|
||||||
];
|
];
|
||||||
|
vimAlias = true;
|
||||||
};
|
};
|
||||||
#notmuch.enable = true;
|
#notmuch.enable = true;
|
||||||
qutebrowser = import ./qutebrowser.nix;
|
qutebrowser = import ./qutebrowser.nix;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user