stuff. vim. jc. sox. etc

master
Dustin Swan 3 years ago
parent a84e1f9e4e
commit e88f0a589d
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -15,6 +15,7 @@ in
hexyl hexyl
httpie httpie
timg timg
sox
tealdeer tealdeer
du-dust du-dust
duplicati duplicati
@ -38,8 +39,10 @@ in
magic-wormhole magic-wormhole
qrcp qrcp
pastel pastel
jq
jo # jo name=Dustin age=99 -> { name: "dustin", age: 99 } 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] 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 visidata
sc-im sc-im
bandwhich bandwhich
@ -149,6 +152,9 @@ in
er = "rm -rf logs; unzip -o"; er = "rm -rf logs; unzip -o";
srsync = "rsync --rsync-path='sudo rsync'"; srsync = "rsync --rsync-path='sudo rsync'";
vim = "~/.local/bin/lvim"; # trying out LunarVim 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.gpg.enable = true;
programs.mpv.enable = true; programs.mpv.enable = true;
programs.jq.enable = true;
programs.noti.enable = true; programs.noti.enable = true;
programs.bottom.enable = true; programs.bottom.enable = true;

@ -6,11 +6,14 @@ lvim.transparent_window = true
-- vim.opt.cmdheight = 1 -- vim.opt.cmdheight = 1
vim.opt.conceallevel = 2 -- TODO: only for org files 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.notify.active = true
lvim.builtin.terminal.active = true lvim.builtin.terminal.active = true
lvim.builtin.treesitter.highlight.enabled = 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" }) table.insert(lvim.builtin.cmp.sources, { name = "orgmode" })
lvim.plugins = { lvim.plugins = {
@ -83,6 +86,8 @@ lvim.plugins = {
-- end -- end
-- }, -- },
{ "jamessan/vim-gnupg" }, { "jamessan/vim-gnupg" },
{ "simrat39/symbols-outline.nvim" },
{ "voldikss/vim-floaterm" },
} }
lvim.builtin.which_key.mappings["t"] = { lvim.builtin.which_key.mappings["t"] = {
@ -101,8 +106,8 @@ lvim.builtin.which_key.mappings["T"] = {
T = { "<cmd>:TableModeRealign<cr>", "Realign" }, 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["B"] = { "<cmd>BlamerShow<cr>", "Show Blamer" }
lvim.builtin.which_key.mappings["S"] = { "<cmd>SymbolsOutline<cr>", "Symbols Outline" }
-- Org mode stuff -- 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_agenda_files = {'~/Dropbox/org/*', '~/my-orgs/**/*'},
-- org_default_notes_file = '~/Dropbox/org/refile.org', -- 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", },
},
}

Loading…
Cancel
Save