From 85eab2155c7b884e5426790263e329df60c9c2dc Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 20 Jan 2020 13:09:31 -0600 Subject: [PATCH] More notes --- .gitignore | 1 - apps/neovim/settings.vim | 3 ++- apps/shell/bash/rc | 6 +----- apps/shell/fish/key-bindings.fish | 1 + bin/archupdate | 3 +++ 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 93eee29..2333b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ *.pid *.tmp *.secret -/.curenv # TODO: should be unnecessary once color generation is homegrown /colors/gen/vendor diff --git a/apps/neovim/settings.vim b/apps/neovim/settings.vim index 451987d..5f8038b 100644 --- a/apps/neovim/settings.vim +++ b/apps/neovim/settings.vim @@ -1,4 +1,5 @@ -scriptencoding utf8 +scriptencoding utf-8 +set fileencoding=utf8 set encoding=utf8 " ALE completeopt recommendation diff --git a/apps/shell/bash/rc b/apps/shell/bash/rc index 83c671a..35e4062 100644 --- a/apps/shell/bash/rc +++ b/apps/shell/bash/rc @@ -1,4 +1,4 @@ -!/usr/bin/env bash +#!/usr/bin/env bash export XDG_CONFIG_HOME="$HOME/.config" export DOTFILES_PATH="$XDG_CONFIG_HOME/dotfiles" @@ -19,10 +19,6 @@ if [[ "${TERM%%-*}" = 'linux' ]]; then [[ -s "$c" ]] && . "$c" fi -# load our shell colors -c="$DOTFILES_PATH/bin/lib/colors/shell" -[[ -s "$c" ]] && . "$c" - # prevents some Java GUI apps from not working or rendering properly due to # using wacky window managers export _JAVA_AWT_WM_NONREPARENTING=1 diff --git a/apps/shell/fish/key-bindings.fish b/apps/shell/fish/key-bindings.fish index b7db3dc..f3adba7 100755 --- a/apps/shell/fish/key-bindings.fish +++ b/apps/shell/fish/key-bindings.fish @@ -5,6 +5,7 @@ function fish_user_key_bindings fish_vi_key_bindings set vi_esc "if commandline -P; commandline -f cancel; else; set fish_bind_mode default; commandline -f backward-char force-repaint; end" + bind -M insert jk $vi_esc bind -M insert Jk $vi_esc bind -M insert JK $vi_esc diff --git a/bin/archupdate b/bin/archupdate index 0f117f2..142feb4 100755 --- a/bin/archupdate +++ b/bin/archupdate @@ -1,3 +1,6 @@ #!/usr/bin/env bash pacaur -Syyu --noconfirm --noedit + +# TODO: update kernel with a flag? +# yes | pacman -Syu && kexec -l --initrd=/boot/initramfs-linux.img /boot/vmlinuz-linux && kexec -e