mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
chore: more stuff
This commit is contained in:
206
.Brewfile
206
.Brewfile
@@ -1,206 +0,0 @@
|
||||
tap "boltops-tools/software"
|
||||
tap "cutzenfriend/cmdg"
|
||||
tap "gjbae1212/gossm"
|
||||
tap "hmarr/tap"
|
||||
tap "homebrew/bundle"
|
||||
tap "homebrew/cask"
|
||||
tap "homebrew/cask-fonts"
|
||||
tap "homebrew/cask-versions"
|
||||
tap "homebrew/core"
|
||||
tap "osx-cross/arm"
|
||||
tap "osx-cross/avr"
|
||||
tap "qmk/qmk"
|
||||
tap "tsub/s3-edit"
|
||||
tap "turbot/tap"
|
||||
tap "warrensbox/tap"
|
||||
brew "ack"
|
||||
brew "amazon-ecs-cli"
|
||||
brew "asciinema"
|
||||
brew "gdbm"
|
||||
brew "readline"
|
||||
brew "xz"
|
||||
brew "autojump"
|
||||
brew "automake"
|
||||
brew "autossh"
|
||||
brew "awscli"
|
||||
brew "bash"
|
||||
brew "bat"
|
||||
brew "bison"
|
||||
brew "blueutil"
|
||||
brew "libffi"
|
||||
brew "glib"
|
||||
brew "cairo"
|
||||
brew "cheat"
|
||||
brew "consul"
|
||||
brew "coreutils"
|
||||
brew "ctop"
|
||||
brew "dos2unix"
|
||||
brew "erlang"
|
||||
brew "elixir"
|
||||
brew "exa"
|
||||
brew "expect"
|
||||
brew "fasd"
|
||||
brew "fd"
|
||||
brew "gobject-introspection"
|
||||
brew "harfbuzz"
|
||||
brew "ffmpeg"
|
||||
brew "ffsend"
|
||||
brew "findutils"
|
||||
brew "fnm"
|
||||
brew "fpp"
|
||||
brew "fzf"
|
||||
brew "gdk-pixbuf"
|
||||
brew "gh"
|
||||
brew "git"
|
||||
brew "git-extras"
|
||||
brew "git-plus"
|
||||
brew "pinentry"
|
||||
brew "gnupg"
|
||||
brew "go"
|
||||
brew "goreleaser"
|
||||
brew "pango"
|
||||
brew "librsvg"
|
||||
brew "graphviz"
|
||||
brew "grep"
|
||||
brew "grpc"
|
||||
brew "handbrake"
|
||||
brew "hasura-cli"
|
||||
brew "helm"
|
||||
brew "helmfile"
|
||||
brew "htop"
|
||||
brew "hub"
|
||||
brew "imagemagick"
|
||||
brew "jq"
|
||||
brew "keokeishiya/formulae/skhd", restart_service: :changed
|
||||
brew "keokeishiya/formulae/yabai", restart_service: :changed
|
||||
brew "krew"
|
||||
brew "kubectx"
|
||||
brew "lazygit"
|
||||
brew "libyaml"
|
||||
brew "lynx"
|
||||
brew "markdown"
|
||||
brew "mas"
|
||||
brew "minikube"
|
||||
brew "mkvtoolnix"
|
||||
brew "mongosh"
|
||||
brew "mono"
|
||||
brew "mosh"
|
||||
brew "most"
|
||||
brew "mysql"
|
||||
brew "mysql@5.7"
|
||||
brew "neovim", args: ["HEAD"]
|
||||
brew "nmap"
|
||||
brew "nnn"
|
||||
brew "nvm"
|
||||
brew "openjdk"
|
||||
brew "pandoc"
|
||||
brew "pillow"
|
||||
brew "pinentry-mac"
|
||||
brew "ranger"
|
||||
brew "rbenv"
|
||||
brew "rclone"
|
||||
brew "reattach-to-user-namespace"
|
||||
brew "redis"
|
||||
brew "ripgrep"
|
||||
brew "ruby-build"
|
||||
brew "rustup-init"
|
||||
brew "showkey"
|
||||
brew "speedtest-cli"
|
||||
brew "starship"
|
||||
brew "stylua"
|
||||
brew "teensy_loader_cli"
|
||||
brew "terraform-ls"
|
||||
brew "thefuck"
|
||||
brew "the_platinum_searcher"
|
||||
brew "the_silver_searcher"
|
||||
brew "tldr"
|
||||
brew "tmux"
|
||||
brew "tmux-xpanes"
|
||||
brew "tmuxinator", link: false
|
||||
brew "tmuxinator-completion", link: false
|
||||
brew "tree"
|
||||
brew "ttyrec"
|
||||
brew "urlview"
|
||||
brew "vault"
|
||||
brew "vim"
|
||||
brew "wallpaper"
|
||||
brew "wget"
|
||||
brew "whalebrew"
|
||||
brew "yadm"
|
||||
brew "youtube-dl"
|
||||
brew "yq"
|
||||
brew "z"
|
||||
brew "zk"
|
||||
brew "zoxide"
|
||||
brew "zsh"
|
||||
brew "zsh-syntax-highlighting"
|
||||
brew "gjbae1212/gossm/gossm"
|
||||
brew "qmk/qmk/qmk"
|
||||
brew "tsub/s3-edit/s3-edit"
|
||||
brew "turbot/tap/steampipe"
|
||||
brew "warrensbox/tap/tfswitch"
|
||||
cask "1password"
|
||||
cask "1password-cli"
|
||||
cask "adobe-creative-cloud"
|
||||
cask "alfred"
|
||||
cask "amethyst"
|
||||
cask "anki"
|
||||
cask "arduino"
|
||||
cask "aws-vault"
|
||||
cask "bartender"
|
||||
cask "bettertouchtool"
|
||||
cask "boop"
|
||||
cask "cool-retro-term"
|
||||
cask "daisydisk"
|
||||
cask "dash"
|
||||
cask "discord"
|
||||
cask "docker"
|
||||
cask "dropbox"
|
||||
cask "firefox"
|
||||
cask "font-fira-code-nerd-font"
|
||||
cask "font-hack-nerd-font"
|
||||
cask "font-noto-nerd-font"
|
||||
cask "fork"
|
||||
cask "google-chrome"
|
||||
cask "google-drive"
|
||||
cask "google-drive-file-stream"
|
||||
cask "handbrake"
|
||||
cask "hazel"
|
||||
cask "imazing"
|
||||
cask "insomnia"
|
||||
cask "istat-menus"
|
||||
cask "iterm2"
|
||||
cask "keybase"
|
||||
cask "keycastr"
|
||||
cask "meld"
|
||||
cask "microsoft-auto-update"
|
||||
cask "microsoft-office"
|
||||
cask "mongodb-compass"
|
||||
cask "moom"
|
||||
cask "nextcloud"
|
||||
cask "ngrok"
|
||||
cask "notion"
|
||||
cask "obsidian"
|
||||
cask "phantomjs"
|
||||
cask "postman"
|
||||
cask "robo-3t"
|
||||
cask "session-manager-plugin"
|
||||
cask "slack"
|
||||
cask "spotify"
|
||||
cask "superduper"
|
||||
cask "swiftbar"
|
||||
cask "synergy"
|
||||
cask "telegram"
|
||||
cask "vagrant"
|
||||
cask "visual-studio-code"
|
||||
cask "vlc"
|
||||
cask "whatsapp"
|
||||
cask "zoom"
|
||||
mas "Craft", id: 1487937127
|
||||
mas "Drafts", id: 1435957248
|
||||
mas "EOBD-Facile", id: 976630793
|
||||
mas "Greenshot", id: 1103915944
|
||||
mas "Pixelmator", id: 407963104
|
||||
mas "Sequel Ace", id: 1518036000
|
||||
mas "Tailscale", id: 1475387142
|
||||
mas "Todoist", id: 585829637
|
||||
@@ -1 +0,0 @@
|
||||
vim.cmd("inoremap [[ <cmd>:lua require('telekasten').insert_link()<CR>")
|
||||
@@ -1,618 +0,0 @@
|
||||
local utils = require "lvim.utils"
|
||||
|
||||
lvim.log.level = "warn"
|
||||
lvim.colorscheme = "catppuccin"
|
||||
vim.opt.clipboard = "unnamed,unnamedplus"
|
||||
vim.opt.guifont = "JetBrainsMono Nerd Font Mono:h12"
|
||||
vim.opt.timeoutlen = 50
|
||||
|
||||
lvim.leader = "space"
|
||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
||||
lvim.builtin.which_key.mappings['W'] = { ":w<cr>", "Save Buffer" }
|
||||
lvim.format_on_save = {
|
||||
timeout = 5000,
|
||||
}
|
||||
lvim.builtin.lualine.options.theme = "catppuccin"
|
||||
lvim.builtin.bufferline.options.show_buffer_close_icons = false
|
||||
lvim.builtin.bufferline.options.numbers = "buffer_id"
|
||||
lvim.builtin.bufferline.options.separator_style = "slant"
|
||||
|
||||
lvim.lsp.automatic_servers_installation = false
|
||||
|
||||
vim.keymap.set("n", "<f1>", "<nop>")
|
||||
vim.keymap.set("i", "jj", "<nop>")
|
||||
vim.keymap.set("i", "jk", "<nop>")
|
||||
vim.keymap.set("i", "kj", "<nop>")
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
local _, actions = pcall(require, "telescope.actions")
|
||||
lvim.builtin.telescope.defaults.mappings = {
|
||||
-- for input mode
|
||||
i = {
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<C-k>"] = actions.move_selection_previous,
|
||||
["<C-n>"] = actions.cycle_history_next,
|
||||
["<C-p>"] = actions.cycle_history_prev,
|
||||
},
|
||||
-- for normal mode
|
||||
n = {
|
||||
["<C-j>"] = actions.move_selection_next,
|
||||
["<C-k>"] = actions.move_selection_previous,
|
||||
},
|
||||
}
|
||||
|
||||
lvim.builtin.which_key.mappings["t"] = {
|
||||
name = "+Trouble",
|
||||
r = { "<cmd>Trouble lsp_references<cr>", "References" },
|
||||
f = { "<cmd>Trouble lsp_definitions<cr>", "Definitions" },
|
||||
d = { "<cmd>Trouble document_diagnostics<cr>", "Diagnostics" },
|
||||
q = { "<cmd>Trouble quickfix<cr>", "QuickFix" },
|
||||
l = { "<cmd>Trouble loclist<cr>", "LocationList" },
|
||||
w = { "<cmd>Trouble workspace_diagnostics<cr>", "Wordspace Diagnostics" },
|
||||
}
|
||||
|
||||
lvim.builtin.which_key.mappings['w'] = {
|
||||
name = "+Window",
|
||||
s = { "<cmd>split<cr>", "Split Horizontal" },
|
||||
v = { "<cmd>vsplit<cr>", "Split Vertical" },
|
||||
c = { "<cmd>close<cr>", "Close Window" },
|
||||
}
|
||||
|
||||
lvim.builtin.alpha.active = true
|
||||
lvim.builtin.alpha.mode = "dashboard"
|
||||
lvim.builtin.notify.active = true
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.nvimtree.setup.view.side = "left"
|
||||
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
|
||||
|
||||
lvim.builtin.treesitter.ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"javascript",
|
||||
"json",
|
||||
"lua",
|
||||
"python",
|
||||
"typescript",
|
||||
"tsx",
|
||||
"css",
|
||||
"rust",
|
||||
"java",
|
||||
"yaml",
|
||||
"norg",
|
||||
}
|
||||
|
||||
lvim.builtin.treesitter.highlight.enabled = true
|
||||
|
||||
lvim.plugins = {
|
||||
{
|
||||
"folke/tokyonight.nvim",
|
||||
},
|
||||
{
|
||||
"rebelot/kanagawa.nvim",
|
||||
},
|
||||
{
|
||||
"lunarvim/horizon.nvim",
|
||||
},
|
||||
{
|
||||
"luisiacc/gruvbox-baby",
|
||||
branch = "main",
|
||||
config = function()
|
||||
vim.g.gruvbox_baby_telescope_theme = 1
|
||||
vim.g.gruvbox_baby_transparent_mode = 0
|
||||
end,
|
||||
},
|
||||
{
|
||||
"Mofiqul/dracula.nvim",
|
||||
config = function()
|
||||
vim.g.dracula_show_end_of_buffer = true
|
||||
vim.g.dracula_italic_comment = true
|
||||
end,
|
||||
},
|
||||
{ "catppuccin/nvim",
|
||||
as = "catppuccin",
|
||||
config = function()
|
||||
require('catppuccin').setup({
|
||||
dim_inactive = {
|
||||
enabled = true,
|
||||
},
|
||||
integrations = {
|
||||
which_key = true,
|
||||
indent_blankline = {
|
||||
colored_indent_levels = true,
|
||||
},
|
||||
hop = true,
|
||||
}
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
config = function()
|
||||
require("nvim-surround").setup({
|
||||
surrounds = {
|
||||
-- invalid_key_behavior = function(char)
|
||||
-- return { char, char }
|
||||
-- end
|
||||
},
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
"andymass/vim-matchup",
|
||||
event = "CursorMoved",
|
||||
config = function()
|
||||
vim.g.loaded_matchit = 1
|
||||
vim.g.matchup_matchparen_offscreen = { method = "popup" }
|
||||
require("nvim-treesitter.configs").setup({
|
||||
matchup = {
|
||||
enable = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"p00f/nvim-ts-rainbow",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
rainbow = {
|
||||
enable = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
lookahead = true,
|
||||
keymaps = {
|
||||
["af"] = "@function.outer",
|
||||
["if"] = "@function.inner",
|
||||
["ac"] = "@class.outer",
|
||||
["ic"] = "@class.inner",
|
||||
["aC"] = "@conditional.outer",
|
||||
["iC"] = "@conditional.inner",
|
||||
},
|
||||
},
|
||||
swap = {
|
||||
enable = true,
|
||||
swap_next = {
|
||||
["ga"] = "@parameter.inner",
|
||||
},
|
||||
swap_previous = {
|
||||
["gA"] = "@parameter.inner",
|
||||
},
|
||||
},
|
||||
move = {
|
||||
enable = true,
|
||||
set_jumps = true, -- whether to set jumps in the jumplist
|
||||
goto_next_start = {
|
||||
["]m"] = "@function.outer",
|
||||
["]]"] = "@class.outer",
|
||||
},
|
||||
goto_next_end = {
|
||||
["]M"] = "@function.outer",
|
||||
["]["] = "@class.outer",
|
||||
},
|
||||
goto_previous_start = {
|
||||
["[m"] = "@function.outer",
|
||||
["[["] = "@class.outer",
|
||||
},
|
||||
goto_previous_end = {
|
||||
["[M"] = "@function.outer",
|
||||
["[]"] = "@class.outer",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"tpope/vim-repeat"
|
||||
},
|
||||
{
|
||||
"tpope/vim-abolish",
|
||||
},
|
||||
{
|
||||
"vladdoster/remember.nvim",
|
||||
config = function()
|
||||
require("remember").setup {
|
||||
open_folds = true,
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("indent_blankline").setup({
|
||||
filetype_exclude = { "help", "terminal", "dashboard", "lspinfo" },
|
||||
buftype_exclude = { "terminal", "dashboard", "nofile", "quickfix" },
|
||||
show_trailing_blankline_indent = false,
|
||||
show_first_indent_level = false,
|
||||
show_current_context = true,
|
||||
show_current_context_start = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"phaazon/hop.nvim",
|
||||
event = "BufRead",
|
||||
branch = "v2",
|
||||
config = function()
|
||||
require("hop").setup()
|
||||
vim.api.nvim_set_keymap("n", "s", ":HopChar2<cr>", { silent = true })
|
||||
vim.api.nvim_set_keymap("n", "S", ":HopWord<cr>", { silent = true })
|
||||
vim.api.nvim_set_keymap("n", "f",
|
||||
"<cmd>lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true })<cr>"
|
||||
, { silent = true })
|
||||
vim.api.nvim_set_keymap("n", "F",
|
||||
"<cmd>lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true })<cr>"
|
||||
, { silent = true })
|
||||
vim.api.nvim_set_keymap("n", "t",
|
||||
"<cmd>lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true, hint_offset = -1 })<cr>"
|
||||
, { silent = true })
|
||||
vim.api.nvim_set_keymap("n", "T",
|
||||
"<cmd>lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true, hint_offset = -1 })<cr>"
|
||||
, { silent = true })
|
||||
end,
|
||||
},
|
||||
{
|
||||
"windwp/nvim-spectre",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("spectre").setup()
|
||||
lvim.builtin.which_key.mappings["sS"] = { "<cmd>lua require('spectre').open()<CR>", "Spectre Search" }
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope-project.nvim",
|
||||
event = "BufWinEnter",
|
||||
setup = function()
|
||||
vim.cmd [[packadd telescope.nvim]]
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-telescope/telescope-file-browser.nvim",
|
||||
},
|
||||
{
|
||||
"ray-x/lsp_signature.nvim",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("lsp_signature").setup({})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
cmd = "TroubleToggle",
|
||||
},
|
||||
{
|
||||
'rmagatti/goto-preview',
|
||||
config = function()
|
||||
require('goto-preview').setup({
|
||||
default_mappings = true;
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
"editorconfig/editorconfig-vim"
|
||||
},
|
||||
{
|
||||
"monaqa/dial.nvim",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
local augend = require("dial.augend")
|
||||
vim.cmd [[
|
||||
nmap <C-w> <Plug>(dial-increment)
|
||||
nmap <C-x> <Plug>(dial-decrement)
|
||||
vmap <C-w> <Plug>(dial-increment)
|
||||
vmap <C-x> <Plug>(dial-decrement)
|
||||
vmap g<C-w> <Plug>(dial-increment-additional)
|
||||
vmap g<C-x> <Plug>(dial-decrement-additional)
|
||||
]]
|
||||
|
||||
require("dial.config").augends:register_group {
|
||||
default = {
|
||||
augend.integer.alias.decimal,
|
||||
augend.integer.alias.hex,
|
||||
augend.date.alias["%Y/%m/%d"],
|
||||
augend.date.alias["%Y-%m-%d"],
|
||||
augend.date.alias["%m/%d"],
|
||||
augend.date.alias["%H:%M"],
|
||||
augend.constant.alias.bool,
|
||||
augend.constant.new { elements = { "True", "False" } }, -- Python
|
||||
augend.hexcolor.new {
|
||||
case = "lower",
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"https://git.sr.ht/~whynothugo/lsp_lines.nvim",
|
||||
config = function()
|
||||
require("lsp_lines").setup()
|
||||
vim.diagnostic.config { virtual_lines = false, virtual_text = true }
|
||||
end,
|
||||
},
|
||||
{
|
||||
"chaoren/vim-wordmotion",
|
||||
config = function()
|
||||
vim.cmd("let g:wordmotion_prefix = ','")
|
||||
end,
|
||||
},
|
||||
{
|
||||
'christianrondeau/vim-base64',
|
||||
config = function()
|
||||
vim.cmd("let g:vim_base64_disable_default_key_mappings = 1")
|
||||
end
|
||||
},
|
||||
{
|
||||
'b0o/incline.nvim',
|
||||
config = function()
|
||||
require('incline').setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"stevearc/dressing.nvim",
|
||||
},
|
||||
{
|
||||
"ziontee113/icon-picker.nvim",
|
||||
config = function()
|
||||
require("icon-picker")
|
||||
|
||||
vim.keymap.set("i", "<A-i>", "<cmd>PickEverythingInsert<cr>", { noremap = true, silent = true }) -- opt-i on Mac
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-neorg/neorg",
|
||||
config = function()
|
||||
require('neorg').setup {
|
||||
load = {
|
||||
["core.defaults"] = {},
|
||||
["core.norg.concealer"] = {},
|
||||
["core.norg.completion"] = {
|
||||
config = {
|
||||
engine = "nvim-cmp",
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
vim.list_extend(lvim.builtin.cmp.sources, {
|
||||
{ name = "neorg" },
|
||||
})
|
||||
end,
|
||||
requires = "nvim-lua/plenary.nvim",
|
||||
},
|
||||
{
|
||||
"renerocksai/telekasten.nvim",
|
||||
config = function()
|
||||
local home = vim.fn.expand("~/zk")
|
||||
require('telekasten').setup({
|
||||
home = home,
|
||||
dailies = home .. '/' .. 'daily',
|
||||
weeklies = home .. '/' .. 'weekly',
|
||||
templates = home .. '/' .. 'templates',
|
||||
image_subdir = "img",
|
||||
extension = ".norg",
|
||||
new_note_filename = "uuid-title",
|
||||
auto_set_filetype = false,
|
||||
})
|
||||
|
||||
lvim.builtin.which_key.mappings["Z"] = {
|
||||
name = "+Telekasten",
|
||||
f = { "<cmd>lua require('telekasten').find_notes()<cr>", "Find Notes" },
|
||||
g = { "<cmd>lua require('telekasten').search_notes()<cr>", "Search Notes" },
|
||||
T = { "<cmd>lua require('telekasten').goto_today()<cr>", "Goto Today" },
|
||||
W = { "<cmd>lua require('telekasten').goto_thisweek()<cr>", "Goto This Week" },
|
||||
n = { "<cmd>lua require('telekasten').new_note()<cr>", "New Note" },
|
||||
m = { "<cmd>lua require('telekasten').panel()<cr>", "Menu" },
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = "cd app && npm install",
|
||||
ft = "markdown",
|
||||
config = function()
|
||||
vim.g.mkdp_auto_start = 1
|
||||
end,
|
||||
},
|
||||
{
|
||||
"AckslD/nvim-neoclip.lua",
|
||||
requires = {
|
||||
{ 'kkharji/sqlite.lua', module = 'sqlite' },
|
||||
},
|
||||
config = function()
|
||||
require('neoclip').setup({
|
||||
keys = {
|
||||
telescope = {
|
||||
i = {
|
||||
select = '<cr>',
|
||||
paste = '<c-p>',
|
||||
paste_behind = '<c-o>',
|
||||
replay = '<c-q>', -- replay a macro
|
||||
delete = '<c-d>', -- delete an entry
|
||||
custom = {},
|
||||
},
|
||||
n = {
|
||||
select = '<cr>',
|
||||
paste = 'p',
|
||||
--- It is possible to map to more than one key.
|
||||
-- paste = { 'p', '<c-p>' },
|
||||
paste_behind = 'P',
|
||||
replay = 'q',
|
||||
delete = 'd',
|
||||
custom = {},
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
vim.keymap.set("i", "<c-o>", "<cmd>lua require('telescope').extensions.neoclip.default()<cr>",
|
||||
{ noremap = true, silent = true })
|
||||
end,
|
||||
},
|
||||
{
|
||||
'chentoast/marks.nvim',
|
||||
config = function()
|
||||
require('marks').setup({
|
||||
default_mappings = true,
|
||||
mappings = {
|
||||
set = false,
|
||||
set_next = false,
|
||||
toggle = false,
|
||||
next = false,
|
||||
prev = false,
|
||||
delete_line = false,
|
||||
delete_buffer = false,
|
||||
}
|
||||
})
|
||||
vim.keymap.set("n", "<c-'>", "<cmd>Telescope marks<cr>", { noremap = true, silent = true })
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
-- luasnip jumps
|
||||
vim.keymap.set("i", "<c-;>", "<cmd>lua require('luasnip').jump(1)<cr>", { noremap = true, silent = true })
|
||||
vim.keymap.set("i", "<c-l>", "<cmd>lua require('luasnip').jump(-1)<cr>", { noremap = true, silent = true })
|
||||
|
||||
-- set additional formatters
|
||||
local formatters = require "lvim.lsp.null-ls.formatters"
|
||||
formatters.setup {
|
||||
{
|
||||
command = "prettierd",
|
||||
filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact", "json" },
|
||||
},
|
||||
{
|
||||
command = "eslint_d",
|
||||
filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" },
|
||||
},
|
||||
{
|
||||
command = "rustfmt",
|
||||
filetypes = { "rust" },
|
||||
},
|
||||
{
|
||||
command = "gofmt",
|
||||
filetypes = { "go" },
|
||||
},
|
||||
}
|
||||
|
||||
-- set additional linters
|
||||
local linters = require "lvim.lsp.null-ls.linters"
|
||||
linters.setup {
|
||||
{
|
||||
command = "eslint_d",
|
||||
filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" },
|
||||
},
|
||||
}
|
||||
|
||||
local dirs_to_include = { "~/src", "~/src/tmp", "~/src/omuras/code", "~/org" }
|
||||
local base_dirs = {}
|
||||
|
||||
for _, the_dir in ipairs(dirs_to_include) do
|
||||
the_dir = string.gsub(the_dir, "~", os.getenv("HOME") or '')
|
||||
if utils.is_directory(the_dir) then
|
||||
table.insert(base_dirs, { path = the_dir })
|
||||
end
|
||||
end
|
||||
|
||||
lvim.builtin.telescope.on_config_done = function(telescope)
|
||||
telescope.setup {
|
||||
pickers = {
|
||||
buffers = {
|
||||
mappings = {
|
||||
n = {
|
||||
["D"] = "delete_buffer"
|
||||
},
|
||||
i = {
|
||||
["<c-d>"] = "delete_buffer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
extensions = {
|
||||
project = {
|
||||
base_dirs = base_dirs,
|
||||
hidden_files = true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pcall(telescope.load_extension, "file_browser")
|
||||
pcall(telescope.load_extension, "project")
|
||||
pcall(telescope.load_extension, "neoclip")
|
||||
end
|
||||
|
||||
function Toggle_lsp_lines()
|
||||
local flag = not vim.diagnostic.config().virtual_lines
|
||||
print("LSP lines has been " .. (flag and "enabled" or "disabled"))
|
||||
vim.diagnostic.config { virtual_lines = flag, virtual_text = not flag }
|
||||
end
|
||||
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
virtual_lines = true,
|
||||
})
|
||||
|
||||
lvim.builtin.which_key.mappings["P"] = { "<cmd>lua require'telescope'.extensions.project.project{ display_type = 'full' }<CR>",
|
||||
"Projects" }
|
||||
lvim.builtin.which_key.mappings["`"] = { ":edit #<CR>", "Last Buffer" }
|
||||
lvim.builtin.which_key.mappings["lT"] = { "<cmd>lua Toggle_lsp_lines()<cr>", "Toggle LSP Lines" }
|
||||
|
||||
lvim.builtin.which_key.mappings["u"] = {
|
||||
name = "+Text Utils",
|
||||
e = { "<cmd>PickEverything<cr>", "Insert Emoji/Char" },
|
||||
p = { ":lua require('telescope').extensions.neoclip.default()<cr>", "Neoclip" },
|
||||
}
|
||||
|
||||
lvim.builtin.which_key.vmappings["u"] = {
|
||||
name = "+Text Utils",
|
||||
b = {
|
||||
name = "+Base 64",
|
||||
e = { ":<c-u>call base64#v_btoa()<cr>", "Base64 Encode", noremap = true, silent = true },
|
||||
d = { ":<c-u>call base64#v_atob()<cr>", "Base64 Decode", noremap = true, silent = true },
|
||||
}
|
||||
}
|
||||
|
||||
-- Place to register which key mappings on things without a leader
|
||||
lvim.builtin.which_key.on_config_done = function(wk)
|
||||
wk.register({
|
||||
c = {
|
||||
r = {
|
||||
name = 'Coerce Case',
|
||||
c = { "camelCase" },
|
||||
m = { "MixedCase" },
|
||||
['_'] = { "snake_case" },
|
||||
s = { "snake_case" },
|
||||
u = { "SNAKE_UPPERCASE" },
|
||||
U = { "SNAKE_UPPERCASE" },
|
||||
['-'] = { "dash-case" },
|
||||
k = { "kebab-case" },
|
||||
['.'] = { "dot.case" },
|
||||
[' '] = { "space case" },
|
||||
t = { "Title Case" },
|
||||
},
|
||||
},
|
||||
m = {
|
||||
name = 'Marks',
|
||||
[','] = { ":lua require('marks').set_next()<cr>", "Set Next Mark" },
|
||||
[';'] = { ":lua require('marks').toggle()<cr>", "Toogle Mark" },
|
||||
[']'] = { ":lua require('marks').next()<cr>", "Goto Next Mark" },
|
||||
['['] = { ":lua require('marks').prev()<cr>", "Goto Previous Mark" },
|
||||
},
|
||||
d = {
|
||||
m = {
|
||||
['-'] = { ":lua require('marks').delete_line()<cr>", "Delete Marks on Line" },
|
||||
[' '] = { ":lua require('marks').delete_buf()<cr>", "Delete Marks in Buffer" },
|
||||
}
|
||||
}
|
||||
}, { prefix = nil, mode = 'n', nowait = true, noremap = true })
|
||||
end
|
||||
1
.config/nvim
Submodule
1
.config/nvim
Submodule
Submodule .config/nvim added at 48faad2626
@@ -1,7 +1,7 @@
|
||||
[user]
|
||||
name = Ted Kulp
|
||||
email = ted.kulp@wizehive.com
|
||||
gmail = tedkulp@gmail.com
|
||||
email = ted@tedkulp.com
|
||||
gmail = tedkulp@gmail.com
|
||||
signingKey = AE6B007E2FAB1C94319C7C09FD56BE79CDAE7895
|
||||
[commit]
|
||||
gpgsign = true
|
||||
|
||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
||||
[submodule ".tmux"]
|
||||
path = .tmux
|
||||
url = https://github.com/gpakosz/.tmux.git
|
||||
[submodule ".config/nvim"]
|
||||
path = .config/nvim
|
||||
url = git@github.com:tedkulp/nvim
|
||||
|
||||
2
.ssh/config
Normal file
2
.ssh/config
Normal file
@@ -0,0 +1,2 @@
|
||||
Host *
|
||||
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
||||
132
.zshrc
132
.zshrc
@@ -1,132 +0,0 @@
|
||||
# zmodload zsh/zprof
|
||||
|
||||
export PATH="${PATH}:${HOME}/.local/bin"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export ENHANCD_FILTER=fzy:fzf:peco
|
||||
|
||||
# zmodload zsh/zprof
|
||||
ZSH_DISABLE_COMPFIX=true
|
||||
setopt HIST_IGNORE_SPACE
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
#export ZSH="$HOME/.oh-my-zsh"
|
||||
export ZSH="${HOME}/.local/share/sheldon/repos/github.com/ohmyzsh/ohmyzsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="robbyrussell"
|
||||
# ZSH_THEME="cobalt2"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
# a theme from this variable instead of looking in $ZSH/themes/
|
||||
# If set to an empty array, this variable will have no effect.
|
||||
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion.
|
||||
# Case-sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment the following line to automatically update without prompting.
|
||||
# DISABLE_UPDATE_PROMPT="true"
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# export UPDATE_ZSH_DAYS=13
|
||||
|
||||
# Uncomment the following line if pasting URLs and other text is messed up.
|
||||
# DISABLE_MAGIC_FUNCTIONS="true"
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
# ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
# COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# You can set one of the optional three formats:
|
||||
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# or set a custom format using the strftime function format specifications,
|
||||
# see 'man strftime' for details.
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
if [ -d "$HOME/.oh-my-zsh" ]; then
|
||||
ZSH_CUSTOM=$HOME/.config/zsh
|
||||
fi
|
||||
|
||||
# Which plugins would you like to load?
|
||||
# Standard plugins can be found in $ZSH/plugins/
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
# plugins=(vi-mode git fzf aws vscode dash zoxide thefuck zsh-syntax-highlighting jq forgit)
|
||||
plugins=(vi-mode git fzf aws dash zoxide zsh-syntax-highlighting jq sd)
|
||||
|
||||
#source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# You may need to manually set your language environment
|
||||
# export LANG=en_US.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
# if [[ -n $SSH_CONNECTION ]]; then
|
||||
# export EDITOR='vim'
|
||||
# else
|
||||
# export EDITOR='mvim'
|
||||
# fi
|
||||
|
||||
# Compilation flags
|
||||
# export ARCHFLAGS="-arch x86_64"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# tabtab source for packages
|
||||
# uninstall by removing these lines
|
||||
# [ -f ~/.config/tabtab/__tabtab.fish ]; and . ~/.config/tabtab/__tabtab.fish; or true
|
||||
|
||||
eval "$(sheldon source)"
|
||||
source <("/usr/local/bin/starship" init zsh --print-full-init)
|
||||
|
||||
# zprof
|
||||
|
||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
||||
|
||||
# zprof
|
||||
|
||||
# pnpm
|
||||
export PNPM_HOME="/Users/tedkulp/Library/pnpm"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
# pnpm end
|
||||
Reference in New Issue
Block a user