aboutsummaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-04-14 13:06:17 +0200
committerCharles <sircharlesaze@gmail.com>2020-04-14 13:06:17 +0200
commit5828534933ffd5ca23c6e47b7c12a4a2637e01f0 (patch)
tree4385c66fabdaf2dd71a8f7cc2fabca49fb2896dd /.zshrc
parent10d80f8d2858de6da4a73073e3f68dfd269d6cff (diff)
downloaddotfiles-5828534933ffd5ca23c6e47b7c12a4a2637e01f0.tar.gz
dotfiles-5828534933ffd5ca23c6e47b7c12a4a2637e01f0.tar.bz2
dotfiles-5828534933ffd5ca23c6e47b7c12a4a2637e01f0.zip
Added vim functions to help with boilerplate in c++ files
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc18
1 files changed, 13 insertions, 5 deletions
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