diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-04 16:23:40 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-04 16:23:40 -0500 |
commit | a8a1daa73cc4d92f1c5b87ab23cf16adb14fea17 (patch) | |
tree | 9619fc481fc1e85e7c37c803966c5ae9fac0ce05 | |
parent | c315fd3cc305cbe81c2f1fd749e9243f17f6f2c6 (diff) | |
parent | 17f618ad9c355a7fdb7eae4d4c9e6462217ca542 (diff) | |
download | dotconfig-a8a1daa73cc4d92f1c5b87ab23cf16adb14fea17.tar.xz dotconfig-a8a1daa73cc4d92f1c5b87ab23cf16adb14fea17.zip |
Merge branch 'master' of git.tjkeller.xyz:/var/www/git/dotconfig
-rw-r--r-- | zsh/zprofile.base | 4 | ||||
-rw-r--r-- | zsh/zshrc | 30 |
2 files changed, 17 insertions, 17 deletions
diff --git a/zsh/zprofile.base b/zsh/zprofile.base index 86f90b0..203260b 100644 --- a/zsh/zprofile.base +++ b/zsh/zprofile.base @@ -11,9 +11,9 @@ export PATH="$scriptspath/programs:$PATH" export PATH="$scriptspath/video:$PATH" # Default programs: -export EDITOR="vim" +export EDITOR="nvim" export TERMINAL="st" -export BROWSER="brave-browser" +export BROWSER="launch brave" # Clean up home directory export XDG_CACHE_HOME="$HOME/.cache" @@ -22,21 +22,21 @@ setopt HIST_IGNORE_SPACE # Entries with leading space ignored # This seems to reduce overall disk writes #unsetopt EXTENDED_HISTORY # Save only the command, not any superfluous info -## Change cursor shape for different vi modes (Cred: LARBS) -#function zle-keymap-select () { -# case $KEYMAP in -# vicmd) echo -ne '\e[1 q';; # block -# viins|main) echo -ne '\e[5 q';; # beam -# esac -#} -#zle -N zle-keymap-select -#zle-line-init() { -# #zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere) -# echo -ne "\e[5 q" -#} -#zle -N zle-line-init -#echo -ne '\e[5 q' # Use beam shape cursor on startup -#preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt +# Change cursor shape for different vi modes (Cred: LARBS) +function zle-keymap-select () { + case $KEYMAP in + vicmd) echo -n '\e[1 q';; # block + viins|main) echo -n '\e[5 q';; # beam + esac +} +zle -N zle-keymap-select +zle-line-init() { + #zle -K viins # initiate `vi insert` as keymap (can be removed if `bindkey -V` has been set elsewhere) + echo -n "\e[5 q" +} +zle -N zle-line-init +echo -n '\e[5 q' # Use beam shape cursor on startup +preexec() { echo -n '\e[5 q' ;} # Use beam shape cursor for each new prompt # Load zsh plugins; should be last #source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh |