Compare commits

...

10 Commits

Author SHA1 Message Date
6c16fd104d
Fix crashing on edit html 2024-12-21 18:56:08 -05:00
79ce937f9e
Update neovim 2024-12-21 18:27:09 -05:00
ee10e200fd
Switch tmux to ctrl p leader 2024-11-18 19:49:19 -05:00
Tyler Perkins
1221a5b80f
Merge branch 'master' of https://git.clortox.com/tyler/neodot 2024-11-18 07:50:59 -05:00
833fc3e5c1
Add gobin to path 2024-11-15 20:12:13 -05:00
Tyler Perkins
42f2c3a4a4
Update tmux config for hjkl navigation 2024-11-14 08:05:28 -05:00
Tyler Perkins
7c3e013253
Add tmux config 2024-11-14 07:51:23 -05:00
d99157fe3b
Keep spaces in bandcamp downloads 2024-11-10 13:14:37 -05:00
86d74f8441
Add bandcamp-dl 2024-11-09 18:52:31 -05:00
d7b9bcb84c
Fix flux command to not print on new shell 2024-11-09 15:48:08 -05:00
8 changed files with 92 additions and 3 deletions

12
.bashrc
View File

@ -61,6 +61,14 @@ export KUBECONFIG=~/.kube/config
# Gpg keep key session to this TTY
export GPG_TTY=$(tty)
# Set the go bin for `go install` commands
export GOBIN="$HOME/.local/gobin"
# Make the go bin
mkdir -p $GOBIN
# And add the gobin to the executable path
export PATH="$GOBIN:$PATH"
###############################################################################
# Convience Aliases ###########################################################
###############################################################################
@ -124,7 +132,7 @@ fi
# Custom command autocompletions
PROG=tea source "$HOME/.config/tea/autocomplete.sh"
PROG=pass source "$HOME/.local/bin/pass-completion.sh"
which flux && . <(flux completion bash)
which flux > /dev/null 2>&1 && . <(flux completion bash)
# Store history after every command
shopt -s histappend
@ -151,3 +159,5 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh
eval "$(atuin init bash)"

1
.config/bandcamp-dl.json Normal file
View File

@ -0,0 +1 @@
{"base-dir": "/home/tyler", "template": "%{artist}/%{album}/%{track} - %{title}", "overwrite": false, "no-art": false, "embed-art": true, "embed-lyrics": true, "group": false, "no-slugify": false, "ok-chars": "-_~", "space-char": "-", "ascii-only": false, "keep-spaces": true, "keep-upper": true, "no-confirm": false, "debug": false}

View File

@ -0,0 +1,47 @@
return {
defaults = { lazy = true },
install = { colorscheme = { "nvchad" } },
ui = {
icons = {
ft = "",
lazy = "󰂠 ",
loaded = "",
not_loaded = "",
},
},
performance = {
rtp = {
disabled_plugins = {
"2html_plugin",
"tohtml",
"getscript",
"getscriptPlugin",
"gzip",
"logipat",
"netrw",
"netrwPlugin",
"netrwSettings",
"netrwFileHandlers",
"matchit",
"tar",
"tarPlugin",
"rrhelper",
"spellfile_plugin",
"vimball",
"vimballPlugin",
"zip",
"zipPlugin",
"tutor",
"rplugin",
"syntax",
"synmenu",
"optwin",
"compiler",
"bugreport",
"ftplugin",
},
},
},
}

View File

@ -4,7 +4,7 @@ local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require "lspconfig"
-- if you just want default config for the servers then put them in a table
local servers = { "html", "cssls", "tsserver", "clangd" }
local servers = { "html", "cssls", "ts_ls", "clangd" }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {

View File

@ -0,0 +1,10 @@
require "nvchad.mappings"
-- add yours here
local map = vim.keymap.set
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
-- map({ "n", "i", "v" }, "<C-s>", "<cmd> w <cr>")

View File

@ -0,0 +1,6 @@
require "nvchad.options"
-- add yours here!
-- local o = vim.o
-- o.cursorlineopt ='both' -- to enable cursorline!

View File

@ -70,7 +70,7 @@ local default_plugins = {
{
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPost", "BufNewFile" },
tag = "v0.9.2",
tag = "v0.9.3",
cmd = { "TSInstall", "TSBufEnable", "TSBufDisable", "TSModuleInfo" },
build = ":TSUpdate",
opts = function()

15
.tmux.conf Normal file
View File

@ -0,0 +1,15 @@
# Remap leader to ctrl+a
unbind C-b
set-option -g prefix C-p
bind-key C-p send-prefix
# Quick release config file
bind r source-file ~/.tmux.conf
# Enable mouse usage
set -g mouse on
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R