From 1bb03b88f710666f340d98c9644371d19e74b052 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Tue, 4 Oct 2022 20:05:38 -0400 Subject: [PATCH] stuff --- home-cli.nix | 8 ++++++-- lunar.lua | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/home-cli.nix b/home-cli.nix index 8a914a5..fa97a73 100644 --- a/home-cli.nix +++ b/home-cli.nix @@ -7,13 +7,14 @@ in home.stateVersion = "18.09"; home.packages = with pkgs; [ # magic-wormhole - ripgrep fd mosh w3m nnn hexyl httpie timg sox du-dust duplicati bitwarden-cli gnupg gpg-tui rage sd libqalculate glow restic spotify-tui spotifyd slides amfora duf pandoc pastel jq jo fx jc miller visidata sc-im cacert fontconfig weechat - nixfmt shellcheck vale + ripgrep fd mosh w3m nnn hexyl httpie timg sox du-dust duplicati bitwarden-cli gnupg gpg-tui rage sd libqalculate glow restic spotify-tui spotifyd slides amfora duf pandoc pastel jq jo fx jc miller visidata sc-im cacert weechat + nixfmt shellcheck vale tectonic zathura # lilypond-with-fonts nodejs deno yarn nodePackages.typescript-language-server nodePackages.stylelint nodePackages.js-beautify nodePackages.expo-cli ocaml dune_2 ocamlPackages.utop ocamlPackages.ocp-indent ocamlPackages.merlin rustc go cmake # racket-minimal cargo # ghc haskell-language-server hlint haskellPackages.hoogle ispell aspell aspellDicts.en aspellDicts.en-computers aspellDicts.en-science aspellDicts.fr aspellDicts.de aspellDicts.eo aspellDicts.es + fontconfig iosevka iosevka-bin ]; home.sessionVariables = { @@ -24,6 +25,8 @@ in EXA_ICON_SPACING = 2; }; + fonts.fontconfig.enable = true; + programs.home-manager.enable = true; programs.tmux = { @@ -226,6 +229,7 @@ in vimdiffAlias = true; withNodeJs = true; withPython3 = true; + withRuby = true; }; home.file.lunarVim = { diff --git a/lunar.lua b/lunar.lua index 4c5250c..a44d89a 100644 --- a/lunar.lua +++ b/lunar.lua @@ -1,6 +1,7 @@ lvim.log.level = "warn" lvim.format_on_save = false lvim.leader = "space" +vim.g.maplocalleader = ',' lvim.colorscheme = "catppuccin" lvim.transparent_window = true vim.opt.conceallevel = 2 -- TODO: only for org files @@ -114,8 +115,34 @@ lvim.plugins = { "felipec/vim-sanegx", event = "BufRead", }, + { "uga-rosa/ccc.nvim" }, + { "anuvyklack/windows.nvim", + requires = { + "anuvyklack/middleclass", + "anuvyklack/animation.nvim" + }, + config = function() + vim.o.winwidth = 10 + vim.o.winminwidth = 10 + vim.o.equalalways = false + require('windows').setup() + vim.keymap.set('n', 'z', 'WindowsMaximize') + end + }, + { + 'martineausimon/nvim-lilypond-suite', + requires = { 'MunifTanjim/nui.nvim' } + }, + { + "lervag/vimtex", config = function() + vim.g.vimtex_compiler_method = "tectonic" + -- vim.g.vimtex_view_method = "zathura" + -- vim.g.vimtex_view_general_viewer = "zathura" + end + }, } + require('orgmode').setup_ts_grammar() lvim.builtin.which_key.mappings["t"] = {