diff --git a/doom/config.org b/doom/config.org index 4db66f5..caf7ec7 100644 --- a/doom/config.org +++ b/doom/config.org @@ -15,11 +15,6 @@ Font and theme doom-variable-pitch-font (font-spec :family "PT Sans")) (setq doom-theme 'doom-gruvbox) #+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 #+begin_src emacs-lisp diff --git a/nvim/lua/settings.lua b/nvim/lua/settings.lua index 9f33d37..262f43c 100644 --- a/nvim/lua/settings.lua +++ b/nvim/lua/settings.lua @@ -5,9 +5,10 @@ vim.o.colorcolumn = '80' vim.o.relativenumber = true vim.o.breakindent = true vim.o.guicursor = false +vim.o.clipboard = 'unnamedplus' vim.o.list = true -vim.o.listchars = 'tab:|_,nbsp:x,trail:*' +vim.o.listchars = 'tab:==>,nbsp:x,trail:*' vim.o.ignorecase = true vim.o.smartcase = true diff --git a/zsh/prompt-powerline.zsh b/zsh/prompt-powerline.zsh index dbfe5a0..2c04061 100644 --- a/zsh/prompt-powerline.zsh +++ b/zsh/prompt-powerline.zsh @@ -3,6 +3,7 @@ printf -v PROMPT2 $prompt_fmtn '%_' printf -v PROMPT3 $prompt_fmtn '?#' printf -v PROMPT4 $prompt_fmtn '+%N:%i' +prompt_wt="$USERNAME@$HOST" prompt_fifo=~/.zsh_gitstatus_$$ typeset -A prompt_symbols=( sep_a $'\ue0b0' @@ -144,7 +145,12 @@ precmd.prompt.update() { zle && zle reset-prompt } +precmd.window_title() { + printf '\033]0;%s\007' $prompt_wt +} + precmd() { + precmd.window_title precmd.prompt if precmd.is_git_repo; then precmd.prompt.pre_git