aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pluggins.vim30
-rw-r--r--.zsh_aliases15
-rw-r--r--.zshrc3
3 files changed, 30 insertions, 18 deletions
diff --git a/.pluggins.vim b/.pluggins.vim
index e57ec19..8ced0a6 100644
--- a/.pluggins.vim
+++ b/.pluggins.vim
@@ -1,21 +1,25 @@
-" plugins
+""""""""""""""""
+" vim pluggins "
+""""""""""""""""
+
call plug#begin()
- Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc
- Plug 'tpope/vim-eunuch' " basic unix command in vim
- Plug 'tomtom/tcomment_vim' " mininal commenter
- Plug 'itchyny/lightline.vim' " minimal status bar
- Plug 'sheerun/vim-polyglot' " better syntax highlight
- Plug 'romainl/vim-cool' " disable highlight after search
+ Plug 'ctrlpvim/ctrlp.vim' " Ctrl-P similar to vsc
+ Plug 'tpope/vim-eunuch' " basic unix command in vim
+ Plug 'tomtom/tcomment_vim' " mininal commenter
+ Plug 'itchyny/lightline.vim' " minimal status bar
+ Plug 'HappyTramp/vim-syntax-extra' " syntax highlight of C operators
+ Plug 'romainl/vim-cool' " disable highlight after search
+ Plug 'tikhomirov/vim-glsl' " glsl hightlight
" s19 at home
- Plug 'pbondoer/vim-42header' " 42 header
+ Plug 'pbondoer/vim-42header' " 42 header
" themes
- " Plug 'joshdick/onedark.vim' " onedark
- " Plug 'dracula/vim', {'as': 'vim'} " dracula
- Plug 'altercation/vim-colors-solarized' " solarized
+ " Plug 'joshdick/onedark.vim' " onedark
+ " Plug 'dracula/vim', {'as': 'vim'} " dracula
+ Plug 'altercation/vim-colors-solarized' " solarized
" intresting but not used
- " Plug 'unblevable/quick-scope' " highlight first char to jump to word
- " Plug 'justinmk/vim-syntax-extra' " better syntax highlight
+ " Plug 'sheerun/vim-polyglot' " better syntax highlight
+ " Plug 'unblevable/quick-scope' " highlight first char to jump to word
call plug#end()
diff --git a/.zsh_aliases b/.zsh_aliases
index fd2ec8b..2d2e87b 100644
--- a/.zsh_aliases
+++ b/.zsh_aliases
@@ -14,7 +14,6 @@ alias v="vim"
alias mkdir="mkdir -p"
alias gdb="gdb -q" # disable long intro message
alias sudo="sudo " # enable color (the search for aliases continues)
-alias m="make"
# ls
alias ll="ls -lFh"
@@ -30,14 +29,18 @@ alias t3="tree -L 3"
alias treeI="tree -I '__pycache__' -I '*.o' -I vendor"
# man
-alias m1="man 1"
-alias m2="man 2"
-alias m3="man 3"
+alias ma="man"
+alias ma1="man 1"
+alias ma2="man 2"
+alias ma3="man 3"
alias manv="man -P 'vim -M +MANPAGER -'" # vim has man pager
alias manv2="man 2 -P 'vim -M +MANPAGER -'"
alias manv3="man 3 -P 'vim -M +MANPAGER -'"
alias manv5="man 5 -P 'vim -M +MANPAGER -'"
+# make
+alias m="make"
+
# git
alias ga="git add"
alias gaa="git add --all"
@@ -83,3 +86,7 @@ alias norm='ruby -I/home/charles/norminette/vendor/bundle/ruby/2.7.0/gems/parsec
getrfc() {
curl "https://ietf.org/rfc/rfc$1.txt" > "$HOME/rfc/rfc$1.txt"
}
+
+# bluetooth
+alias bton='echo power on | bluetoothctl'
+alias btoff='echo power off | bluetoothctl'
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'