2018-01-01 19:29:36 +00:00
|
|
|
# -*- mode: shell-script -*-
|
|
|
|
# vim:ft=zsh
|
2020-06-03 14:23:45 +00:00
|
|
|
autoload -Uz bracketed-paste-url-magic
|
|
|
|
zle -N bracketed-paste bracketed-paste-url-magic
|
2019-12-28 16:20:17 +00:00
|
|
|
|
2019-04-25 03:39:38 +00:00
|
|
|
setopt RM_STAR_WAIT
|
Hice un re quilombo de cosas.
Por un lado, comenze el destete de coc.nvim, para tal fin volvi a
incorporar fzf, lo cual no fue tan directo como dice la documentacion,
mas sobre eso en el blog.
Tambien segui modularizando la configuracion que ya estaba aprovechando los directorios que provee nvim.
Retoque bastante el tema de funciones y autcmds.
Modifique status y tab line ya que estaba, quedaron bastante cancheras ahora pero seguro le haga un par de cambios mas en el futuro.
Agregue mappings nuevos para funciones que ya existen y los relevantes de los plugins y tambien algunas opciones de configuracion. Adopte un par nuevos para ver como me resultan: Fern y GitGutter.
Reacomode todo el tema de colores y lo puse entre funciones y autocmds
a ver si cargan bien despues de un nested source, todavia no lo probe.
Por otro lado, retoque un par de scripts y adopte uno buenisimo
para sesiones de tmux con soporte para fzf y toda la bola, tengo que
ver si lo puedo tunear mas para elegir usarlo con dmenu o fzf segun
como se lo invoque. Agregue un par de cambios minimos de teclas,
tmux, y zsh. Ah y la configuracion de bat, porque no estaba, si bien
son 3 lineas o algo asi.
MUCHO laburo en el git config, porque estoy tratando de usarlo de una
manera mas "pro", de a poco lo estoy integrando mas con nvim. El primer
paso es probar estos commits larguisimos, y el resto lo iremos viendo.
2020-09-21 19:57:42 +00:00
|
|
|
setopt PRINT_EIGHT_BIT # Print character as eight bit to prevent mojibake
|
2020-05-11 02:59:22 +00:00
|
|
|
setopt COMBINING_CHARS # Combine accents with the base character.
|
|
|
|
setopt INTERACTIVE_COMMENTS # Enable comments in interactive shell.
|
|
|
|
setopt RC_QUOTES # Allow 'Henry''s Garage' instead of 'Henry'\''s Garage'.
|
|
|
|
unsetopt MAIL_WARNING # Don't print a warning message if a mail file has been accessed.
|
2020-09-18 15:28:01 +00:00
|
|
|
setopt LONG_LIST_JOBS # List jobs in the long format by default.
|
|
|
|
setopt AUTO_RESUME # Attempt to resume existing job before creating a new process.
|
|
|
|
setopt NOTIFY # Report status of background jobs immediately.
|
|
|
|
unsetopt BG_NICE # Don't run all background jobs at a lower priority.
|
|
|
|
unsetopt HUP # Don't kill jobs on shell exit.
|
|
|
|
unsetopt CHECK_JOBS # Don't report on jobs when shell exit.
|
2020-05-18 09:42:32 +00:00
|
|
|
setopt AUTO_CD # Auto changes to a directory without typing cd.
|
|
|
|
setopt AUTO_PUSHD # Push the old directory onto the stack on cd.
|
|
|
|
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
|
|
|
|
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
|
|
|
|
setopt PUSHD_TO_HOME # Push to home directory when no argument is given.
|
|
|
|
setopt CDABLE_VARS # Change directory to a path stored in a variable.
|
|
|
|
setopt MULTIOS # Write to multiple descriptors.
|
2020-08-28 16:11:06 +00:00
|
|
|
setopt AUTO_PARAM_SLASH # Tab completing directory appends a slash
|
|
|
|
setopt PROMPT_SUBST
|
2020-09-25 17:25:56 +00:00
|
|
|
|
|
|
|
hash tmux 2>/dev/null && source "${ZDOTDIR}"/tmux.zsh
|
|
|
|
|
2020-05-11 02:59:22 +00:00
|
|
|
foreach programa (
|
2020-05-18 09:42:32 +00:00
|
|
|
doc/fzf/completion.zsh
|
|
|
|
doc/fzf/key-bindings.zsh
|
|
|
|
zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
2020-05-11 02:59:22 +00:00
|
|
|
) {
|
2020-05-18 09:42:32 +00:00
|
|
|
source /usr/share/$programa
|
2020-05-11 02:59:22 +00:00
|
|
|
}
|
|
|
|
|
2020-09-25 17:25:56 +00:00
|
|
|
for f in "${ZDOTDIR}"/conf/*; do
|
|
|
|
source "${f}"
|
|
|
|
done
|
2019-10-16 19:12:21 +00:00
|
|
|
|
2020-09-25 17:25:56 +00:00
|
|
|
source $XDG_DATA_HOME/lscolors.sh
|