From 2d5b4ecf7df432b8732271097db89484c7ff1776 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Wed, 26 Oct 2022 19:03:27 +0200 Subject: [PATCH] [nvim] dont show help when using which-key --- files/nvim/.config/nvim/lua/plugins/which-key-conf.lua | 8 +++++++- files/vim/.vimrc | 2 +- files/zsh/.zshrc | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua b/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua index c2bbf6c..6c84013 100644 --- a/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua +++ b/files/nvim/.config/nvim/lua/plugins/which-key-conf.lua @@ -1 +1,7 @@ -require("which-key").setup {} +require("which-key").setup { + layout = { + align = "center", + }, + show_help = false, -- show help message in cmd line (looks buggy) + show_keys = false, -- show current pressed keys in cmd line (looks buggy) +} diff --git a/files/vim/.vimrc b/files/vim/.vimrc index bd625ac..f47027a 100644 --- a/files/vim/.vimrc +++ b/files/vim/.vimrc @@ -77,7 +77,7 @@ let g:tmuxline_preset = { \'c' : '', \'win' : ['#I', '#W'], \'cwin' : ['#[fg=black,bold]#I', '#W'], - \'x' : '', + \'x' : '#H', \'y' : '', \'z' : ''} let g:tmuxline_status_justify = 'centre' diff --git a/files/zsh/.zshrc b/files/zsh/.zshrc index d746237..d7c1824 100644 --- a/files/zsh/.zshrc +++ b/files/zsh/.zshrc @@ -39,9 +39,9 @@ alias c='clear' alias t='tmux a || tmux' alias tex='nix-shell ~/.dots/tex.nix' -alias l='ls -lFh' #size,show type,human readable -alias la='ls -lAFh' #long list,show almost all,show type,human readable -alias ll='ls -l' #long list +alias l='ls -lFh --color' #size,show type,human readable +alias la='ls -lAFh --color' #long list,show almost all,show type,human readable +alias ll='ls -l --color' #long list alias rm='rm -i' # Ask before removal alias cp='cp -i' # Ask before removal