From 6fcc69113bd7cc7295ef9dc068da80d043cbb8bb Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 24 Jun 2021 21:43:31 +0200 Subject: nvim remove hl working, other fixes --- .config/alacritty/alacritty.yml | 4 ++-- .config/nvim/lua/_which-key/init.lua | 2 +- .config/zsh/prompt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 5b46804..5878bc3 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -69,8 +69,8 @@ env: window: padding: - x: 0 - y: 0 + x: 32 + y: 16 # scrolling: # # Maximum number of lines in the scrollback buffer. # # Specifying '0' will disable scrolling. diff --git a/.config/nvim/lua/_which-key/init.lua b/.config/nvim/lua/_which-key/init.lua index 8c300c3..1e78a77 100644 --- a/.config/nvim/lua/_which-key/init.lua +++ b/.config/nvim/lua/_which-key/init.lua @@ -48,7 +48,7 @@ vim.api.nvim_set_keymap('n', '', '', {noremap = true, silent = true} vim.g.mapleader = ' ' -- no hl -vim.api.nvim_set_keymap('n', 'h', ':set hlsearch!', {noremap = true, silent = true}) + vim.api.nvim_set_keymap('n', 'n', ':set hlsearch!', {noremap = true, silent = true}) -- explorer vim.api.nvim_set_keymap('n', 'e', ':NvimTreeToggle', {noremap = true, silent = true}) diff --git a/.config/zsh/prompt b/.config/zsh/prompt index b7eb58a..94ae435 100644 --- a/.config/zsh/prompt +++ b/.config/zsh/prompt @@ -29,7 +29,7 @@ zstyle ':vcs_info:git*+set-message:*' hooks git-untracked zstyle ':vcs_info:*' check-for-changes true # zstyle ':vcs_info:git:*' formats " %r/%S %b %m%u%c " -zstyle ':vcs_info:git:*' formats " %{$fg[red]%}%m%u%c%{$fg[orange]%} %{$fg[yellow]%}%b%f" +zstyle ':vcs_info:git:*' formats " %{$fg[red]%}%m%u%c%{$fg[orange]%}  %{$fg[yellow]%}%b%f" function set-prompt() { emulate -L zsh -- cgit v1.2.3-70-g09d2