Merge branch 'master' of git.blakenorth.net/home/git/dotfiles

This commit is contained in:
PowerUser64 2021-09-24 09:51:15 -07:00
commit 40e234e20d
4 changed files with 23 additions and 7 deletions

View file

@ -51,7 +51,7 @@ M.toggleterm = function()
return vim.o.columns * 0.4 return vim.o.columns * 0.4
end end
end, end,
open_mapping = [[<c-\>]], open_mapping = [[<F12>]],
hide_numbers = true, -- hide the number column in toggleterm buffers hide_numbers = true, -- hide the number column in toggleterm buffers
shade_filetypes = {}, shade_filetypes = {},
shade_terminals = true, shade_terminals = true,
@ -69,8 +69,8 @@ M.toggleterm = function()
-- the 'curved' border is a custom border type -- the 'curved' border is a custom border type
-- not natively supported but implemented in this plugin. -- not natively supported but implemented in this plugin.
border = 'curved', -- single, double, shadow, or curved border = 'curved', -- single, double, shadow, or curved
width = 120, width = 200,
height = 32, height = 50,
winblend = 10, -- transparancy winblend = 10, -- transparancy
highlights = { highlights = {
border = "Normal", border = "Normal",

View file

@ -104,7 +104,7 @@ return require('packer').startup(function()
} }
use { -- ALE: Support for lots of linters, etc use { -- ALE: Support for lots of linters, etc
'dense-analysis/ale', 'dense-analysis/ale',
ft = {'sh', 'zsh', 'bash', 'cmake', 'html', 'markdown', 'racket', 'vim', 'tex'}, ft = {'sh', 'zsh', 'bash', 'html', 'markdown', 'racket', 'vim', 'tex'},
config = function() config = function()
vim.g.ale_disable_lsp = 1 vim.g.ale_disable_lsp = 1
end end

View file

@ -81,7 +81,21 @@ vim.cmd [[
vnoremap J :m '>+1<CR>gv=gv vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv vnoremap K :m '<-2<CR>gv=gv
colorscheme slate " Make vim a hex editor
" Edit *.bin files as binaries rather than text files (if your file isn't a .bin,
" make a symlink that points to it with the .bin extension and edit the symlink ;)
augroup Binary
au!
au BufReadPre *.bin let &bin=1
au BufReadPost *.bin if &bin | %!xxd
au BufReadPost *.bin set ft=xxd | endif
au BufWritePre *.bin if &bin | %!xxd -r
au BufWritePre *.bin endif
au BufWritePost *.bin if &bin | %!xxd
au BufWritePost *.bin set nomod | endif
augroup END
colorscheme slate
]] ]]
vim.cmd [[ vim.cmd [[

4
.zshrc
View file

@ -62,8 +62,10 @@
# Git aliases # Git aliases
alias \ alias \
gst='git status' \
gc='git commit' \ gc='git commit' \
gca='git commit -a' \
gst='git status' \
gp='git push' \
# <<< # <<<
## Program improvements (ex: ls = ls -h) >>> ## Program improvements (ex: ls = ls -h) >>>