stuff. vim. jc. sox. etc
This commit is contained in:
@@ -15,6 +15,7 @@ in
|
||||
hexyl
|
||||
httpie
|
||||
timg
|
||||
sox
|
||||
tealdeer
|
||||
du-dust
|
||||
duplicati
|
||||
@@ -38,8 +39,10 @@ in
|
||||
magic-wormhole
|
||||
qrcp
|
||||
pastel
|
||||
jq
|
||||
jo # jo name=Dustin age=99 -> { name: "dustin", age: 99 }
|
||||
fx # jo -a one two three | fx ".map(e => e.length > 3)" -> [false, false, true]
|
||||
jc # dig example.com | jc --dig; or "magic" syntax: jc dig example.com; jc ls -l; etc.
|
||||
visidata
|
||||
sc-im
|
||||
bandwhich
|
||||
@@ -149,6 +152,9 @@ in
|
||||
er = "rm -rf logs; unzip -o";
|
||||
srsync = "rsync --rsync-path='sudo rsync'";
|
||||
vim = "~/.local/bin/lvim"; # trying out LunarVim
|
||||
ambient1 = "play -n -c1 synth whitenoise lowpass -1 120 lowpass -1 120 lowpass -1 120 gain +16";
|
||||
ambient2 = "play -c 2 -n synth brownnoise lowpass 200";
|
||||
ambient3 = "play -c 2 -n synth brownnoise lowpass 150 loudness +10";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -294,7 +300,6 @@ in
|
||||
|
||||
programs.gpg.enable = true;
|
||||
programs.mpv.enable = true;
|
||||
programs.jq.enable = true;
|
||||
programs.noti.enable = true;
|
||||
programs.bottom.enable = true;
|
||||
|
||||
|
||||
27
lunar.lua
27
lunar.lua
@@ -6,11 +6,14 @@ lvim.transparent_window = true
|
||||
-- vim.opt.cmdheight = 1
|
||||
vim.opt.conceallevel = 2 -- TODO: only for org files
|
||||
|
||||
lvim.builtin.dashboard.active = true
|
||||
lvim.builtin.alpha.mode = 'startify'
|
||||
lvim.builtin.notify.active = true
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.treesitter.highlight.enabled = true
|
||||
|
||||
lvim.builtin.nvimtree.setup.hijack_netrw = false -- to get gx working again
|
||||
lvim.builtin.nvimtree.setup.disable_netrw = true -- TODO: but it isn't working
|
||||
|
||||
table.insert(lvim.builtin.cmp.sources, { name = "orgmode" })
|
||||
|
||||
lvim.plugins = {
|
||||
@@ -83,6 +86,8 @@ lvim.plugins = {
|
||||
-- end
|
||||
-- },
|
||||
{ "jamessan/vim-gnupg" },
|
||||
{ "simrat39/symbols-outline.nvim" },
|
||||
{ "voldikss/vim-floaterm" },
|
||||
}
|
||||
|
||||
lvim.builtin.which_key.mappings["t"] = {
|
||||
@@ -101,8 +106,8 @@ lvim.builtin.which_key.mappings["T"] = {
|
||||
T = { "<cmd>:TableModeRealign<cr>", "Realign" },
|
||||
}
|
||||
|
||||
lvim.builtin.which_key.mappings["m"] = { "<cmd>MinimapToggle<cr>", "Toggle Minimap" }
|
||||
lvim.builtin.which_key.mappings["B"] = { "<cmd>BlamerShow<cr>", "Show Blamer" }
|
||||
lvim.builtin.which_key.mappings["S"] = { "<cmd>SymbolsOutline<cr>", "Symbols Outline" }
|
||||
|
||||
-- Org mode stuff
|
||||
|
||||
@@ -130,3 +135,21 @@ lvim.builtin.which_key.mappings["B"] = { "<cmd>BlamerShow<cr>", "Show Blamer" }
|
||||
-- org_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
|
||||
-- org_default_notes_file = '~/Dropbox/org/refile.org',
|
||||
-- })
|
||||
|
||||
-- Prettier configuration
|
||||
local formatters = require "lvim.lsp.null-ls.formatters"
|
||||
formatters.setup {
|
||||
{
|
||||
exe = "prettier",
|
||||
-- filetypes = { "javascriptreact", "javascript", "typescriptreact", "typescript", "json", "markdown", },
|
||||
},
|
||||
}
|
||||
|
||||
-- ESLint
|
||||
local linters = require "lvim.lsp.null-ls.linters"
|
||||
linters.setup {
|
||||
{
|
||||
exe = "eslint",
|
||||
-- filetypes = { "javascriptreact", "javascript", "typescriptreact", "typescript", "vue", },
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user