From 05eb03a38c3046c6388d5fa493015dca6b4d3cdf Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 10 Mar 2021 14:22:17 +0100 Subject: [PATCH] update vimrc and zshrc --- vim/after/ftplugin/go.vim | 4 ++-- zshrc | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim index 00ba43e..07d4b4c 100644 --- a/vim/after/ftplugin/go.vim +++ b/vim/after/ftplugin/go.vim @@ -8,8 +8,8 @@ nmap gD :GoDeclsDir nmap gv :vsplit:GoAlternate! nmap gs :split:GoAlternate! -nmap gt :w :GoTest -nmap gf :w :GoTestFunc +nmap gt :up:GoTest +nmap gf :up:GoTestFunc nmap gat :GoAddTags nmap grt :GoRemoveTags diff --git a/zshrc b/zshrc index 371e1a8..c2d4e37 100644 --- a/zshrc +++ b/zshrc @@ -158,10 +158,15 @@ setxkbmap -option caps:none # Set zshfunctions dir as per https://github.com/alacritty/alacritty/blob/master/INSTALL.md#debianubuntu fpath+=${ZDOTDIR:-~}/.zsh_functions +export BAT_THEME=Nord + # Vim keymap bindkey -v bindkey '^P' up-history bindkey '^N' down-history bindkey '^w' backward-kill-word bindkey '^r' history-incremental-search-backward + +# fzf configuration export KEYTIMEOUT=2 +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh