From 5828534933ffd5ca23c6e47b7c12a4a2637e01f0 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 14 Apr 2020 13:06:17 +0200 Subject: Added vim functions to help with boilerplate in c++ files --- .zshrc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 7512fcf..6bd7b11 100644 --- a/.zshrc +++ b/.zshrc @@ -52,7 +52,7 @@ function chpwd() { # add command-not-found package suggestion #source /etc/zsh_command_not_found -# color in man +# color in man (less pager) export LESS_TERMCAP_mb=$'\e[1;32m' export LESS_TERMCAP_md=$'\e[1;32m' export LESS_TERMCAP_me=$'\e[0m' @@ -60,16 +60,22 @@ export LESS_TERMCAP_se=$'\e[0m' export LESS_TERMCAP_so=$'\e[01;33m' export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m' - -# XDG +export LESS_TERMCAP_mr=$(tput rev) +export LESS_TERMCAP_mh=$(tput dim) +export LESS_TERMCAP_ZN=$(tput ssubm) +export LESS_TERMCAP_ZV=$(tput rsubm) +export LESS_TERMCAP_ZO=$(tput ssupm) +export LESS_TERMCAP_ZW=$(tput rsupm) + +#XDG export XDG_CONFIG_HOME="/home/charles/.config/" export XDG_DATA_HOME="/home/charles/.data/" export EDITOR="vim" export TERM="xterm-256color" -# set tab to 4 spaces -tabs 4 +# mail +export MAIL='charles.cabergs@gmail.com' # ignore filetypes in autocomplete fignore=(o hi) @@ -80,3 +86,5 @@ source $HOME/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # prompt export YSU_MESSAGE_POSITION="after" # you-should-use message after command output source $HOME/.zsh/zsh-you-should-use/you-should-use.plugin.zsh # alias reminder +# set tab to 4 spaces +tabs 4 -- cgit From e9530ee0b4e9706fb0fcb82fa3cb87d57a5b540d Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 9 May 2020 18:09:25 +0200 Subject: vim glsl syntax hightlight, TERM=st, bluetooth/man/make aliases --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 6bd7b11..42dde40 100644 --- a/.zshrc +++ b/.zshrc @@ -72,7 +72,8 @@ export XDG_CONFIG_HOME="/home/charles/.config/" export XDG_DATA_HOME="/home/charles/.data/" export EDITOR="vim" -export TERM="xterm-256color" +export TERM="st-256color" +# export TERM="xterm-256color" # mail export MAIL='charles.cabergs@gmail.com' -- cgit