feat: tmux updates

This commit is contained in:
Chen Asraf
2023-06-20 10:26:24 +03:00
parent 3096351eff
commit 76278bdf33
6 changed files with 19 additions and 3 deletions

View File

@@ -111,6 +111,16 @@ lspconfig.yamlls.setup({
}
})
-- lspconfig.bashls.setup({
-- filetypes = { "sh", "zsh" }
-- })
-- require('filetype').setup({
-- shebang = {
-- zsh = "sh"
-- }
-- })
lsp.setup()
vim.diagnostic.config({

View File

@@ -1,3 +1,4 @@
au BufRead,BufNewFile *.arb set filetype=json
au BufRead,BufNewFile Brewfile set filetype=ruby
au BufRead,BufNewFile *.zsh set filetype=bash

View File

@@ -145,4 +145,6 @@ return require('packer').startup(function(use)
})
use('windwp/nvim-ts-autotag')
-- use('nathom/filetype.nvim')
end)

1
.shellcheckrc Normal file
View File

@@ -0,0 +1 @@
shell=bash

View File

@@ -106,7 +106,7 @@ alias tn-df="tn-custom -d \$DOTFILES -s dotfiles ."
alias tn-tt="tn-custom -d \$HOME/.local/share/nvim/site/pack/packer/start/text-transform.nvim -s text-transform ."
alias tn-simple-scaffold="tn-prj simple-scaffold"
alias tn-dungeon-paper="tn-prj dungeon_paper"
alias tn-acroasis="tn-custom -d \$HOME/Dev/acroasis -s acroasis . front server shared landing"
alias tn-acroasis="tn-prj acroasis . apps/front functions/backend packages/shared apps/landing"
if is_linux; then
alias md5="md5sum"

View File

@@ -46,10 +46,11 @@ tn-custom () {
}
tn-prj() {
prj="$1"
prj="$HOME/Dev/$1"
winname=$(basename $prj)
shift
parent="."
parent="$prj"
for arg in "$@"; do
case "$1" in
-d)
@@ -109,3 +110,4 @@ tn-prj() {
# attach to session
tmux attach -t $winname
}