Skip to content

Commit

Permalink
Local laptop changes
Browse files Browse the repository at this point in the history
  • Loading branch information
charnley committed Nov 9, 2024
1 parent 98daeb9 commit 743b1e5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ install_apt_x:
install_fonts:
bash ./fonts/setup_mononoki.sh

install_fonts_post_deb:
fc-cache -f -v

symlink_clean:
# TODO if there and is symlink, rm. For example, if symlink points to dotfiles, but is deprecated

Expand Down
5 changes: 4 additions & 1 deletion bin.deb.x/fix_keyboard_capslock
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

setxkbmap -option caps:hyper
set -e
set -u
set -x

setxkbmap -option caps:hyper
3 changes: 3 additions & 0 deletions dot/neovim/lua/maps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,3 +163,6 @@ vim.api.nvim_set_keymap('n', '<Leader>lup', '<cmd>lua vim.lsp.diagnostic.goto_ne
vim.api.nvim_exec([[
map ,e :e <C-R>=expand("%:p:h") . "/" <CR>
]], false)

-- Surround text with html tag
-- TODO vim.api.nvim_set_keymap('n', '<leader>ns', '<tag></tag>?>p', {noremap = true, desc='Surround text with html tag'})
2 changes: 2 additions & 0 deletions fonts/setup_xkcd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ else
cp $src/xkcd-script/font/*.ttf ${HOME}/Library/Fonts/
cp $src/xkcd/build/* ${HOME}/Library/Fonts/
fi

rm -fr $src

0 comments on commit 743b1e5

Please sign in to comment.