change font, fix vitally thing, hotkey for abs. #s

This commit is contained in:
sloane 2023-11-03 13:09:39 -04:00
parent 2b9c1f66fc
commit beafc46fb9
No known key found for this signature in database
3 changed files with 10 additions and 4 deletions

View file

@ -16,7 +16,7 @@ function get_vitally_prod_region
end end
function supportconsole function supportconsole
log_into_aws log_into_vitally_aws
set region (get_vitally_prod_region "$argv") set region (get_vitally_prod_region "$argv")
set target (aws ec2 describe-instances --profile $vitally_aws_profile --region $region --filter Name=instance-state-name,Values=running Name=tag:Class,Values=support-bastion-host Name=tag:Environment,Values=production --query "Reservations[0].Instances[0].InstanceId" --output text) set target (aws ec2 describe-instances --profile $vitally_aws_profile --region $region --filter Name=instance-state-name,Values=running Name=tag:Class,Values=support-bastion-host Name=tag:Environment,Values=production --query "Reservations[0].Instances[0].InstanceId" --output text)

View file

@ -1,5 +1,5 @@
font_size 18.0 font_size 14.0
font_family Spot Mono font_family VictorMono Nerd Font
bold_font auto bold_font auto
italic_font auto italic_font auto
bold_italic_font auto bold_italic_font auto

View file

@ -37,7 +37,7 @@ map('n', '<leader>o', '<cmd>only<cr>')
map('n', '<esc>', '<cmd>nohlsearch<cr>') map('n', '<esc>', '<cmd>nohlsearch<cr>')
wk.register({ wk.register({
['<space>'] = { '<cmd>Telescope find_files theme=dropdown<cr>', 'File file in project' }, ['<space>'] = { '<cmd>Telescope find_files<cr>', 'File file in project' },
['/'] = { '<cmd>Telescope live_grep<cr>', 'Search project' }, ['/'] = { '<cmd>Telescope live_grep<cr>', 'Search project' },
['<tab>'] = { '<cmd>NERDTreeToggle<cr>', 'Toggle NERDTree' }, ['<tab>'] = { '<cmd>NERDTreeToggle<cr>', 'Toggle NERDTree' },
@ -82,6 +82,12 @@ wk.register({
e = { '<cmd>Telescope emoji theme=dropdown<cr>', 'emoji' }, e = { '<cmd>Telescope emoji theme=dropdown<cr>', 'emoji' },
}, },
n = {
name = 'line numbers',
a = { '<cmd>set number norelativenumber<cr>', 'absolute' },
r = { '<cmd>set number relativenumber<cr>', 'relative' },
}
}, { prefix = '<leader>' }) }, { prefix = '<leader>' })
vim.api.nvim_create_autocmd('LspAttach', { vim.api.nvim_create_autocmd('LspAttach', {