Fix up nvim config
This commit is contained in:
parent
1e48eabbc5
commit
ed21a82214
@ -50,9 +50,14 @@
|
||||
sxiv
|
||||
#texlive.combined.scheme-full
|
||||
xclip
|
||||
zathura
|
||||
zoom-us
|
||||
];
|
||||
|
||||
sessionVariables = {
|
||||
QT_ENABLE_HIGHDPI_SCALING = 1;
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
@ -64,6 +69,19 @@
|
||||
stateVersion = "22.05";
|
||||
};
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"application/pdf" = ["zathura.desktop"];
|
||||
};
|
||||
defaultApplications = {
|
||||
"application/pdf" = ["zathura.desktop"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
gmail = {
|
||||
address = "jacob.hinkle@gmail.com";
|
||||
@ -127,16 +145,30 @@
|
||||
enable = true;
|
||||
font = {
|
||||
name = "Hack";
|
||||
size = 16;
|
||||
size = 24;
|
||||
};
|
||||
};
|
||||
lazygit.enable = true;
|
||||
mbsync.enable = true;
|
||||
neovim = {
|
||||
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; [
|
||||
ctrlp
|
||||
gundo
|
||||
python-mode
|
||||
vim-nix
|
||||
];
|
||||
vimAlias = true;
|
||||
};
|
||||
#notmuch.enable = true;
|
||||
qutebrowser = import ./qutebrowser.nix;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user