Various updates
- Use pure prompt for zsh by default - Add autojump, autosuggestions for zsh - Switch to dracula theme for vim and micro
This commit is contained in:
parent
4e688f3933
commit
7a75bcc46c
7 changed files with 88 additions and 9 deletions
20
README.md
20
README.md
|
@ -1,5 +1,25 @@
|
|||
# chezmoi dotfiles
|
||||
|
||||
## Requirements
|
||||
|
||||
The following should be installed (package names for ArchLinux):
|
||||
|
||||
```shell
|
||||
zsh
|
||||
zsh-autosuggestions
|
||||
zsh-completions
|
||||
zsh-pure-prompt-git
|
||||
zsh-syntax-highlighting
|
||||
autojump
|
||||
nano
|
||||
nano-syntax-highlighting-git
|
||||
vim
|
||||
nano
|
||||
micro
|
||||
```
|
||||
|
||||
## Init
|
||||
|
||||
```shell
|
||||
# init and clone on new machine
|
||||
chezmoi init --apply --verbose https://git.myservermanager.com/alexander.schaeferdiek/dotfiles-server.git
|
||||
|
|
5
dot_config/micro/bindings.json
Normal file
5
dot_config/micro/bindings.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Alt-/": "lua:comment.comment",
|
||||
"CtrlUnderscore": "lua:comment.comment",
|
||||
"F4": "command:jumptag"
|
||||
}
|
42
dot_config/micro/colorschemes/dracula.micro
Normal file
42
dot_config/micro/colorschemes/dracula.micro
Normal file
|
@ -0,0 +1,42 @@
|
|||
color-link default "#F8F8F2,#282A36"
|
||||
color-link comment "#6272A4"
|
||||
|
||||
color-link identifier "#50FA7B"
|
||||
color-link identifier.class "#8BE9FD"
|
||||
color-link identifier.var "#F8F8F2"
|
||||
|
||||
color-link constant "#BD93F9"
|
||||
color-link constant.number "#F8F8F2"
|
||||
color-link constant.string "#F1FA8C"
|
||||
|
||||
color-link symbol "#FF79C6"
|
||||
color-link symbol.brackets "#F8F8F2"
|
||||
color-link symbol.tag "#AE81FF"
|
||||
|
||||
color-link type "italic #8BE9FD"
|
||||
color-link type.keyword "#FF79C6"
|
||||
|
||||
color-link special "#FF79C6"
|
||||
color-link statement "#FF79C6"
|
||||
color-link preproc "#FF79C6"
|
||||
|
||||
color-link underlined "#FF79C6"
|
||||
color-link error "bold #FF5555"
|
||||
color-link todo "bold #FF79C6"
|
||||
|
||||
color-link diff-added "#50FA7B"
|
||||
color-link diff-modified "#FFB86C"
|
||||
color-link diff-deleted "#FF5555"
|
||||
|
||||
color-link gutter-error "#FF5555"
|
||||
color-link gutter-warning "#E6DB74"
|
||||
|
||||
color-link statusline "#282A36,#F8F8F2"
|
||||
color-link tabbar "#282A36,#F8F8F2"
|
||||
color-link indent-char "#6272A4"
|
||||
color-link line-number "#6272A4"
|
||||
color-link current-line-number "#F8F8F2"
|
||||
|
||||
color-link cursor-line "#44475A,#F8F8F2"
|
||||
color-link color-column "#44475A"
|
||||
color-link type.extended "default"
|
3
dot_config/micro/settings.json
Normal file
3
dot_config/micro/settings.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"colorscheme": "dracula"
|
||||
}
|
|
@ -33,8 +33,8 @@ call plug#begin('~/.vim/plugged')
|
|||
" Initialize plugin system
|
||||
call plug#end()
|
||||
|
||||
colorscheme base16-atelier-forest
|
||||
"colorscheme dracula
|
||||
"colorscheme base16-atelier-forest
|
||||
colorscheme dracula
|
||||
|
||||
if has('gui_running')
|
||||
set go=m
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
# misc
|
||||
export EDITOR="vim"
|
||||
|
||||
# fzf theme (dracula)
|
||||
export FZF_DEFAULT_OPTS='--color=fg:#f8f8f2,bg:#282a36,hl:#bd93f9 --color=fg+:#f8f8f2,bg+:#44475a,hl+:#bd93f9 --color=info:#ffb86c,prompt:#50fa7b,pointer:#ff79c6 --color=marker:#ff79c6,spinner:#ffb86c,header:#6272a4'
|
20
dot_zshrc
20
dot_zshrc
|
@ -1,13 +1,9 @@
|
|||
# This configuration makes use of zsh-syntax-highlighting.
|
||||
# Some alias will call pre-defined applications.
|
||||
# Ensure to install them if a command is not working.
|
||||
#
|
||||
# SETTINGS
|
||||
autoload -U compinit promptinit
|
||||
autoload -U compinit promptinit; promptinit
|
||||
autoload -U colors && colors
|
||||
compinit
|
||||
promptinit
|
||||
prompt walters
|
||||
zstyle :prompt:pure:git:stash show yes
|
||||
prompt pure
|
||||
zstyle ':completion:*' menu select
|
||||
setopt completealiases
|
||||
setopt HIST_IGNORE_DUPS
|
||||
|
@ -116,3 +112,13 @@ if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.
|
|||
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
fi
|
||||
|
||||
# AUTO SUGGESTIONS
|
||||
if [ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ]; then
|
||||
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
fi
|
||||
|
||||
# AUTOJUMP
|
||||
if [ -f "/usr/share/autojump/autojump.zsh" ]; then
|
||||
source /usr/share/autojump/autojump.zsh
|
||||
fi
|
Loading…
Reference in a new issue