meh, check logs
This commit is contained in:
parent
88e46f1b04
commit
4526a1aead
3 changed files with 8 additions and 6 deletions
|
@ -15,11 +15,6 @@ Font and theme
|
||||||
doom-variable-pitch-font (font-spec :family "PT Sans"))
|
doom-variable-pitch-font (font-spec :family "PT Sans"))
|
||||||
(setq doom-theme 'doom-gruvbox)
|
(setq doom-theme 'doom-gruvbox)
|
||||||
#+end_src
|
#+end_src
|
||||||
Window size and position
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(add-to-list 'default-frame-alist '(height . 60))
|
|
||||||
(add-to-list 'default-frame-alist '(width . 125))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Other settings
|
* Other settings
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
|
@ -5,9 +5,10 @@ vim.o.colorcolumn = '80'
|
||||||
vim.o.relativenumber = true
|
vim.o.relativenumber = true
|
||||||
vim.o.breakindent = true
|
vim.o.breakindent = true
|
||||||
vim.o.guicursor = false
|
vim.o.guicursor = false
|
||||||
|
vim.o.clipboard = 'unnamedplus'
|
||||||
|
|
||||||
vim.o.list = true
|
vim.o.list = true
|
||||||
vim.o.listchars = 'tab:|_,nbsp:x,trail:*'
|
vim.o.listchars = 'tab:==>,nbsp:x,trail:*'
|
||||||
|
|
||||||
vim.o.ignorecase = true
|
vim.o.ignorecase = true
|
||||||
vim.o.smartcase = true
|
vim.o.smartcase = true
|
||||||
|
|
|
@ -3,6 +3,7 @@ printf -v PROMPT2 $prompt_fmtn '%_'
|
||||||
printf -v PROMPT3 $prompt_fmtn '?#'
|
printf -v PROMPT3 $prompt_fmtn '?#'
|
||||||
printf -v PROMPT4 $prompt_fmtn '+%N:%i'
|
printf -v PROMPT4 $prompt_fmtn '+%N:%i'
|
||||||
|
|
||||||
|
prompt_wt="$USERNAME@$HOST"
|
||||||
prompt_fifo=~/.zsh_gitstatus_$$
|
prompt_fifo=~/.zsh_gitstatus_$$
|
||||||
typeset -A prompt_symbols=(
|
typeset -A prompt_symbols=(
|
||||||
sep_a $'\ue0b0'
|
sep_a $'\ue0b0'
|
||||||
|
@ -144,7 +145,12 @@ precmd.prompt.update() {
|
||||||
zle && zle reset-prompt
|
zle && zle reset-prompt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
precmd.window_title() {
|
||||||
|
printf '\033]0;%s\007' $prompt_wt
|
||||||
|
}
|
||||||
|
|
||||||
precmd() {
|
precmd() {
|
||||||
|
precmd.window_title
|
||||||
precmd.prompt
|
precmd.prompt
|
||||||
if precmd.is_git_repo; then
|
if precmd.is_git_repo; then
|
||||||
precmd.prompt.pre_git
|
precmd.prompt.pre_git
|
||||||
|
|
Loading…
Reference in a new issue